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/10/14 17:41:05 UTC

svn commit: r825170 - in /webservices/juddi/trunk/juddi-samples: pom.xml src/main/webapp/WEB-INF/classes/META-INF/persistence.xml

Author: tcunning
Date: Wed Oct 14 15:41:05 2009
New Revision: 825170

URL: http://svn.apache.org/viewvc?rev=825170&view=rev
Log:
JUDDI-293
Make sure we bring in the persistence.xml from juddiv3-war

Removed:
    webservices/juddi/trunk/juddi-samples/src/main/webapp/WEB-INF/classes/META-INF/persistence.xml
Modified:
    webservices/juddi/trunk/juddi-samples/pom.xml

Modified: webservices/juddi/trunk/juddi-samples/pom.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-samples/pom.xml?rev=825170&r1=825169&r2=825170&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-samples/pom.xml (original)
+++ webservices/juddi/trunk/juddi-samples/pom.xml Wed Oct 14 15:41:05 2009
@@ -73,10 +73,14 @@
       <artifactId>cglib-nodep</artifactId>
       <version>2.1_3</version>
     </dependency>
-    
+    <dependency>
+      <groupId>org.apache.juddi</groupId>
+      <artifactId>juddiv3-war</artifactId>
+      <version>3.0.0.SNAPSHOT</version>
+      <type>war</type>
+    </dependency>
   </dependencies>
   <build>
-      <pluginManagement>
         <plugins>
              <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
@@ -111,7 +115,34 @@
                </execution>
              </executions>
             </plugin>
+	    <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <version>1.3</version>
+            <executions>
+                 <execution>
+                        <id>foo</id>
+                        <phase>package</phase>
+                        <configuration>
+                        <tasks>
+                        <unzip src="${maven.dependency.org.apache.juddi.juddiv3-war.war.path}"
+                                dest="target/jv3">
+                                <patternset>
+                                        <include name="**/persistence.xml"/>
+                                </patternset>
+                        </unzip>
+                        <copy todir="src/main/webapp">
+                                <fileset dir="target/jv3"/>
+                        </copy>
+
+                        </tasks>
+                        </configuration>
+                        <goals>
+                                <goal>run</goal>
+                        </goals>
+                 </execution>
+            </executions>
+           </plugin>
          </plugins>
-       </pluginManagement>
     </build>
 </project>



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