You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2009/06/10 16:55:26 UTC

svn commit: r783382 - /tuscany/java/sca/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml

Author: antelder
Date: Wed Jun 10 14:55:26 2009
New Revision: 783382

URL: http://svn.apache.org/viewvc?rev=783382&view=rev
Log:
Update jetty plugin config so that 'mvn jetty:run' works with tuscany bpel

Modified:
    tuscany/java/sca/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml

Modified: tuscany/java/sca/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/java/sca/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml?rev=783382&r1=783381&r2=783382&view=diff
==============================================================================
--- tuscany/java/sca/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml (original)
+++ tuscany/java/sca/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml Wed Jun 10 14:55:26 2009
@@ -151,6 +151,18 @@
 			<plugin>
 				<groupId>org.mortbay.jetty</groupId>
 				<artifactId>maven-jetty-plugin</artifactId>
+                        <configuration>
+                           <systemProperties>
+                              <systemProperty>
+                                 <!-- this property is needed to avoid a problem in openjpa -->
+                                 <name>openjpa.QueryCompilationCache</name>
+                                 <value>false</value>
+                              </systemProperty>
+                           </systemProperties>
+                           <!-- need to override the src dir so src/main/resources are also included -->
+                           <webAppSourceDirectory>${basedir}/src/main</webAppSourceDirectory>
+                           <webXml>${basedir}/src/main/webapp/WEB-INF/web.xml</webXml>
+                        </configuration>
 			</plugin>
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>