Skip to content

Commit 225e0a0

Browse files
committed
Update Sonatype repo ids
1 parent 759ce7f commit 225e0a0

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
@@ -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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,14 @@ alternative support for serializing POJOs as XML and deserializing XML as pojos.
130130
-->
131131
<repositories>
132132
<repository>
133-
<id>sonatype-nexus-snapshots</id>
134-
<name>Sonatype Nexus Snapshots</name>
133+
<id>sonatype-nexus-snapshots-new</id>
134+
<name>Sonatype Nexus Snapshots (new)</name>
135135
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
136136
<releases><enabled>false</enabled></releases>
137137
<snapshots><enabled>true</enabled></snapshots>
138138
</repository>
139139
<repository>
140-
<id>sonatype-old-nexus-snapshots</id>
140+
<id>sonatype-nexus-snapshots-old</id>
141141
<name>Sonatype Nexus Snapshots (old)</name>
142142
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
143143
<releases><enabled>false</enabled></releases>

0 commit comments

Comments
 (0)