Skip to content

Commit e3ffa67

Browse files
authored
Switch to Sonatype Maven Central. (#129)
1 parent 04d37dc commit e3ffa67

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ jobs:
4848
with:
4949
servers: >-
5050
[{
51-
"id": "ossrh",
52-
"username": "${{ secrets.OSS_USER }}",
53-
"password": "${{ secrets.OSS_PASSWORD }}"
51+
"id": "central.sonatype.org",
52+
"username": "${{ secrets.MAVEN_CENTRAL_USER }}",
53+
"password": "${{ secrets.MAVEN_CENTRAL_PASSWORD }}"
5454
}]
5555
- name: Configure git
5656
run: |

assertj-mail-jakarta/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747

4848
<distributionManagement>
4949
<snapshotRepository>
50-
<id>ossrh</id>
51-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
50+
<id>central.sonatype.org</id>
51+
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
5252
</snapshotRepository>
5353
</distributionManagement>
5454

@@ -370,8 +370,8 @@
370370
<artifactId>nexus-staging-maven-plugin</artifactId>
371371
<extensions>true</extensions>
372372
<configuration>
373-
<serverId>ossrh</serverId>
374-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
373+
<serverId>central.sonatype.org</serverId>
374+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
375375
<autoReleaseAfterClose>${autoRelease}</autoReleaseAfterClose>
376376
</configuration>
377377
</plugin>

assertj-mail/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747

4848
<distributionManagement>
4949
<snapshotRepository>
50-
<id>ossrh</id>
51-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
50+
<id>central.sonatype.org</id>
51+
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
5252
</snapshotRepository>
5353
</distributionManagement>
5454

@@ -402,8 +402,8 @@
402402
<artifactId>nexus-staging-maven-plugin</artifactId>
403403
<extensions>true</extensions>
404404
<configuration>
405-
<serverId>ossrh</serverId>
406-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
405+
<serverId>central.sonatype.org</serverId>
406+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
407407
<autoReleaseAfterClose>${autoRelease}</autoReleaseAfterClose>
408408
</configuration>
409409
</plugin>

0 commit comments

Comments
 (0)