Skip to content

Commit f2bbeef

Browse files
committed
GH-143 - Automatically close release repository.
1 parent 6105111 commit f2bbeef

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Diff for: pom.xml

+12-6
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,20 @@
100100
</additionalOptions>
101101
</configuration>
102102
</plugin>
103+
<plugin>
104+
<groupId>org.sonatype.plugins</groupId>
105+
<artifactId>nexus-staging-maven-plugin</artifactId>
106+
<version>1.7.0</version>
107+
<extensions>true</extensions>
108+
<configuration>
109+
<serverId>sonatype-new</serverId>
110+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
111+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
112+
<keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>
113+
</configuration>
114+
</plugin>
103115
</plugins>
104116
</build>
105-
<distributionManagement>
106-
<repository>
107-
<id>sonatype-new</id>
108-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
109-
</repository>
110-
</distributionManagement>
111117
</profile>
112118
</profiles>
113119

0 commit comments

Comments
 (0)