summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/pom.xml
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-04-05 08:13:57 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-04-05 08:13:57 +0000
commit76552f540d637885361f740395fe8bcc6ac22186 (patch)
tree5858b7c2432a452ea913e029d82b3d37baaa1a8c /sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/pom.xml
parent8c25960e7cf1786b083eb8463d839b24b5c21be6 (diff)
Tidy up readme, doc all the ways of running it, tidy up dependencies
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1088920 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/pom.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/pom.xml b/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/pom.xml
index f10cb6d343..2a7a452777 100644
--- a/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/pom.xml
+++ b/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/pom.xml
@@ -57,12 +57,15 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
<version>${tuscany.version}</version>
+ <scope>test</scope>
</dependency>
+ <!-- this is for the Tuscany distributed domain support -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-hazelcast</artifactId>
<version>${tuscany.version}</version>
+ <scope>test</scope>
</dependency>
</dependencies>
@@ -70,6 +73,18 @@
<build>
<plugins>
+
+ <!-- to support running the application with mvn tuscany:run -->
+ <plugin>
+ <groupId>org.apache.tuscany.maven.plugins</groupId>
+ <artifactId>maven-tuscany-plugin</artifactId>
+ <version>${tuscany.version}</version>
+ <configuration>
+ <mainClass>sample.HelloworldSCAClient</mainClass>
+ </configuration>
+ </plugin>
+
+ <!-- to support running the application with mvn exec:java -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
@@ -83,8 +98,10 @@
</executions>
<configuration>
<mainClass>sample.HelloworldSCAClient</mainClass>
+ <classpathScope>test</classpathScope>
</configuration>
- </plugin>
+ </plugin>
+
</plugins>
</build>
</project>