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

apalumbo pushed a commit to branch mahout-14.1
in repository https://gitbox.apache.org/repos/asf/mahout.git

commit 40e8a7e5b42fcd3fc46d5777e528a36bec86f843
Author: Andrew Palumbo <[email protected]>
AuthorDate: Sat Nov 2 22:23:58 2019 -0700

    root pom deploy and release profiles and ids
---
 pom.xml | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index c9aaadd..7187a94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -444,6 +444,7 @@
     </properties>
   </profile>
 
+
   <profile>
     <id>sourcecheck</id>
     <build>
@@ -546,13 +547,30 @@
     <build>
       <plugins>
         <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-release-plugin</artifactId>
+          <version>2.5.3</version>
+          <configuration>
+            <useReleaseProfile>true</useReleaseProfile>
+            <autoVersionSubmodules>true</autoVersionSubmodules>
+            <preparationGoals>clean package install</preparationGoals>
+            <releaseProfiles>apache-release</releaseProfiles>
+            <goals>deploy</goals>
+            <arguments>-Papache-release ${arguments}</arguments>
+            <waitBeforeTagging>10</waitBeforeTagging>
+          </configuration>
+        </plugin>
+        
+        <plugin>
           <inherited>true</inherited>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-deploy-plugin</artifactId>
-
+          <configuration>
+            <deployAtEnd>true</deployAtEnd>
+          </configuration>
           <executions>
             <execution>
-              <id>deploy-artifacts</id>
+              <id>apache.releases.https</id>
               <goals>
                 <goal>deploy</goal>
               </goals>

Reply via email to