You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by ap...@apache.org on 2020/02/21 08:05:15 UTC

[mahout] branch master updated: [MAHOUT-2088] Update Apache parent pom to latest version (23) from 18 (#392)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 754068b  [MAHOUT-2088] Update Apache parent pom to latest version (23) from 18 (#392)
754068b is described below

commit 754068bc3ac62bcf4b9b656cd4a6f413b29b18df
Author: Andrew Palumbo <ap...@apache.org>
AuthorDate: Fri Feb 21 00:05:08 2020 -0800

    [MAHOUT-2088] Update Apache parent pom to latest version (23) from 18 (#392)
    
    * [MAHOUT-2088] Update Apache parent pom to latest version (23) from 18
    
    * [MAHOUT-2088]update Apache Parent pom to latest version (23),prepare for RC5: reset to 14.1-SNAPSHOT
    
    * [MAHOUT-2088] update Apache Parent pom to latest version (23), tweaks
---
 pom.xml | 42 +++++++++++++++++++++++++++++++++---------
 1 file changed, 33 insertions(+), 9 deletions(-)

diff --git a/pom.xml b/pom.xml
index 134849e..1127b33 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>18</version>
+    <version>23</version>
   </parent>
   <groupId>org.apache.mahout</groupId>
   <artifactId>mahout</artifactId>
@@ -411,7 +411,6 @@
             </execution>
           </executions>
         </plugin>
-
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
@@ -599,7 +598,7 @@
           <configuration>
             <useReleaseProfile>true</useReleaseProfile>
             <autoVersionSubmodules>true</autoVersionSubmodules>
-            <preparationGoals>clean package install</preparationGoals>
+            <preparationGoals>clean package </preparationGoals>
             <releaseProfiles>
               <releaseProfile>apache.releases.https</releaseProfile>
             </releaseProfiles>
@@ -693,18 +692,43 @@
             </executions>
           </plugin>
 
-        <!--<plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-gpg-plugin</artifactId>
+        <plugin>
+          <groupId>net.nicoulaj.maven.plugins</groupId>
+          <artifactId>checksum-maven-plugin</artifactId>
+          <version>1.7</version>
           <executions>
             <execution>
-              <id>sign-release-artifacts</id>
+              <id>source-release-checksum</id>
               <goals>
-                <goal>sign</goal>
+                <goal>files</goal>
               </goals>
             </execution>
           </executions>
-        </plugin>-->
+          <configuration>
+            <algorithms>
+              <algorithm>SHA-512</algorithm>
+            </algorithms>
+            <csvSummary>false</csvSummary>
+            <fileSets>
+              <fileSet>
+                <directory>${project.build.directory}</directory>
+                <includes>
+                  <include>${project.artifactId}-${project.version}*.*</include>
+                  <include>${project.artifactId}-${project.version}*</include>
+                </includes>
+                <directory>${project.build.directory}/**/target</directory>
+                <includes>
+                  <include>mahout-*</include>
+                </includes>
+                <directory>${project.build.directory}/**/**/target</directory>
+                <includes>
+                  <include>mahout-*</include>
+                </includes>
+              </fileSet>
+            </fileSets>
+            <failIfNoFiles>false</failIfNoFiles><!-- usually, no file to do checksum: don't consider error -->
+          </configuration>
+        </plugin>
       </plugins>
     </build>
   </profile>