You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by ks...@apache.org on 2009/10/14 23:37:18 UTC

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

Author: kstam
Date: Wed Oct 14 21:37:18 2009
New Revision: 825297

URL: http://svn.apache.org/viewvc?rev=825297&view=rev
Log:
JUDDI-294

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=825297&r1=825296&r2=825297&view=diff
==============================================================================
--- webservices/juddi/trunk/juddiv3-war/pom.xml (original)
+++ webservices/juddi/trunk/juddiv3-war/pom.xml Wed Oct 14 21:37:18 2009
@@ -31,7 +31,6 @@
   <url>http://maven.apache.org</url>
   <properties>
     <cxf.version>2.1.3</cxf.version>
-    <persistence>hibernate</persistence>
   </properties>
   <dependencies>
     <dependency>
@@ -184,11 +183,12 @@
 		<executions>
 		 <execution>
 			<id>foo</id>
-			<phase>package</phase>
+			<phase>compile</phase>
 			<configuration>
 			<tasks>
+			    <echo>persistence=${persistence}</echo>
 				<copy file ="${basedir}/persistence/${persistence}-persistence.xml"
-					tofile="${basedir}/src/main/resources/META-INF/persistence.xml"
+					tofile="${basedir}/target/classes/META-INF/persistence.xml"
 					overwrite="true"/>
 			</tasks>
 			</configuration>
@@ -211,6 +211,9 @@
 				</property>
 				
 			</activation>
+			<properties>
+				<persistence>hibernate</persistence>
+			</properties>
 		</profile>
 		<profile>
 			<id>openjpa</id>
@@ -220,6 +223,9 @@
 					<value>openjpa</value>
 				</property>
 			</activation>
+			<properties>
+				<persistence>openjpa</persistence>
+			</properties>
 		</profile>
 	</profiles>
 </project>



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