Skip to content

Commit 3119ff2

Browse files
Merge pull request #37 from diffblue/thomas/useNewCentralPortal
TG-23222 Use new maven central portal
2 parents 6b963b3 + 1449aeb commit 3119ff2

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/settings.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
99
</server>
1010
<server>
11-
<id>ossrh</id>
12-
<username>${env.MAVEN_USERNAME}</username>
13-
<password>${env.MAVEN_PASSWORD}</password>
11+
<id>central</id>
12+
<username>${env.MAVEN_USERNAME}</username>
13+
<password>${env.MAVEN_PASSWORD}</password>
1414
</server>
1515
</servers>
1616
<profiles>

pom.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,13 @@
7171
<build>
7272
<plugins>
7373
<plugin>
74-
<groupId>org.sonatype.plugins</groupId>
75-
<artifactId>nexus-staging-maven-plugin</artifactId>
76-
<version>1.6.13</version>
74+
<groupId>org.sonatype.central</groupId>
75+
<artifactId>central-publishing-maven-plugin</artifactId>
76+
<version>0.7.0</version>
7777
<extensions>true</extensions>
7878
<configuration>
79-
<serverId>ossrh</serverId>
80-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
81-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
79+
<publishingServerId>central</publishingServerId>
80+
<autoPublish>true</autoPublish>
8281
</configuration>
8382
</plugin>
8483
</plugins>

0 commit comments

Comments
 (0)