Skip to content

Commit e99f50f

Browse files
committed
new sonatyoe plugin
1 parent 2d1af21 commit e99f50f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pom.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
</dependency>
6363
</dependencies>
6464

65+
<!-- Not needed anymore with the new Sonatype plugin
6566
<distributionManagement>
6667
<snapshotRepository>
6768
<id>ossrh</id>
@@ -73,6 +74,7 @@
7374
</url>
7475
</repository>
7576
</distributionManagement>
77+
-->
7678

7779
<scm>
7880
<connection>scm:git:git://github.com/iitsoftware/swiftmq-client.git</connection>
@@ -92,14 +94,12 @@
9294
</configuration>
9395
</plugin>
9496
<plugin>
95-
<groupId>org.sonatype.plugins</groupId>
96-
<artifactId>nexus-staging-maven-plugin</artifactId>
97-
<version>1.6.13</version>
97+
<groupId>org.sonatype.central</groupId>
98+
<artifactId>central-publishing-maven-plugin</artifactId>
99+
<version>0.7.0</version>
98100
<extensions>true</extensions>
99101
<configuration>
100-
<serverId>ossrh</serverId>
101-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
102-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
102+
<publishingServerId>central</publishingServerId>
103103
</configuration>
104104
</plugin>
105105
</plugins>

0 commit comments

Comments
 (0)