You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by sa...@apache.org on 2006/08/13 20:22:02 UTC

svn commit: r431205 - /webservices/commons/trunk/modules/neethi/maven.xml

Author: sanka
Date: Sun Aug 13 11:22:02 2006
New Revision: 431205

URL: http://svn.apache.org/viewvc?rev=431205&view=rev
Log:
Added two new maven goals

(1) neethi:jar:install -- creates and copy neethi-SNAPSHOT.jar that contains
the older version
(2) neethi2:jar:install -- creates and copy neethi2-SNAPSHOT.jar that contains
the new version


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

Modified: webservices/commons/trunk/modules/neethi/maven.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/neethi/maven.xml?rev=431205&r1=431204&r2=431205&view=diff
==============================================================================
--- webservices/commons/trunk/modules/neethi/maven.xml (original)
+++ webservices/commons/trunk/modules/neethi/maven.xml Sun Aug 13 11:22:02 2006
@@ -103,6 +103,40 @@
 	
      </goal>
      
+     
+     <!-- ================================================================== -->
+     <!-- Creates and Install Neethi-SNAPSHOT jar                           -->
+     <!-- ================================================================== -->
+     
+     <goal name="neethi:jar:install"  prereqs="clean,test">
+        <ant:property name="dest.file"
+	    value="${pom.artifactId}-${pom.currentVersion}.jar" />
+     	<ant:jar destfile="${maven.build.dir}/${dest.file}"
+	    basedir="${maven.build.dest}"
+	    includes="**/policy/**"
+	    excludes="**/neethi/**" />
+	<ant:copy file="${maven.build.dir}/${dest.file}" 
+	    todir="${maven.repo.local}/${pom.artifactDirectory}/jars"
+	    overwirte="true" />
+     </goal>
+     
+     
+     <!-- ================================================================== -->
+     <!-- Creates and Install Neethi2-SNAPSHOT jar                           -->
+     <!-- ================================================================== -->
+     
+     <goal name="neethi2:jar:install"  prereqs="clean,test">
+        <ant:property name="dest.file"
+	    value="${pom.artifactId}2-${pom.currentVersion}.jar" />
+     	<ant:jar destfile="${maven.build.dir}/${dest.file}"
+	    basedir="${maven.build.dest}"
+	    includes="**/neethi/**"
+	    excludes="**/policy/**" />
+	<ant:copy file="${maven.build.dir}/${dest.file}" 
+	    todir="${maven.repo.local}/${pom.artifactDirectory}/jars"
+	    overwirte="true" />
+     </goal>
+     
      <!-- ================================================================ -->
      <!--- Create the Binary Distribution -->
      <!-- ================================================================ -->
@@ -121,14 +155,6 @@
 	<mkdir dir="${dist.bin.file}/docs/apidocs"/>
 	
 	<mkdir dir="${dist.bin.file}/lib"/>
-	
-	<!--
-	<ant:copy todir="${dist.bin.file}/docs">
-	    <ant:fileset dir="docs">
-	        <ant:include name="**"/>
-	    </ant:fileset>
-	</ant:copy>
-	-->
 	
 	<ant:copy todir="${dist.bin.file}/docs/apidocs">
 	    <ant:fileset dir="target/docs/apidocs/">



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org