You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tv...@apache.org on 2018/08/22 13:45:03 UTC

svn commit: r1838636 - /commons/proper/jcs/branches/commons-jcs-2.2.x/pom.xml

Author: tv
Date: Wed Aug 22 13:45:03 2018
New Revision: 1838636

URL: http://svn.apache.org/viewvc?rev=1838636&view=rev
Log:
Generate sha-512 checksums

Modified:
    commons/proper/jcs/branches/commons-jcs-2.2.x/pom.xml

Modified: commons/proper/jcs/branches/commons-jcs-2.2.x/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/jcs/branches/commons-jcs-2.2.x/pom.xml?rev=1838636&r1=1838635&r2=1838636&view=diff
==============================================================================
--- commons/proper/jcs/branches/commons-jcs-2.2.x/pom.xml (original)
+++ commons/proper/jcs/branches/commons-jcs-2.2.x/pom.xml Wed Aug 22 13:45:03 2018
@@ -218,6 +218,13 @@
             <skip>false</skip>
           </configuration>
         </plugin>
+        <!-- Disable generation of MD5 and SHA-1 checksum files -->
+        <plugin>
+          <artifactId>maven-install-plugin</artifactId>
+          <configuration>
+            <createChecksum>false</createChecksum>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
 
@@ -253,7 +260,6 @@
         </configuration>
       </plugin>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <!-- Disable Apache Parent POM built-in source assembly -->
         <executions>
@@ -277,6 +283,25 @@
           <skipIfEmpty>true</skipIfEmpty>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>net.nicoulaj.maven.plugins</groupId>
+        <artifactId>checksum-maven-plugin</artifactId>
+        <version>1.7</version>
+        <executions>
+          <execution>
+            <id>generate.checksums</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>artifacts</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <algorithms>
+            <algorithm>SHA-512</algorithm>
+          </algorithms>
+        </configuration>
+      </plugin>
     </plugins>
   </build>