summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-06-10 14:55:26 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-06-10 14:55:26 +0000
commit938ee6d0ae47b2b0a20bac0bf921e145da7e0166 (patch)
treebd25fe396879b5d9e56be682a715de5ca519ffda
parent5c912253c2c8cf6dda79c4b3ee2cb676236e38e6 (diff)
Update jetty plugin config so that 'mvn jetty:run' works with tuscany bpel
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@783382 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/sca/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/sca/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml b/java/sca/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml
index f8fba3c68e..51e0bff1fc 100644
--- a/java/sca/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml
+++ b/java/sca/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml
@@ -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>