You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sa...@apache.org on 2006/03/22 17:46:56 UTC
svn commit: r387888 - in /jakarta/commons/proper/pool:
branches/1_3_RELEASE_BRANCH/maven.xml trunk/maven.xml
Author: sandymac
Date: Wed Mar 22 08:46:52 2006
New Revision: 387888
URL: http://svn.apache.org/viewcvs?rev=387888&view=rev
Log:
include *filename in the generated .md5 files.
Modified:
jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml
jakarta/commons/proper/pool/trunk/maven.xml
Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml?rev=387888&r1=387887&r2=387888&view=diff
==============================================================================
--- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml (original)
+++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml Wed Mar 22 08:46:52 2006
@@ -66,15 +66,27 @@
<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" algorithm="MD5" fileext=".md5"/>
- <ant:checksum file="${distDir}/${finalName}.zip" algorithm="MD5" fileext=".md5"/>
+
+ <!-- create checksum for binary tar.gz -->
+ <ant:checksum file="${distDir}/${finalName}.tar.gz" property="tar.gz.md5"/>
+ <ant:echo message="${tar.gz.md5} *${finalName}.tar.gz" file="${distDir}/${finalName}.tar.gz.md5" />
+
+ <!-- create checksum for binary zip -->
+ <ant:checksum file="${distDir}/${finalName}.zip" property="zip.md5"/>
+ <ant:echo message="${zip.md5} *${finalName}.zip" file="${distDir}/${finalName}.zip.md5" />
</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" algorithm="MD5" fileext=".md5"/>
- <ant:checksum file="${distDir}/${finalName}-src.zip" algorithm="MD5" fileext=".md5"/>
+
+ <!-- create checksum for source tar.gz -->
+ <ant:checksum file="${distDir}/${finalName}-src.tar.gz" property="src.tar.gz.md5"/>
+ <ant:echo message="${src.tar.gz.md5} *${finalName}-src.tar.gz" file="${distDir}/${finalName}-src.tar.gz.md5" />
+
+ <!-- create checksum for source zip -->
+ <ant:checksum file="${distDir}/${finalName}-src.zip" property="src.zip.md5"/>
+ <ant:echo message="${src.zip.md5} *${finalName}-src.zip" file="${distDir}/${finalName}-src.zip.md5" />
</postGoal>
</project>
Modified: jakarta/commons/proper/pool/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/maven.xml?rev=387888&r1=387887&r2=387888&view=diff
==============================================================================
--- jakarta/commons/proper/pool/trunk/maven.xml (original)
+++ jakarta/commons/proper/pool/trunk/maven.xml Wed Mar 22 08:46:52 2006
@@ -65,15 +65,27 @@
<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" algorithm="MD5" fileext=".md5"/>
- <ant:checksum file="${distDir}/${finalName}.zip" algorithm="MD5" fileext=".md5"/>
+
+ <!-- create checksum for binary tar.gz -->
+ <ant:checksum file="${distDir}/${finalName}.tar.gz" property="tar.gz.md5"/>
+ <ant:echo message="${tar.gz.md5} *${finalName}.tar.gz" file="${distDir}/${finalName}.tar.gz.md5" />
+
+ <!-- create checksum for binary zip -->
+ <ant:checksum file="${distDir}/${finalName}.zip" property="zip.md5"/>
+ <ant:echo message="${zip.md5} *${finalName}.zip" file="${distDir}/${finalName}.zip.md5" />
</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" algorithm="MD5" fileext=".md5"/>
- <ant:checksum file="${distDir}/${finalName}-src.zip" algorithm="MD5" fileext=".md5"/>
+
+ <!-- create checksum for source tar.gz -->
+ <ant:checksum file="${distDir}/${finalName}-src.tar.gz" property="src.tar.gz.md5"/>
+ <ant:echo message="${src.tar.gz.md5} *${finalName}-src.tar.gz" file="${distDir}/${finalName}-src.tar.gz.md5" />
+
+ <!-- create checksum for source zip -->
+ <ant:checksum file="${distDir}/${finalName}-src.zip" property="src.zip.md5"/>
+ <ant:echo message="${src.zip.md5} *${finalName}-src.zip" file="${distDir}/${finalName}-src.zip.md5" />
</postGoal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org