Skip to content

Commit

Permalink
Use Nexus plugin for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Aug 28, 2023
1 parent 5ba865e commit 70e4605
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<maven-plugin-plugin.version>3.6.1</maven-plugin-plugin.version>
<version.surefire.plugin>3.0.0</version.surefire.plugin>
<failsafe-plugin.version>${version.surefire.plugin}</failsafe-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
<useReleaseProfile>true</useReleaseProfile>

<!-- the group-id (and the platform key) for the generated platform artifacts -->
Expand Down Expand Up @@ -727,6 +728,19 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<serverId>ossrh</serverId>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
<stagingProgressTimeoutMinutes>60</stagingProgressTimeoutMinutes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 70e4605

Please sign in to comment.