Adopt commons-jcs way of generating SHA-512 checksums

This commit is contained in:
Benedikt Ritter 2018-09-19 10:51:35 +02:00
parent af261c8fbf
commit 79adf78d23
No known key found for this signature in database
GPG Key ID: 9DAADC1C9FCC82D0
1 changed files with 39 additions and 0 deletions

39
pom.xml
View File

@ -242,6 +242,45 @@ CSV files of various types.
</excludes>
</configuration>
</plugin>
<!--
calculate checksums of release artifacts for Apache dist area
-->
<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>files</goal>
</goals>
</execution>
</executions>
<configuration>
<algorithms>
<algorithm>SHA-512</algorithm>
</algorithms>
<csvSummary>false</csvSummary>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<include>${project.artifactId}-${project.version}-src.zip</include>
<include>
${project.artifactId}-${project.version}-src.tar.gz
</include>
<include>${project.artifactId}-${project.version}-bin.zip</include>
<include>
${project.artifactId}-${project.version}-bin.tar.gz
</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</plugin>
</plugins>
</build>