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

hboutemy pushed a commit to branch reproducible
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 82db38ad2adcfe1febe0408b7388f3427a98b32b
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Sat Sep 21 20:09:02 2019 +0200

    add sha512 checksum to output
---
 apache-maven/pom.xml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
index edbec83..ef6ce9b 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -189,6 +189,33 @@ under the License.
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>net.nicoulaj.maven.plugins</groupId>
+        <artifactId>checksum-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>source-release-checksum</id>
+            <goals>
+              <goal>files</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <algorithms>
+            <algorithm>SHA-512</algorithm>
+          </algorithms>
+          <fileSets>
+            <fileSet>
+              <directory>${project.build.directory}</directory>
+              <includes>
+                
<include>${project.artifactId}-${project.version}-bin.zip</include>
+                
<include>${project.artifactId}-${project.version}-bin.tar.gz</include>
+              </includes>
+            </fileSet>
+          </fileSets>
+          <failIfNoFiles>true</failIfNoFiles>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 

Reply via email to