Merge branch commons-jcs-2.2.x back into trunk
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/jcs/trunk@1840424 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/commons-jcs-dist/pom.xml b/commons-jcs-dist/pom.xml
index 391f640..26659e4 100644
--- a/commons-jcs-dist/pom.xml
+++ b/commons-jcs-dist/pom.xml
@@ -100,6 +100,38 @@
</execution>
</executions>
</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>
</profile>