Skip to content

Commit bd57e32

Browse files
committed
Update sonatype repo ids
1 parent 44801b6 commit bd57e32

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
distribution: 'temurin'
3838
java-version: ${{ matrix.java_version }}
3939
cache: 'maven'
40-
server-id: sonatype-nexus-snapshots
40+
server-id: sonatype-nexus-snapshots-new
4141
server-username: CI_DEPLOY_USERNAME
4242
server-password: CI_DEPLOY_PASSWORD
4343
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
@@ -47,7 +47,7 @@ jobs:
4747
run: ./mvnw -B -q -ff -ntp verify
4848
- name: Extract project Maven version
4949
id: projectVersion
50-
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
50+
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
5151
- name: Deploy snapshot
5252
if: ${{ matrix.release_build && github.event_name != 'pull_request' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
5353
env:

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@
7878
-->
7979
<repositories>
8080
<repository>
81-
<id>sonatype-nexus-snapshots</id>
82-
<name>Sonatype Nexus Snapshots</name>
81+
<id>sonatype-nexus-snapshots-new</id>
82+
<name>Sonatype Nexus Snapshots (new)</name>
8383
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
8484
<releases><enabled>false</enabled></releases>
8585
<snapshots><enabled>true</enabled></snapshots>
8686
</repository>
8787
<repository>
88-
<id>sonatype-old-nexus-snapshots</id>
89-
<name>Sonatype Nexus Snapshots</name>
88+
<id>sonatype-nexus-snapshots-old</id>
89+
<name>Sonatype Nexus Snapshots (old)</name>
9090
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
9191
<releases><enabled>false</enabled></releases>
9292
<snapshots><enabled>true</enabled></snapshots>

0 commit comments

Comments
 (0)