summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-04-01 12:13:44 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-04-01 12:13:44 +0000
commitae0c219cd5059d630535ba09811fb64c2b179749 (patch)
treef9082fadaa10b47c8b4627041cb2bbba701b1a91 /sca-java-2.x/trunk
parentd7d3418a0b6615ab40c84b3174221b6ef33121e0 (diff)
Update the helloworld webapp sample to support using 'mvn tuscany:run' to run the webapp
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1087676 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/pom.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/pom.xml b/sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/pom.xml
index af6f446ce5..a804b3f0a3 100644
--- a/sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/pom.xml
+++ b/sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/pom.xml
@@ -80,7 +80,7 @@
<artifactItems>
<artifactItem>
<groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>helloworld-contribution</artifactId>
+ <artifactId>helloworld</artifactId>
<version>${project.version}</version>
<!-- should really go in the target folder but i can't get jetty:run or tomcat:run to work using that -->
<outputDirectory>src/main/webapp/WEB-INF/sca-contributions</outputDirectory>
@@ -91,6 +91,13 @@
</executions>
</plugin>
+ <!-- to support running thw webapp with mvn tuscany:run -->
+ <plugin>
+ <groupId>org.apache.tuscany.maven.plugins</groupId>
+ <artifactId>maven-tuscany-plugin</artifactId>
+ <version>${tuscany.version}</version>
+ </plugin>
+
<!-- to support using mvn jetty:run and also to run the webapp for the integration test -->
<plugin>
<groupId>org.mortbay.jetty</groupId>