Skip to content

Commit a681d0e

Browse files
committed
PREN-202 Move to Central Portal plugin
1 parent b1e657b commit a681d0e

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed

pom.xml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,6 @@
5555
<maven.compiler.target>1.8</maven.compiler.target>
5656
</properties>
5757

58-
59-
<distributionManagement>
60-
<snapshotRepository>
61-
<id>ossrh</id>
62-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
63-
</snapshotRepository>
64-
<repository>
65-
<id>ossrh</id>
66-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
67-
</repository>
68-
</distributionManagement>
69-
7058
<dependencies>
7159
<dependency>
7260
<groupId>software.amazon.awssdk</groupId>
@@ -310,16 +298,14 @@
310298
</execution>
311299
</executions>
312300
</plugin>
313-
314301
<plugin>
315-
<groupId>org.sonatype.plugins</groupId>
316-
<artifactId>nexus-staging-maven-plugin</artifactId>
317-
<version>1.6.8</version>
302+
<groupId>org.sonatype.central</groupId>
303+
<artifactId>central-publishing-maven-plugin</artifactId>
304+
<version>0.7.0</version>
318305
<extensions>true</extensions>
319306
<configuration>
320-
<serverId>ossrh</serverId>
321-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
322-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
307+
<publishingServerId>central</publishingServerId>
308+
<autoPublish>true</autoPublish>
323309
</configuration>
324310
</plugin>
325311
</plugins>

0 commit comments

Comments
 (0)