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:44 UTC

svn commit: r372409 - /incubator/servicemix/trunk/servicemix-jms/maven.xml

Author: foconer
Date: Wed Jan 25 18:48:34 2006
New Revision: 372409

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

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

Modified: incubator/servicemix/trunk/servicemix-jms/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-jms/maven.xml?rev=372409&r1=372408&r2=372409&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-jms/maven.xml (original)
+++ incubator/servicemix/trunk/servicemix-jms/maven.xml Wed Jan 25 18:48:34 2006
@@ -18,11 +18,21 @@
     
 -->
 
-<project default="default" xmlns:ant="jelly:ant">
+<project default="default" 
+  xmlns:ant="jelly:ant"
+  xmlns:artifact="artifact">
 
   <!-- redefined "default" goal from parent pom -->
-  <goal name="default" prereqs="jar:install, jbi:install"/>
-  
+  <goal name="default" prereqs="jar:install, jbi:install"/>  
   <goal name="nightly" prereqs="clean, jbi:install, jbi:deploy"/>
+  
+  <!-- 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>