Skip to content

Commit 101ff38

Browse files
committed
Release with central-publishing-maven-plugin
1 parent 5391495 commit 101ff38

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
@@ -228,24 +228,14 @@
228228
<version>2.18.0</version>
229229
</plugin>
230230
<plugin>
231-
<groupId>org.sonatype.plugins</groupId>
232-
<artifactId>nexus-staging-maven-plugin</artifactId>
233-
<version>1.7.0</version>
231+
<groupId>org.sonatype.central</groupId>
232+
<artifactId>central-publishing-maven-plugin</artifactId>
233+
<version>0.7.0</version>
234234
<extensions>true</extensions>
235235
<configuration>
236-
<serverId>sonatype-nexus-staging</serverId>
237-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
238-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
236+
<publishingServerId>central</publishingServerId>
237+
<autoPublish>true</autoPublish>
239238
</configuration>
240-
<executions>
241-
<execution>
242-
<id>default-deploy</id>
243-
<phase>deploy</phase>
244-
<goals>
245-
<goal>deploy</goal>
246-
</goals>
247-
</execution>
248-
</executions>
249239
</plugin>
250240
</plugins>
251241
</build>

0 commit comments

Comments
 (0)