Skip to content

Commit

Permalink
fix: replace maven-deploy-plugin with nexus-staging-maven-plugin
Browse files Browse the repository at this point in the history
- this change is required due to missing features in original plugin - promoting staging deployment to maven cetral repository
- nexus-staging-maven-plugin is meant to completely replace the maven-deploy-plugin as it supports same functionality and more
  • Loading branch information
martinalbert committed Aug 22, 2024
1 parent 5075318 commit 907a518
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,15 @@
</plugin>

<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
<executions>
<execution>
<id>default-deploy</id>
Expand Down

0 comments on commit 907a518

Please sign in to comment.