Skip to content

Commit 87972cd

Browse files
committed
Update sonatype repo ids
1 parent 9c54b22 commit 87972cd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
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
@@ -41,7 +41,7 @@ jobs:
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:

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@
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>

0 commit comments

Comments
 (0)