Skip to content

Commit 6e977d7

Browse files
authored
chore(nexus): add nexus-staging-maven-plugin for auto staging deployed artifacts (#833)
For more info see: https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#plugins-tested-for-compatibility
1 parent 0b60015 commit 6e977d7

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

pom.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -412,12 +412,6 @@
412412
<groupId>org.sonatype.plugins</groupId>
413413
<artifactId>nexus-staging-maven-plugin</artifactId>
414414
<version>1.7.0</version>
415-
<extensions>true</extensions>
416-
<configuration>
417-
<serverId>ossrh</serverId>
418-
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
419-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
420-
</configuration>
421415
</plugin>
422416

423417
<plugin>
@@ -781,6 +775,17 @@
781775
</execution>
782776
</executions>
783777
</plugin>
778+
<plugin>
779+
<groupId>org.sonatype.plugins</groupId>
780+
<artifactId>nexus-staging-maven-plugin</artifactId>
781+
<version>1.7.0</version>
782+
<extensions>true</extensions>
783+
<configuration>
784+
<serverId>ossrh</serverId>
785+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
786+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
787+
</configuration>
788+
</plugin>
784789
</plugins>
785790
</build>
786791
</profile>

0 commit comments

Comments
 (0)