struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yasserzam...@apache.org
Subject [struts] branch support-2-3 updated: add checksum-maven-plugin
Date Mon, 17 Sep 2018 13:03:15 GMT
This is an automated email from the ASF dual-hosted git repository.

yasserzamani pushed a commit to branch support-2-3
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/support-2-3 by this push:
     new bd0d514  add checksum-maven-plugin
bd0d514 is described below

commit bd0d514de9cc27dce61c1611887321af489648be
Author: Yasser Zamani <yasserzamani@apache.org>
AuthorDate: Mon Sep 17 17:32:32 2018 +0430

    add checksum-maven-plugin
    
    http://www.apache.org/dev/release-distribution#sigs-and-sums
    > New policy :
    >
    >   -- SHOULD supply a SHA-256 and/or SHA-512 checksum file
    >   -- SHOULD NOT supply MD5 or SHA-1 checksum files
    
    See also: WW-4951
---
 pom.xml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/pom.xml b/pom.xml
index 526f3b8..ac9b934 100644
--- a/pom.xml
+++ b/pom.xml
@@ -137,6 +137,11 @@
         <pluginManagement>
             <plugins>
                 <plugin>
+                    <groupId>net.nicoulaj.maven.plugins</groupId>
+                    <artifactId>checksum-maven-plugin</artifactId>
+                    <version>1.7</version>
+                </plugin>
+                <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-release-plugin</artifactId>
                     <version>2.5</version>
@@ -192,6 +197,24 @@
         </pluginManagement>
         <plugins>
             <plugin>
+                <groupId>net.nicoulaj.maven.plugins</groupId>
+                <artifactId>checksum-maven-plugin</artifactId>
+                <version>1.7</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>artifacts</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <algorithms>
+                        <algorithm>SHA-256</algorithm>
+                        <algorithm>SHA-512</algorithm>
+                    </algorithms>
+                </configuration>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-release-plugin</artifactId>
                 <version>2.5</version>


Mime
View raw message