Skip to content

Commit e6e792a

Browse files
committed
GH-957 - Automatically close release repository.
1 parent 87afa89 commit e6e792a

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
@@ -220,14 +220,20 @@ limitations under the License.
220220
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
221221
</configuration>
222222
</plugin>
223+
<plugin>
224+
<groupId>org.sonatype.plugins</groupId>
225+
<artifactId>nexus-staging-maven-plugin</artifactId>
226+
<version>1.7.0</version>
227+
<extensions>true</extensions>
228+
<configuration>
229+
<serverId>sonatype-new</serverId>
230+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
231+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
232+
<keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>
233+
</configuration>
234+
</plugin>
223235
</plugins>
224236
</build>
225-
<distributionManagement>
226-
<repository>
227-
<id>sonatype-new</id>
228-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
229-
</repository>
230-
</distributionManagement>
231237
</profile>
232238

233239
<profile>

0 commit comments

Comments
 (0)