Skip to content

Commit 6f27de4

Browse files
committed
GH-956 - Automatically close release repository.
1 parent 219894e commit 6f27de4

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
@@ -222,14 +222,20 @@ limitations under the License.
222222
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
223223
</configuration>
224224
</plugin>
225+
<plugin>
226+
<groupId>org.sonatype.plugins</groupId>
227+
<artifactId>nexus-staging-maven-plugin</artifactId>
228+
<version>1.7.0</version>
229+
<extensions>true</extensions>
230+
<configuration>
231+
<serverId>sonatype-new</serverId>
232+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
233+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
234+
<keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>
235+
</configuration>
236+
</plugin>
225237
</plugins>
226238
</build>
227-
<distributionManagement>
228-
<repository>
229-
<id>sonatype-new</id>
230-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
231-
</repository>
232-
</distributionManagement>
233239
</profile>
234240

235241
<profile>

0 commit comments

Comments
 (0)