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/11/28 06:54:58 UTC

[hbase] branch HBASE-23337-branch-2.1 created (now 571861b)

This is an automated email from the ASF dual-hosted git repository.

busbey pushed a change to branch HBASE-23337-branch-2.1
in repository https://gitbox.apache.org/repos/asf/hbase.git.


      at 571861b  HBASE-23337 Use the nexus-staging-maven-plugin.

This branch includes the following new commits:

     new 571861b  HBASE-23337 Use the nexus-staging-maven-plugin.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[hbase] 01/01: HBASE-23337 Use the nexus-staging-maven-plugin.

Posted by bu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

busbey pushed a commit to branch HBASE-23337-branch-2.1
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 571861b27ab20583d8d0803225a01e0dd4478a5b
Author: Sean Busbey <bu...@apache.org>
AuthorDate: Wed Nov 27 22:08:28 2019 -0600

    HBASE-23337 Use the nexus-staging-maven-plugin.
---
 pom.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/pom.xml b/pom.xml
index db40fa7..6db3519 100755
--- a/pom.xml
+++ b/pom.xml
@@ -2355,6 +2355,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>