Skip to content

Commit de399e9

Browse files
committed
Release with central-publishing-maven-plugin
1 parent 4268d84 commit de399e9

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

pom.xml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -242,24 +242,14 @@
242242
<version>2.18.0</version>
243243
</plugin>
244244
<plugin>
245-
<groupId>org.sonatype.plugins</groupId>
246-
<artifactId>nexus-staging-maven-plugin</artifactId>
247-
<version>1.7.0</version>
245+
<groupId>org.sonatype.central</groupId>
246+
<artifactId>central-publishing-maven-plugin</artifactId>
247+
<version>0.7.0</version>
248248
<extensions>true</extensions>
249249
<configuration>
250-
<serverId>sonatype-nexus-staging</serverId>
251-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
252-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
250+
<publishingServerId>central</publishingServerId>
251+
<autoPublish>true</autoPublish>
253252
</configuration>
254-
<executions>
255-
<execution>
256-
<id>default-deploy</id>
257-
<phase>deploy</phase>
258-
<goals>
259-
<goal>deploy</goal>
260-
</goals>
261-
</execution>
262-
</executions>
263253
</plugin>
264254
</plugins>
265255
</build>

0 commit comments

Comments
 (0)