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:47:50 UTC
svn commit: r372407 -
/incubator/servicemix/trunk/servicemix-lwcontainer/maven.xml
Author: foconer
Date: Wed Jan 25 18:47:41 2006
New Revision: 372407
URL: http://svn.apache.org/viewcvs?rev=372407&view=rev
Log:
Added jar:deploy postGoal to upload zip installer to dist repository.
Modified:
incubator/servicemix/trunk/servicemix-lwcontainer/maven.xml
Modified: incubator/servicemix/trunk/servicemix-lwcontainer/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-lwcontainer/maven.xml?rev=372407&r1=372406&r2=372407&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-lwcontainer/maven.xml (original)
+++ incubator/servicemix/trunk/servicemix-lwcontainer/maven.xml Wed Jan 25 18:47:41 2006
@@ -18,11 +18,20 @@
-->
<project default="default"
- xmlns:ant="jelly:ant">
+ xmlns:ant="jelly:ant"
+ xmlns:artifact="artifact">
<!-- redefined "build" goal from parent pom -->
<goal name="default" prereqs="clean, jar:install, jbi:install"/>
-
<goal name="nightly" prereqs="clean, jar:install, jbi:install, jar:deploy, 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>