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 2019/12/03 23:34:45 UTC
[hbase] branch branch-2 updated: HBASE-23337 Release scripts should
rely on maven for deploy. (#887)
This is an automated email from the ASF dual-hosted git repository.
busbey pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 0770b07 HBASE-23337 Release scripts should rely on maven for deploy. (#887)
0770b07 is described below
commit 0770b0768f913618e78b30d6b913dc1426004610
Author: Sean Busbey <bu...@apache.org>
AuthorDate: Mon Dec 2 06:39:24 2019 -0600
HBASE-23337 Release scripts should rely on maven for deploy. (#887)
- switch to nexus-staging-maven-plugin for asf-release
- cleaned up some tabs in the root pom
(differs from master because there are no release scripts here.)
Signed-off-by: stack <st...@apache.org>
(cherry picked from commit 97e01070001ef81558b4dae3a3610d0c73651cb9)
---
pom.xml | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index a217cbc..4470ac5 100755
--- a/pom.xml
+++ b/pom.xml
@@ -2308,6 +2308,28 @@
<argLine>${hbase-surefire.cygwin-argLine}</argLine>
</properties>
</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>
<!-- this profile should be activated for release builds -->
<profile>
<id>release</id>
@@ -2556,7 +2578,7 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-auth</artifactId>
- <version>${hadoop-two.version}</version>
+ <version>${hadoop-two.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>