You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ni...@apache.org on 2006/07/08 12:00:11 UTC

svn commit: r420094 - in /jakarta/commons/proper: chain/trunk/maven.xml fileupload/trunk/maven.xml scxml/trunk/maven.xml validator/trunk/maven.xml

Author: niallp
Date: Sat Jul  8 03:00:11 2006
New Revision: 420094

URL: http://svn.apache.org/viewvc?rev=420094&view=rev
Log:
Use "maven.final.name" for checksum generation

Modified:
    jakarta/commons/proper/chain/trunk/maven.xml
    jakarta/commons/proper/fileupload/trunk/maven.xml
    jakarta/commons/proper/scxml/trunk/maven.xml
    jakarta/commons/proper/validator/trunk/maven.xml

Modified: jakarta/commons/proper/chain/trunk/maven.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/chain/trunk/maven.xml?rev=420094&r1=420093&r2=420094&view=diff
==============================================================================
--- jakarta/commons/proper/chain/trunk/maven.xml (original)
+++ jakarta/commons/proper/chain/trunk/maven.xml Sat Jul  8 03:00:11 2006
@@ -56,29 +56,29 @@
     <postGoal name="dist">
 
          <!-- create checksum for jar -->
-         <ant:checksum file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar" property="jar.md5"/>
-         <ant:echo message="${jar.md5} *${pom.artifactId}-${pom.currentVersion}.jar" 
-                   file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar.md5" />
+         <ant:checksum file="${maven.build.dir}/${maven.final.name}.jar" property="jar.md5"/>
+         <ant:echo message="${jar.md5} *${maven.final.name}.jar" 
+                   file="${maven.build.dir}/${maven.final.name}.jar.md5" />
 
          <!-- create checksum for binary zip -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip" property="zip.md5"/>
-         <ant:echo message="${zip.md5} *${pom.artifactId}-${pom.currentVersion}.zip" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}.zip" property="zip.md5"/>
+         <ant:echo message="${zip.md5} *${maven.final.name}.zip" 
+                   file="${maven.dist.dir}/${maven.final.name}.zip.md5" />
 
          <!-- create checksum for binary tar.gz -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz" property="tar.gz.md5"/>
-         <ant:echo message="${tar.gz.md5} *${pom.artifactId}-${pom.currentVersion}.tar.gz" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}.tar.gz" property="tar.gz.md5"/>
+         <ant:echo message="${tar.gz.md5} *${maven.final.name}.tar.gz" 
+                   file="${maven.dist.dir}/${maven.final.name}.tar.gz.md5" />
 
          <!-- create checksum for source zip -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip" property="src.zip.md5"/>
-         <ant:echo message="${src.zip.md5} *${pom.artifactId}-${pom.currentVersion}-src.zip" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}-src.zip" property="src.zip.md5"/>
+         <ant:echo message="${src.zip.md5} *${maven.final.name}-src.zip" 
+                   file="${maven.dist.dir}/${maven.final.name}-src.zip.md5" />
 
          <!-- create checksum for source tar.gz -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz" property="src.tar.gz.md5"/>
-         <ant:echo message="${src.tar.gz.md5} *${pom.artifactId}-${pom.currentVersion}-src.tar.gz" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}-src.tar.gz" property="src.tar.gz.md5"/>
+         <ant:echo message="${src.tar.gz.md5} *${maven.final.name}-src.tar.gz" 
+                   file="${maven.dist.dir}/${maven.final.name}-src.tar.gz.md5" />
 
     </postGoal>
   

Modified: jakarta/commons/proper/fileupload/trunk/maven.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/maven.xml?rev=420094&r1=420093&r2=420094&view=diff
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/maven.xml (original)
+++ jakarta/commons/proper/fileupload/trunk/maven.xml Sat Jul  8 03:00:11 2006
@@ -56,29 +56,29 @@
   <postGoal name="dist">
 
     <!-- create checksum for jar -->
