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 2021/02/20 07:24:33 UTC

[hbase-operator-tools] branch master updated: HBASE-25577 HBase operator tools pom should include nexus staging repo management

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-operator-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new b4f4676  HBASE-25577 HBase operator tools pom should include nexus staging repo management
b4f4676 is described below

commit b4f4676992a0d1b2e121c57eb5658898713d2754
Author: Sean Busbey <bu...@apache.org>
AuthorDate: Sat Feb 13 12:41:58 2021 -0600

    HBASE-25577 HBase operator tools pom should include nexus staging repo management
    
    closes #82
    
    Signed-off-by: Peter Somogyi <ps...@apache.org>
---
 pom.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/pom.xml b/pom.xml
index 8a48889..3b5a64b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -444,5 +444,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>