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:46:58 UTC
svn commit: r372406 -
/incubator/servicemix/trunk/servicemix-wsn2005/maven.xml
Author: foconer
Date: Wed Jan 25 18:46:44 2006
New Revision: 372406
URL: http://svn.apache.org/viewcvs?rev=372406&view=rev
Log:
Added jar:deploy postGoal to upload zip installer to dist repository.
Modified:
incubator/servicemix/trunk/servicemix-wsn2005/maven.xml
Modified: incubator/servicemix/trunk/servicemix-wsn2005/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/maven.xml?rev=372406&r1=372405&r2=372406&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/maven.xml (original)
+++ incubator/servicemix/trunk/servicemix-wsn2005/maven.xml Wed Jan 25 18:46:44 2006
@@ -20,7 +20,8 @@
<project default="default"
xmlns:j="jelly:core"
xmlns:ant="jelly:ant"
- xmlns:maven="jelly:maven">
+ xmlns:maven="jelly:maven"
+ xmlns:artifact="artifact">
<!-- redefined "build" goal from parent pom -->
<goal name="default" prereqs="clean, jar:install, jbi:install"/>
@@ -148,5 +149,14 @@
basedir="${maven.jbi.sa.build.dir}">
</ant:jar>
</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>