summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-05-27 11:49:01 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-05-27 11:49:01 +0000
commitaf3499c1fe029758c8a1adc38ce1e47ad4b35b24 (patch)
tree78792ddf845522a011d9bce721cc07720cb4dc59 /sca-java-2.x/trunk
parent262a67fcb20cacb91fa70a15745100ac0854f15b (diff)
Add launcher that explains how to start contributions using Maven
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@948792 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/samples/launcher-maven/README18
1 files changed, 18 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/launcher-maven/README b/sca-java-2.x/trunk/samples/launcher-maven/README
new file mode 100644
index 0000000000..ff976c3515
--- /dev/null
+++ b/sca-java-2.x/trunk/samples/launcher-maven/README
@@ -0,0 +1,18 @@
+To execute a sample contribution from Maven
+
+look for contributions that have the following configuration in their pom.xml file:
+
+<plugin>
+ <groupId>org.apache.tuscany.maven.plugins</groupId>
+ <artifactId>maven-tuscany-plugin</artifactId>
+ <version>2.0-SNAPSHOT</version>
+</plugin>
+
+For contributions that have this, for example, binding-sca/contribution-calculator, do the following
+
+cd samples/binding-sca/contribution-calculator
+mvn tuscany:run
+
+This will launch the contribution in the Tuscany runtime and then wait. At this point you can use
+other clients to send messages to services that the running SCA applcation exposes,
+for example, try calculator-scaclient.