You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by fo...@apache.org on 2006/01/26 03:48:18 UTC

svn commit: r372408 - /incubator/servicemix/trunk/servicemix-jsr181/maven.xml

Author: foconer
Date: Wed Jan 25 18:48:09 2006
New Revision: 372408

URL: http://svn.apache.org/viewcvs?rev=372408&view=rev
Log:
Added jar:deploy postGoal to upload zip installer to dist repository.

Modified:
    incubator/servicemix/trunk/servicemix-jsr181/maven.xml

Modified: incubator/servicemix/trunk/servicemix-jsr181/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-jsr181/maven.xml?rev=372408&r1=372407&r2=372408&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-jsr181/maven.xml (original)
+++ incubator/servicemix/trunk/servicemix-jsr181/maven.xml Wed Jan 25 18:48:09 2006
@@ -19,7 +19,8 @@
 -->
 
 <project default="default"
-    xmlns:ant="jelly:ant">
+    xmlns:ant="jelly:ant"
+    xmlns:artifact="artifact">
 
   <!-- redefined "build" goal from parent pom -->
   <goal name="default" prereqs="jar:install, jbi:install"/>
@@ -52,4 +53,14 @@
   	<copy file="${basedir}/target/servicemix-jsr181-${pom.currentVersion}.xsd" todir="${basedir}/../xdocs"/>    
     <copy file="${basedir}/target/servicemix-jsr181-${pom.currentVersion}.xsd.html" todir="${basedir}/../xdocs"/>
   </goal>
+  
+  <!-- Uploads the installer to the dist repository after deploying the jar binary -->
+  <postGoal name="jar:deploy">
+    <artifact:deploy
+        artifact="${basedir}/target/${pom.artifactId}-installer-${pom.currentVersion}.zip"
+        type="zip"
+        project="${pom}"
+    />
+  </postGoal>
+  
 </project>