GH-955 - Automatically close release repository.

This commit is contained in:
Oliver Drotbohm
2024-11-21 16:02:32 +01:00
parent 89a86b4213
commit ea50c6e6d0

18
pom.xml
View File

@@ -255,14 +255,20 @@ limitations under the License.
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.7.0</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-new</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>sonatype-new</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>
</profile>
<profile>