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 2005/11/27 16:59:00 UTC

svn commit: r349251 - in /jakarta/commons/proper/validator/trunk: build.xml maven.xml project.xml

Author: niallp
Date: Sun Nov 27 07:58:52 2005
New Revision: 349251

URL: http://svn.apache.org/viewcvs?rev=349251&view=rev
Log:
Roll validator version to 1.2.1, add checksums to maven build

Modified:
    jakarta/commons/proper/validator/trunk/build.xml
    jakarta/commons/proper/validator/trunk/maven.xml
    jakarta/commons/proper/validator/trunk/project.xml

Modified: jakarta/commons/proper/validator/trunk/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/build.xml?rev=349251&r1=349250&r2=349251&view=diff
==============================================================================
--- jakarta/commons/proper/validator/trunk/build.xml (original)
+++ jakarta/commons/proper/validator/trunk/build.xml Sun Nov 27 07:58:52 2005
@@ -67,7 +67,7 @@
   <property name="component.title"         value="Validator"/>
 
   <!-- The current version number of this component -->
-  <property name="component.version"       value="1.2.0"/>
+  <property name="component.version"       value="1.2.1-SNAPSHOT"/>
 
   <!-- The base directory for compilation targets -->
   <property name="build.home"              value="target"/>

Modified: jakarta/commons/proper/validator/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/maven.xml?rev=349251&r1=349250&r2=349251&view=diff
==============================================================================
--- jakarta/commons/proper/validator/trunk/maven.xml (original)
+++ jakarta/commons/proper/validator/trunk/maven.xml Sun Nov 27 07:58:52 2005
@@ -14,7 +14,8 @@
    limitations under the License.
 -->
 
-<project default="java:jar">
+<project default="java:jar"
+  xmlns:ant="jelly:ant">
 
   <!-- ================================================================== -->
   <!-- START : C O M M O N S - B U I L D                                  -->
@@ -129,6 +130,37 @@
   </goal>
 
 
+    <!-- ================================================================== -->
+    <!-- Create MD5 Check Sums                                              -->
+    <!-- ================================================================== -->
+    <postGoal name="dist">
+
+         <!-- create checksum for jar -->
+         <ant:checksum file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar" property="md5"/>
+         <ant:echo message="${md5} *${pom.artifactId}-${pom.currentVersion}.jar" 
+                   file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar.md5" />
+
+         <!-- create checksum for binary zip -->
+         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip" property="md5"/>
+         <ant:echo message="${md5} *${pom.artifactId}-${pom.currentVersion}.zip" 
+                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip.md5" />
+
+         <!-- create checksum for binary tar.gz -->
+         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz" property="md5"/>
+         <ant:echo message="${md5} *${pom.artifactId}-${pom.currentVersion}.tar.gz" 
+                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz.md5" />
+
+         <!-- create checksum for source zip -->
+         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip" property="md5"/>
+         <ant:echo message="${md5} *${pom.artifactId}-${pom.currentVersion}-src.zip" 
+                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip.md5" />
+
+         <!-- create checksum for source tar.gz -->
+         <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz" property="md5"/>
+         <ant:echo message="${md5} *${pom.artifactId}-${pom.currentVersion}-src.tar.gz" 
+                   file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz.md5" />
+
+    </postGoal>
 
 </project>
 

Modified: jakarta/commons/proper/validator/trunk/project.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/project.xml?rev=349251&r1=349250&r2=349251&view=diff
==============================================================================
--- jakarta/commons/proper/validator/trunk/project.xml (original)
+++ jakarta/commons/proper/validator/trunk/project.xml Sun Nov 27 07:58:52 2005
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
    Copyright 2003-2005 The Apache Software Foundation
 
@@ -21,7 +21,7 @@
   <name>Validator</name>
   <groupId>commons-validator</groupId>
   <artifactId>commons-validator</artifactId>
-  <currentVersion>1.2.0</currentVersion>
+  <currentVersion>1.2.1-SNAPSHOT</currentVersion>
   <inceptionYear>2002</inceptionYear>
   <shortDescription>Commons Validator</shortDescription>
   <description>
@@ -171,7 +171,7 @@
       <name>Greg Ludington</name>
     </contributor>
    <contributor>
-      <name>Björn-H. Moritz</name>
+      <name>Bjorn-H. Moritz</name>
     </contributor>
      <contributor>
       <name>David Neuer</name>



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