Skip to content

Commit 7aa9254

Browse files
committed
Maven central migration
1 parent 09790d4 commit 7aa9254

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

.mvn/settings.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@
1616
</server>
1717

1818
<server>
19-
<id>ossrh</id>
19+
<id>central</id>
2020
<username>${env.SONATYPE_USERNAME}</username>
2121
<password>${env.SONATYPE_PASSWORD}</password>
2222
</server>
2323

24-
2524
<server>
2625
<id>gpg.passphrase</id>
2726
<passphrase>${env.GPG_KEY_PASSPHRASE}</passphrase>
@@ -40,4 +39,4 @@
4039
</profile>
4140
</profiles>
4241

43-
</settings>
42+
</settings>

pom.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,13 @@
183183
</pluginManagement>
184184
<plugins>
185185
<plugin>
186-
<groupId>org.sonatype.plugins</groupId>
187-
<artifactId>nexus-staging-maven-plugin</artifactId>
188-
<version>1.6.13</version>
186+
<groupId>org.sonatype.central</groupId>
187+
<artifactId>central-publishing-maven-plugin</artifactId>
188+
<version>0.7.0</version>
189189
<extensions>true</extensions>
190190
<configuration>
191-
<serverId>ossrh</serverId>
192-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
193-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
191+
<publishingServerId>central</publishingServerId>
192+
<autoPublish>true</autoPublish>
194193
</configuration>
195194
</plugin>
196195

0 commit comments

Comments
 (0)