juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcunn...@apache.org
Subject svn commit: r823380 - /webservices/juddi/trunk/juddiv3-war/pom.xml
Date Fri, 09 Oct 2009 02:17:21 GMT
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


Mime
View raw message