You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2020/02/19 17:08:26 UTC
[hbase-thirdparty] branch master updated: HBASE-23750
[hbase-thirdparty] Add nexus-staging-maven-plugin to apache-release profile
(#11)
This is an automated email from the ASF dual-hosted git repository.
busbey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-thirdparty.git
The following commit(s) were added to refs/heads/master by this push:
new ae23c09 HBASE-23750 [hbase-thirdparty] Add nexus-staging-maven-plugin to apache-release profile (#11)
ae23c09 is described below
commit ae23c097d5464b755404e3fd210faa2afc8adecd
Author: Michael Stack <sa...@users.noreply.github.com>
AuthorDate: Wed Feb 19 09:08:19 2020 -0800
HBASE-23750 [hbase-thirdparty] Add nexus-staging-maven-plugin to apache-release profile (#11)
Signed-off-by: Sean Busbey <bu...@apache.org>
Signed-off-by: Jan Hentschel <ja...@ultratendency.com>
---
pom.xml | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index d4cf05b..9c787e8 100644
--- a/pom.xml
+++ b/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>