Skip to content
Permalink
Browse files
HBASE-23750 [hbase-thirdparty] Add nexus-staging-maven-plugin to apac…
…he-release profile (#11)

Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
  • Loading branch information
saintstack committed Feb 19, 2020
1 parent e7364e8 commit ae23c097d5464b755404e3fd210faa2afc8adecd
Showing 1 changed file with 24 additions and 1 deletion.
25 pom.xml
@@ -301,7 +301,8 @@
</build>
<!--These are the third-party libs we want to relocate-->
<profiles>
<!-- this profile should be activated for release builds -->
<!-- this profile should be activated for release builds... this one
and the apache-release one from the parent pom-->
<profile>
<id>release</id>
<build>
@@ -339,5 +340,27 @@
</plugins>
</build>
</profile>
<!-- this profile should match the name of the release profile in the root asf pom -->
<profile>
<id>apache-release</id>
<build>
<plugins>
<!-- This should insert itself in place of the normal deploy plugin and then
handle either closing or dropping the staging repository for us depending
on if the build succeeds.
-->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<nexusUrl>https://repository.apache.org/</nexusUrl>
<serverId>apache.releases.https</serverId>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit ae23c09

Please sign in to comment.