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 2011/04/01 14:13:44 UTC
svn commit: r1087676 -
/tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/pom.xml
Author: antelder
Date: Fri Apr 1 12:13:44 2011
New Revision: 1087676
URL: http://svn.apache.org/viewvc?rev=1087676&view=rev
Log:
Update the helloworld webapp sample to support using 'mvn tuscany:run' to run the webapp
Modified:
tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/pom.xml
Modified: tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/pom.xml?rev=1087676&r1=1087675&r2=1087676&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/pom.xml (original)
+++ tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/pom.xml Fri Apr 1 12:13:44 2011
@@ -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>