commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r409144 - in /jakarta/commons/proper/chain/trunk: maven.xml project.xml xdocs/changes.xml
Date Wed, 24 May 2006 11:42:31 GMT
Author: niallp
Date: Wed May 24 04:42:31 2006
New Revision: 409144

URL: http://svn.apache.org/viewvc?rev=409144&view=rev
Log:
Update maven build to include missing artifacts in distros.

Modified:
    jakarta/commons/proper/chain/trunk/maven.xml
    jakarta/commons/proper/chain/trunk/project.xml
    jakarta/commons/proper/chain/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/chain/trunk/maven.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/chain/trunk/maven.xml?rev=409144&r1=409143&r2=409144&view=diff
==============================================================================
--- jakarta/commons/proper/chain/trunk/maven.xml (original)
+++ jakarta/commons/proper/chain/trunk/maven.xml Wed May 24 04:42:31 2006
@@ -14,9 +14,72 @@
    limitations under the License.
 -->
 <project default="java:jar"
+  xmlns:ant="jelly:ant"
   xmlns:j="jelly:core">
 
-  <postGoal name="xdoc:copy-resources">  
+  <!-- ================================================================== -->
+  <!-- Copy into the binary distribution                                  -->
+  <!-- ================================================================== -->
+  <postGoal name="dist:prepare-bin-filesystem">
+
+    <copy todir="${maven.dist.bin.assembly.dir}">
+      <fileset file='${basedir}/NOTICE.txt'/>
+      <fileset file="${basedir}/RELEASE-NOTES.txt"/>
+    </copy>
+
+  </postGoal>
+
+  <!-- ================================================================== -->
+  <!-- Copy into the source distribution                                  -->
+  <!-- ================================================================== -->
+  <postGoal name="dist:prepare-src-filesystem">
+
+    <!-- Copy the NOTICE -->
+    <copy todir="${maven.dist.src.assembly.dir}">
+      <fileset file='${basedir}/NOTICE.txt'/>
+      <fileset file="${basedir}/RELEASE-NOTES.txt"/>
+      <fileset file="${basedir}/build.properties.sample"/>
+      <fileset file="${basedir}/checkstyle.xml"/>
+      <fileset file="${basedir}/license-header.txt"/>
+    </copy>
+
+    <!-- Copy xdoc files -->
+    <copy todir="${maven.dist.src.assembly.dir}/xdocs">
+      <fileset dir="./xdocs"/>
+    </copy>
+
   </postGoal>
+
+    <!-- ================================================================== -->
+    <!-- Create MD5 Check Sums                                              -->
+    <!-- ================================================================== -->
+    <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"
/>
+
+         <!-- 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"
/>
+
+         <!-- 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"
/>
+
+         <!-- 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"
/>
+
+         <!-- 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"
/>
+
+    </postGoal>
   
 </project>

Modified: jakarta/commons/proper/chain/trunk/project.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/chain/trunk/project.xml?rev=409144&r1=409143&r2=409144&view=diff
==============================================================================
--- jakarta/commons/proper/chain/trunk/project.xml (original)
+++ jakarta/commons/proper/chain/trunk/project.xml Wed May 24 04:42:31 2006
@@ -206,6 +206,13 @@
           <include>**/*.xml</include>
         </includes>
       </resource>
+      <resource>
+        <directory>${basedir}</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>NOTICE.txt</include>
+        </includes>
+      </resource>
     </resources>
  
   </build>

Modified: jakarta/commons/proper/chain/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/chain/trunk/xdocs/changes.xml?rev=409144&r1=409143&r2=409144&view=diff
==============================================================================
--- jakarta/commons/proper/chain/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/chain/trunk/xdocs/changes.xml Wed May 24 04:42:31 2006
@@ -39,6 +39,10 @@
   <body>
 
     <release version="1.1-SNAPSHOT" date="in SVN">
+      <action dev="niallp" type="fix" issue="CHAIN-11">
+         <a href="http://svn.apache.org/viewvc?view=rev&amp;revision=409125">r
409125</a>
+         Modify DispatchCommand so that it will compile using JDK 1.3 (remove JDK 1.4 method).
+      </action>
       <action dev="germuska" type="fix">
          <a href="http://svn.apache.org/viewvc?view=rev&amp;revision=356422">r
356422</a>
          DispatchCommand - fix bug in handling InvocationTargetException.



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


Mime
View raw message