-    <ant:checksum file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar" property="jar.md5"/>
-    <ant:echo message="${jar.md5} *${pom.artifactId}-${pom.currentVersion}.jar" 
-              file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar.md5" />
+    <ant:checksum file="${maven.build.dir}/${maven.final.name}.jar" property="jar.md5"/>
+    <ant:echo message="${jar.md5} *${maven.final.name}.jar" 
+              file="${maven.build.dir}/${maven.final.name}.jar.md5" />
 
     <!-- create checksum for binary zip -->
-    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip" property="zip.md5"/>
-    <ant:echo message="${zip.md5} *${pom.artifactId}-${pom.currentVersion}.zip" 
-              file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip.md5" />
+    <ant:checksum file="${maven.dist.dir}/${maven.final.name}.zip" property="zip.md5"/>
+    <ant:echo message="${zip.md5} *${maven.final.name}.zip" 
+              file="${maven.dist.dir}/${maven.final.name}.zip.md5" />
 
     <!-- create checksum for binary tar.gz -->
-    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz" property="tar.gz.md5"/>
-    <ant:echo message="${tar.gz.md5} *${pom.artifactId}-${pom.currentVersion}.tar.gz" 
-              file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz.md5" />
+    <ant:checksum file="${maven.dist.dir}/${maven.final.name}.tar.gz" property="tar.gz.md5"/>
+    <ant:echo message="${tar.gz.md5} *${maven.final.name}.tar.gz" 
+              file="${maven.dist.dir}/${maven.final.name}.tar.gz.md5" />
 
     <!-- create checksum for source zip -->
-    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip" property="src.zip.md5"/>
-    <ant:echo message="${src.zip.md5} *${pom.artifactId}-${pom.currentVersion}-src.zip" 
-              file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip.md5" />
+    <ant:checksum file="${maven.dist.dir}/${maven.final.name}-src.zip" property="src.zip.md5"/>
+    <ant:echo message="${src.zip.md5} *${maven.final.name}-src.zip" 
+              file="${maven.dist.dir}/${maven.final.name}-src.zip.md5" />
 
     <!-- create checksum for source tar.gz -->
-    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz" property="src.tar.gz.md5"/>
-    <ant:echo message="${src.tar.gz.md5} *${pom.artifactId}-${pom.currentVersion}-src.tar.gz" 
-              file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz.md5" />
+    <ant:checksum file="${maven.dist.dir}/${maven.final.name}-src.tar.gz" property="src.tar.gz.md5"/>
+    <ant:echo message="${src.tar.gz.md5} *${maven.final.name}-src.tar.gz" 
+              file="${maven.dist.dir}/${maven.final.name}-src.tar.gz.md5" />
 
   </postGoal>
 

Modified: jakarta/commons/proper/scxml/trunk/maven.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/scxml/trunk/maven.xml?rev=420094&r1=420093&r2=420094&view=diff
==============================================================================
--- jakarta/commons/proper/scxml/trunk/maven.xml (original)
+++ jakarta/commons/proper/scxml/trunk/maven.xml Sat Jul  8 03:00:11 2006
@@ -56,29 +56,29 @@
     <postGoal name="dist">
 
          <!-- create checksum for jar -->
-         <ant:checksum file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar" property="jar.md5"/>
-         <ant:echo message="${jar.md5} *${pom.artifactId}-${pom.currentVersion}.jar" 
-                   file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar.md5" />
+         <ant:checksum file="${maven.build.dir}/${maven.final.name}.jar" property="jar.md5"/>
+         <ant:echo message="${jar.md5} *${maven.final.name}.jar" 
+                   file="${maven.build.dir}/${maven.final.name}.jar.md5" />
 
          <!-- create checksum for binary zip -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip" property="zip.md5"/>
-         <ant:echo message="${zip.md5} *${pom.artifactId}-${pom.currentVersion}.zip" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}.zip" property="zip.md5"/>
+         <ant:echo message="${zip.md5} *${maven.final.name}.zip" 
+                   file="${maven.dist.dir}/${maven.final.name}.zip.md5" />
 
          <!-- create checksum for binary tar.gz -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz" property="tar.gz.md5"/>
-         <ant:echo message="${tar.gz.md5} *${pom.artifactId}-${pom.currentVersion}.tar.gz" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}.tar.gz" property="tar.gz.md5"/>
+         <ant:echo message="${tar.gz.md5} *${maven.final.name}.tar.gz" 
+                   file="${maven.dist.dir}/${maven.final.name}.tar.gz.md5" />
 
          <!-- create checksum for source zip -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip" property="src.zip.md5"/>
-         <ant:echo message="${src.zip.md5} *${pom.artifactId}-${pom.currentVersion}-src.zip" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}-src.zip" property="src.zip.md5"/>
+         <ant:echo message="${src.zip.md5} *${maven.final.name}-src.zip" 
+                   file="${maven.dist.dir}/${maven.final.name}-src.zip.md5" />
 
          <!-- create checksum for source tar.gz -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz" property="src.tar.gz.md5"/>
-         <ant:echo message="${src.tar.gz.md5} *${pom.artifactId}-${pom.currentVersion}-src.tar.gz" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}-src.tar.gz" property="src.tar.gz.md5"/>
+         <ant:echo message="${src.tar.gz.md5} *${maven.final.name}-src.tar.gz" 
+                   file="${maven.dist.dir}/${maven.final.name}-src.tar.gz.md5" />
 
     </postGoal>
   

Modified: jakarta/commons/proper/validator/trunk/maven.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/validator/trunk/maven.xml?rev=420094&r1=420093&r2=420094&view=diff
==============================================================================
--- jakarta/commons/proper/validator/trunk/maven.xml (original)
+++ jakarta/commons/proper/validator/trunk/maven.xml Sat Jul  8 03:00:11 2006
@@ -170,29 +170,29 @@
     <postGoal name="dist">
 
          <!-- create checksum for jar -->
-         <ant:checksum file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar" property="jar.md5"/>
-         <ant:echo message="${jar.md5} *${pom.artifactId}-${pom.currentVersion}.jar" 
-                   file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar.md5" />
+         <ant:checksum file="${maven.build.dir}/${maven.final.name}.jar" property="jar.md5"/>
+         <ant:echo message="${jar.md5} *${maven.final.name}.jar" 
+                   file="${maven.build.dir}/${maven.final.name}.jar.md5" />
 
          <!-- create checksum for binary zip -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip" property="zip.md5"/>
-         <ant:echo message="${zip.md5} *${pom.artifactId}-${pom.currentVersion}.zip" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}.zip" property="zip.md5"/>
+         <ant:echo message="${zip.md5} *${maven.final.name}.zip" 
+                   file="${maven.dist.dir}/${maven.final.name}.zip.md5" />
 
          <!-- create checksum for binary tar.gz -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz" property="tar.gz.md5"/>
-         <ant:echo message="${tar.gz.md5} *${pom.artifactId}-${pom.currentVersion}.tar.gz" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}.tar.gz" property="tar.gz.md5"/>
+         <ant:echo message="${tar.gz.md5} *${maven.final.name}.tar.gz" 
+                   file="${maven.dist.dir}/${maven.final.name}.tar.gz.md5" />
 
          <!-- create checksum for source zip -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip" property="src.zip.md5"/>
-         <ant:echo message="${src.zip.md5} *${pom.artifactId}-${pom.currentVersion}-src.zip" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}-src.zip" property="src.zip.md5"/>
+         <ant:echo message="${src.zip.md5} *${maven.final.name}-src.zip" 
+                   file="${maven.dist.dir}/${maven.final.name}-src.zip.md5" />
 
          <!-- create checksum for source tar.gz -->
-         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz" property="src.tar.gz.md5"/>
-         <ant:echo message="${src.tar.gz.md5} *${pom.artifactId}-${pom.currentVersion}-src.tar.gz" 
-                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz.md5" />
+         <ant:checksum file="${maven.dist.dir}/${maven.final.name}-src.tar.gz" property="src.tar.gz.md5"/>
+         <ant:echo message="${src.tar.gz.md5} *${maven.final.name}-src.tar.gz" 
+                   file="${maven.dist.dir}/${maven.final.name}-src.tar.gz.md5" />
 
     </postGoal>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org