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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1642474  HBASE-25578 HBase filesystem pom should include nexus staging 
repo management (#21)
1642474 is described below

commit 1642474716fe2c64c11e9eecf365d2930bca726e
Author: Sean Busbey <[email protected]>
AuthorDate: Mon Feb 15 06:39:11 2021 -0600

    HBASE-25578 HBase filesystem pom should include nexus staging repo 
management (#21)
    
    Signed-off-by: Peter Somogyi <[email protected]>
    Signed-off-by: Wellington Chevreuil <[email protected]>
---
 pom.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/pom.xml b/pom.xml
index ee89be5..09ff24b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -218,6 +218,28 @@
         </dependency>
       </dependencies>
     </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>

Reply via email to