You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/11/07 12:42:25 UTC
[maven] 02/03: add sha512 checksum to output
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 841886d23defa993ba6116d631c6b71f92415427
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Sep 21 20:09:02 2019 +0200
add sha512 checksum to output
---
apache-maven/pom.xml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
index edbec83..83aab4e 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -184,11 +184,42 @@ under the License.
<configuration>
<descriptors>
<descriptor>src/main/assembly/bin.xml</descriptor>
+ <descriptor>src/main/assembly/src.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <version>1.8</version>
+ <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>
+ <include>${project.artifactId}-${project.version}-src.zip</include>
+ <include>${project.artifactId}-${project.version}-src.tar.gz</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ <failIfNoFiles>true</failIfNoFiles>
+ </configuration>
+ </plugin>
</plugins>
</build>