Skip to content

Commit

Permalink
Configure maven-staging-plugin (#2901)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Oct 12, 2024
1 parent 2293e5d commit 5b0b5c3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,24 @@ We use these goals frequently to keep the dependencies and plugins up-to-date:
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<executions>
<execution>
<id>deploy-to-sonatype</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
<goal>release</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>oss.sonatype.org</serverId>
<nexusUrl>https://oss.sonatype.org</nexusUrl>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down Expand Up @@ -524,4 +542,16 @@ We use these goals frequently to keep the dependencies and plugins up-to-date:
</build>
</profile>
</profiles>

<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>

</project>

0 comments on commit 5b0b5c3

Please sign in to comment.