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/09 04:17:21 UTC

svn commit: r823380 - /webservices/juddi/trunk/juddiv3-war/pom.xml

Author: tcunning
Date: Fri Oct  9 02:17:20 2009
New Revision: 823380

URL: http://svn.apache.org/viewvc?rev=823380&view=rev
Log:
Copy persistence.xml into archive.

Modified:
    webservices/juddi/trunk/juddiv3-war/pom.xml

Modified: webservices/juddi/trunk/juddiv3-war/pom.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddiv3-war/pom.xml?rev=823380&r1=823379&r2=823380&view=diff
==============================================================================
--- webservices/juddi/trunk/juddiv3-war/pom.xml (original)
+++ webservices/juddi/trunk/juddiv3-war/pom.xml Fri Oct  9 02:17:20 2009
@@ -175,5 +175,28 @@
   </dependencies>
   <build>
     <finalName>juddi</finalName>
+    <plugins>	
+        <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>
+				<copy file ="${basedir}/persistence/${persistence}-persistence.xml"
+					tofile="${basedir}/src/main/resources/META-INF/persistence.xml"
+					overwrite="true"/>
+			</tasks>
+			</configuration>
+			<goals>
+				<goal>run</goal>
+			</goals>
+		  </execution>
+		</executions>
+      </plugin>
+     </plugins>
   </build>
 </project>



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