Skip to content

Commit ea50c6e

Browse files
committed
GH-955 - Automatically close release repository.
1 parent 89a86b4 commit ea50c6e

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

pom.xml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -255,14 +255,20 @@ limitations under the License.
255255
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
256256
</configuration>
257257
</plugin>
258+
<plugin>
259+
<groupId>org.sonatype.plugins</groupId>
260+
<artifactId>nexus-staging-maven-plugin</artifactId>
261+
<version>1.7.0</version>
262+
<extensions>true</extensions>
263+
<configuration>
264+
<serverId>sonatype-new</serverId>
265+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
266+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
267+
<keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>
268+
</configuration>
269+
</plugin>
258270
</plugins>
259271
</build>
260-
<distributionManagement>
261-
<repository>
262-
<id>sonatype-new</id>
263-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
264-
</repository>
265-
</distributionManagement>
266272
</profile>
267273

268274
<profile>

0 commit comments

Comments
 (0)