Skip to content

Commit 494db2e

Browse files
authored
Update pom.xml[enhancement] migrate to new central-publishing-maven-plugin
1 parent 05ed36a commit 494db2e

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

pom.xml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
<plugin>
150150
<groupId>org.apache.maven.plugins</groupId>
151151
<artifactId>maven-gpg-plugin</artifactId>
152-
<version>3.2.7</version>
152+
<version>3.2.8</version>
153153
<executions>
154154
<execution>
155155
<id>sign-artifacts</id>
@@ -167,29 +167,17 @@
167167
</executions>
168168
</plugin>
169169
<plugin>
170-
<groupId>org.sonatype.plugins</groupId>
171-
<artifactId>nexus-staging-maven-plugin</artifactId>
172-
<version>1.6.14</version>
170+
<groupId>org.sonatype.central</groupId>
171+
<artifactId>central-publishing-maven-plugin</artifactId>
172+
<version>0.8.0</version>
173173
<extensions>true</extensions>
174174
<configuration>
175-
<serverId>ossrh</serverId>
176-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
177-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
175+
<publishingServerId>central</publishingServerId>
176+
<autoPublish>true</autoPublish>
178177
</configuration>
179178
</plugin>
180179
</plugins>
181180
</build>
182-
<distributionManagement>
183-
<snapshotRepository>
184-
<id>ossrh</id>
185-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
186-
</snapshotRepository>
187-
<repository>
188-
<id>ossrh</id>
189-
<name>maven central</name>
190-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
191-
</repository>
192-
</distributionManagement>
193181
</profile>
194182
</profiles>
195183
</project>

0 commit comments

Comments
 (0)