Skip to content

Commit 56c11ed

Browse files
committed
publish to the new central
1 parent 6c7e0cc commit 56c11ed

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

pom.xml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -151,27 +151,16 @@
151151
</profile>
152152
<profile>
153153
<id>central</id>
154-
<distributionManagement>
155-
<repository>
156-
<id>ossrh</id>
157-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
158-
</repository>
159-
<snapshotRepository>
160-
<id>ossrh</id>
161-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
162-
</snapshotRepository>
163-
</distributionManagement>
164154
<build>
165155
<plugins>
166156
<plugin>
167-
<groupId>org.sonatype.plugins</groupId>
168-
<artifactId>nexus-staging-maven-plugin</artifactId>
169-
<version>1.6.13</version>
157+
<groupId>org.sonatype.central</groupId>
158+
<artifactId>central-publishing-maven-plugin</artifactId>
159+
<version>0.7.0</version>
170160
<extensions>true</extensions>
171161
<configuration>
172-
<serverId>ossrh</serverId>
173-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
174-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
162+
<publishingServerId>central</publishingServerId>
163+
<autoPublish>false</autoPublish>
175164
</configuration>
176165
</plugin>
177166
<plugin>

0 commit comments

Comments
 (0)