You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2021/08/24 09:00:19 UTC

[hbase-connectors] branch master updated: HBASE-25579 HBase Connectors pom should include nexus staging repo management (#78)

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

psomogyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-connectors.git


The following commit(s) were added to refs/heads/master by this push:
     new 37aa8d5  HBASE-25579 HBase Connectors pom should include nexus staging repo management (#78)
37aa8d5 is described below

commit 37aa8d5a7093f3280af76780fced08f33b8c206f
Author: Sean Busbey <bu...@apache.org>
AuthorDate: Tue Aug 24 04:00:14 2021 -0500

    HBASE-25579 HBase Connectors pom should include nexus staging repo management (#78)
    
    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 b877201..b0578aa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -682,5 +682,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>