Skip to content

Commit 4eae559

Browse files
committed
New deployment config
1 parent 2c7abf3 commit 4eae559

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

pom.xml

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,17 @@
149149
</execution>
150150
</executions>
151151
</plugin>
152-
<plugin>
153-
<groupId>org.sonatype.plugins</groupId>
154-
<artifactId>nexus-staging-maven-plugin</artifactId>
155-
<version>1.6.8</version>
156-
<extensions>true</extensions>
157-
<configuration>
158-
<serverId>sso</serverId>
159-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
160-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
161-
</configuration>
162-
</plugin>
152+
<plugin>
153+
<groupId>org.sonatype.central</groupId>
154+
<artifactId>central-publishing-maven-plugin</artifactId>
155+
<version>0.8.0</version>
156+
<extensions>true</extensions>
157+
<configuration>
158+
<publishingServerId>central</publishingServerId>
159+
<autoPublish>true</autoPublish>
160+
<waitUntil>published</waitUntil>
161+
</configuration>
162+
</plugin>
163163
<plugin>
164164
<groupId>org.apache.maven.plugins</groupId>
165165
<artifactId>maven-gpg-plugin</artifactId>
@@ -217,17 +217,16 @@
217217
</plugins>
218218
</build>
219219

220-
<distributionManagement>
221-
<!-- Maven Central - see http://central.sonatype.org/pages/apache-maven.html -->
222-
<repository>
223-
<id>sso</id>
224-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
225-
</repository>
226-
<snapshotRepository>
227-
<id>sso</id>
228-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
229-
</snapshotRepository>
230-
</distributionManagement>
220+
<distributionManagement>
221+
<snapshotRepository>
222+
<id>central</id>
223+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
224+
</snapshotRepository>
225+
<repository>
226+
<id>central</id>
227+
<url>https://central.sonatype.com/</url>
228+
</repository>
229+
</distributionManagement>
231230
<scm>
232231
<connection>scm:git:https://github.com/bridgedb/BridgeDb.git</connection>
233232
<developerConnection>scm:git:ssh://git@github.com/bridgedb/BridgeDb.git</developerConnection>

0 commit comments

Comments
 (0)