You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by tc...@apache.org on 2009/02/04 21:25:18 UTC

svn commit: r740863 - /webservices/juddi/branches/v3_trunk/uddi-client/pom.xml

Author: tcunning
Date: Wed Feb  4 20:25:17 2009
New Revision: 740863

URL: http://svn.apache.org/viewvc?rev=740863&view=rev
Log:
JUDDI-179
Use the maven-dependency-plugin's copy mojo to copy the juddi-tomcat bundle
zip instead of using the maven.dependency path provided within the antrun
plugin.    The antrun plugin would not work from builds from the parent
pom.xml.

Modified:
    webservices/juddi/branches/v3_trunk/uddi-client/pom.xml

Modified: webservices/juddi/branches/v3_trunk/uddi-client/pom.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/uddi-client/pom.xml?rev=740863&r1=740862&r2=740863&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/uddi-client/pom.xml (original)
+++ webservices/juddi/branches/v3_trunk/uddi-client/pom.xml Wed Feb  4 20:25:17 2009
@@ -103,6 +103,31 @@
   </dependencies> 
   <build>
     <plugins>
+<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.1</version>
+ <executions>
+   <execution>
+     <id>copy</id>
+     <phase>package</phase>
+     <goals>
+       <goal>copy</goal>
+     </goals>
+     <configuration>
+        <artifactItems>
+          <artifactItem>
+	     <groupId>org.apache.juddi</groupId>
+             <artifactId>juddi-tomcat</artifactId>
+             <version>3.0.0.SNAPSHOT</version>
+             <type>zip</type>
+             <outputDirectory>${basedir}/target</outputDirectory> 
+          </artifactItem>
+        </artifactItems>
+     </configuration>
+   </execution>
+ </executions>
+</plugin>
     <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-antrun-plugin</artifactId>
@@ -113,7 +138,7 @@
             <phase>pre-integration-test</phase>
             <configuration>
               <tasks>
-		<unzip dest="target" src="${maven.dependency.org.apache.juddi.juddi-tomcat.zip.path}"/>
+		<unzip dest="target" src="target/juddi-tomcat-3.0.0.SNAPSHOT.zip"/>
 	        <copy file="${basedir}/server.xml" todir="target/juddi-tomcat-3.0.0.SNAPSHOT/apache-tomcat-5.5.23/conf"/>
 	      </tasks>
             </configuration>



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