File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3131 distribution : ' temurin'
3232 java-version : ${{ matrix.java_version }}
3333 cache : ' maven'
34- server-id : sonatype-nexus-snapshots
34+ server-id : sonatype-nexus-snapshots-new
3535 server-username : CI_DEPLOY_USERNAME
3636 server-password : CI_DEPLOY_PASSWORD
3737 # See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
4141 run : ./mvnw -B -q -ff -ntp verify
4242 - name : Extract project Maven version
4343 id : projectVersion
44- run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0 :evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
44+ run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1 :evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
4545 - name : Deploy snapshot
4646 if : ${{ github.event_name != 'pull_request' && matrix.java_version == '17' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
4747 env :
Original file line number Diff line number Diff line change 6464 -->
6565 <repositories >
6666 <repository >
67- <id >sonatype-nexus-snapshots</id >
68- <name >Sonatype Nexus Snapshots</name >
67+ <id >sonatype-nexus-snapshots-new </id >
68+ <name >Sonatype Nexus Snapshots (new) </name >
6969 <url >https://s01.oss.sonatype.org/content/repositories/snapshots</url >
7070 <releases ><enabled >false</enabled ></releases >
7171 <snapshots ><enabled >true</enabled ></snapshots >
7272 </repository >
7373 <repository >
74- <id >sonatype-old- nexus-snapshots</id >
74+ <id >sonatype-nexus-snapshots-old </id >
7575 <name >Sonatype Nexus Snapshots (old)</name >
7676 <url >https://oss.sonatype.org/content/repositories/snapshots</url >
7777 <releases ><enabled >false</enabled ></releases >
You can’t perform that action at this time.
0 commit comments