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 2010/03/10 18:56:57 UTC

svn commit: r921486 - /webservices/juddi/trunk/juddi-core/pom.xml

Author: tcunning
Date: Wed Mar 10 17:56:57 2010
New Revision: 921486

URL: http://svn.apache.org/viewvc?rev=921486&view=rev
Log:
JUDDI-362
Only use the orm.xml in testing for hibernate.

Modified:
    webservices/juddi/trunk/juddi-core/pom.xml

Modified: webservices/juddi/trunk/juddi-core/pom.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-core/pom.xml?rev=921486&r1=921485&r2=921486&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-core/pom.xml (original)
+++ webservices/juddi/trunk/juddi-core/pom.xml Wed Mar 10 17:56:57 2010
@@ -84,21 +84,6 @@
 						</goals>
 					</execution>
 					<execution>
-						<id>initialize-orm</id>
-						<phase>generate-test-resources</phase>
-						<configuration>
-							<tasks>
-								<mkdir dir="src/main/resources/META-INF" />
-								<copy file="src/main/resources/juddi-orm.xml"
-									  tofile="src/main/resources/META-INF/orm.xml"
-									  overwrite="true"/>
-							</tasks>
-						</configuration>
-						<goals>
-							<goal>run</goal>
-						</goals>
-					</execution>
-					<execution>
 						<id>remove-meta-inf</id>
 						<phase>deploy</phase>
 						<configuration>
@@ -178,7 +163,7 @@
 			<version>2.3</version>
 		</dependency>
 		<dependency> 
-        <!--  not sure why maven does not figure this out by itself -->
+        		<!--  not sure why maven does not figure this out by itself -->
 			<groupId>commons-collections</groupId>
 			<artifactId>commons-collections</artifactId>
 			<version>3.2.1</version>
@@ -272,7 +257,29 @@
 							</componentProperties>
 						</configuration>
 					</plugin>
-				</plugins>
+					<plugin>
+                                		<groupId>org.apache.maven.plugins</groupId>
+                                		<artifactId>maven-antrun-plugin</artifactId>
+                                		<version>1.3</version>
+                                		<executions>
+	                                        <execution>
+                                                <id>init-orm</id>
+                                                <phase>generate-resources</phase>
+                                                <configuration>
+                                                        <tasks>
+                                                                <mkdir dir="src/main/resources/META-INF" />
+                                                                <copy file="src/main/resources/juddi-orm.xml"
+                                                                          tofile="src/main/resources/META-INF/orm.xml"
+                                                                          overwrite="true"/>
+                                                        </tasks>
+                                                </configuration>
+                                                <goals>
+                                                        <goal>run</goal>
+                                                </goals>
+                                        	</execution>
+						</executions>
+				</plugin>
+				</plugins>	
 				<pluginManagement>
 					<plugins>
 						<plugin>



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