You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by nb...@apache.org on 2008/07/15 17:45:14 UTC

svn commit: r676941 - /velocity/tools/trunk/build.xml

Author: nbubna
Date: Tue Jul 15 08:45:14 2008
New Revision: 676941

URL: http://svn.apache.org/viewvc?rev=676941&view=rev
Log:
make it easier to deploy the pom to the maven repo with ant

Modified:
    velocity/tools/trunk/build.xml

Modified: velocity/tools/trunk/build.xml
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/build.xml?rev=676941&r1=676940&r2=676941&view=diff
==============================================================================
--- velocity/tools/trunk/build.xml (original)
+++ velocity/tools/trunk/build.xml Tue Jul 15 08:45:14 2008
@@ -36,7 +36,6 @@
 
 <!-- ========== Targets ======================================== -->
 
-
   <!-- Main Target -->
   <target name="all" depends="clean,jar.struts,examples,javadoc,docs,env"
           description="Clean and build velocity-tools library, examples, and documentation."/>
@@ -553,7 +552,12 @@
     <gzip zipfile="${dist.dir}/${project.id}.tar.gz"
           src="${dist.dir}/${project.id}.tar"/>
 
+    <!-- Create a distribution ready POM -->
+    <copy file="pom.xml" tofile="${dist.dir}/${project.id}.pom"/>
+
     <!-- Create checksums for the binary distribution files -->
+    <checksum file="${dist.dir}/${project.id}.pom" algorithm="md5" fileext=".md5"/>
+    <checksum file="${dist.dir}/${project.id}.pom" algorithm="sha1" fileext=".sha1"/>
     <checksum file="${dist.dir}/${project.id}.zip" algorithm="md5" fileext=".md5"/>
     <checksum file="${dist.dir}/${project.id}.zip" algorithm="sha1" fileext=".sha1"/>
     <checksum file="${dist.dir}/${project.id}.tar.gz" algorithm="md5" fileext=".md5"/>
@@ -639,7 +643,7 @@
     * SSH to ${publish.server} and verify the checksums and signatures of the uploaded
       files with a script like:
           #!/bin/csh
-          foreach fn ( *.tar.gz *.zip *.jar )
+          foreach fn ( *.tar.gz *.zip *.jar *.pom )
             echo Verifying $fn...
             echo GPG signature should be "Good"
             gpg --verify $fn.asc
@@ -660,7 +664,7 @@
 
     * Once the release vote has passed, these files should all be copied to
         /www/www.apache.org/dist/velocity/tools/${project.version}
-      and the jars should be copied into 
+      and the full jar, pom and their md5 and sha1 files should be copied into 
         /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/velocity/velocity-tools/${project.version}/
 
     * Tag the release in SVN with a command such as: