Author: chinthaka
Date: Fri Apr 21 11:03:46 2006
New Revision: 395966

URL: http://svn.apache.org/viewcvs?rev=395966&view=rev
Log:
making the created jar automatically copied to the local repository.

Arghh, either maven could copy this automatically during jar goal invocation or 
people who are writing maven scripts could include 
this by default. This waste about 15 mins of my time :(.


Modified:
    webservices/commons/trunk/modules/XmlSchema/maven.xml

Modified: webservices/commons/trunk/modules/XmlSchema/maven.xml
URL: 
http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/XmlSchema/maven.xml?rev=395966&r1=395965&r2=395966&view=diff
==============================================================================
--- webservices/commons/trunk/modules/XmlSchema/maven.xml (original)
+++ webservices/commons/trunk/modules/XmlSchema/maven.xml Fri Apr 21 11:03:46 
2006
@@ -105,5 +105,10 @@
                <ant:delete dir="${dist}"/>
        </goal>
        <!-- dummy goal to create both the bin and source distributions -->
-       <goal name="release" prereqs="dist-bin,dist-src"/>
+       <goal name="release" prereqs="dist-bin,dist-src"/>
+        
+        <!-- Making the jar automatically copied to the local repository 
during a build -->
+        <goal name="jar">
+           <attainGoal name="jar:install"/>
+        </goal>
 </project>


Reply via email to