Skip to content

Commit

Permalink
downgrade nexus-staging-maven-plugin -> 1.6. (#668)
Browse files Browse the repository at this point in the history
* downgrade nexus-staging-maven-plugin -> 1.6.

ref: https://issues.sonatype.org/browse/NEXUS-31214?focusedCommentId=1140935&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1140935
Signed-off-by: sriv <[email protected]>

* include distribution in setup-java, use v2

Signed-off-by: sriv <[email protected]>

* bump gauge-java -> 0.8.0

Signed-off-by: sriv <[email protected]>
  • Loading branch information
sriv committed Feb 18, 2022
1 parent 8662dbf commit ec0b01b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ jobs:
- uses: actions/checkout@v2

- name: Setup java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java_version }}
distribution: 'adopt'


- name: Run test
run: |
Expand All @@ -43,6 +45,7 @@ jobs:
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'

- uses: getgauge/setup-gauge@master
with:
Expand Down Expand Up @@ -95,9 +98,10 @@ jobs:
go-version: 1.17

- name: Setup java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'

- uses: getgauge/setup-gauge@master
with:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ gauge run specs
#### Install specific version
* Installing specific version
```
gauge install java --version 0.7.16
gauge install java --version 0.8.0
```

#### Offline installation
* Download the plugin from [Releases](https://github.com/getgauge/gauge-java/releases)
```
gauge install java --file gauge-java-0.7.16-windows.x86_64.zip
gauge install java --file gauge-java-0.8.0-windows.x86_64.zip
```

#### Build from source
Expand Down
2 changes: 1 addition & 1 deletion java.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "java",
"version": "0.7.16",
"version": "0.8.0",
"description": "Java support for gauge",
"install": {
"windows": [],
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.10</version>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
Expand Down Expand Up @@ -303,7 +303,7 @@

<properties>
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
<projectVersion>0.7.16</projectVersion>
<projectVersion>0.8.0</projectVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
Expand Down

0 comments on commit ec0b01b

Please sign in to comment.