Generate checksums

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131573 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2004-01-24 18:58:06 +00:00
parent d630f80567
commit 49db395997
1 changed files with 14 additions and 0 deletions

View File

@ -219,4 +219,18 @@
</postGoal>
<postGoal name="dist:build-bin">
<j:set var="distDir" value="${pom.getPluginContext('maven-dist-plugin').getVariable('maven.dist.dir')}"/>
<j:set var="finalName" value="${pom.getPluginContext('maven-dist-plugin').getVariable('maven.final.name')}"/>
<ant:checksum file="${distDir}/${finalName}.tar.gz"/>
<ant:checksum file="${distDir}/${finalName}.zip"/>
</postGoal>
<postGoal name="dist:build-src">
<j:set var="distDir" value="${pom.getPluginContext('maven-dist-plugin').getVariable('maven.dist.dir')}"/>
<j:set var="finalName" value="${pom.getPluginContext('maven-dist-plugin').getVariable('maven.final.name')}"/>
<ant:checksum file="${distDir}/${finalName}-src.tar.gz"/>
<ant:checksum file="${distDir}/${finalName}-src.zip"/>
</postGoal>
</project>