Skip to content

Commit 58870b4

Browse files
change to central
1 parent 4e0e0a1 commit 58870b4

File tree

1 file changed

+8
-24
lines changed

1 file changed

+8
-24
lines changed

pom.xml

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,6 @@
3737
</developer>
3838
</developers>
3939

40-
<distributionManagement>
41-
<snapshotRepository>
42-
<id>sonatype</id>
43-
<name>central snapshot</name>
44-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
45-
</snapshotRepository>
46-
<repository>
47-
<id>sonatype</id>
48-
<name>central release</name>
49-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
50-
</repository>
51-
</distributionManagement>
52-
53-
5440
<licenses>
5541
<license>
5642
<name>Apache License, Version 2.0</name>
@@ -154,16 +140,14 @@
154140
</executions>
155141
</plugin>
156142
<plugin>
157-
<groupId>org.sonatype.plugins</groupId>
158-
<artifactId>nexus-staging-maven-plugin</artifactId>
159-
<version>1.7.0</version>
160-
<extensions>true</extensions>
161-
<configuration>
162-
<serverId>sonatype</serverId>
163-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
164-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
165-
</configuration>
166-
</plugin>
143+
<groupId>org.sonatype.central</groupId>
144+
<artifactId>central-publishing-maven-plugin</artifactId>
145+
<version>0.7.0</version>
146+
<extensions>true</extensions>
147+
<configuration>
148+
<publishingServerId>central</publishingServerId>
149+
</configuration>
150+
</plugin>
167151
</plugins>
168152
</build>
169153
</profile>

0 commit comments

Comments
 (0)