summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/wrapped/samples/running-tuscany/maven/README
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/sebastien/java/wrapped/samples/running-tuscany/maven/README')
-rw-r--r--sandbox/sebastien/java/wrapped/samples/running-tuscany/maven/README18
1 files changed, 18 insertions, 0 deletions
diff --git a/sandbox/sebastien/java/wrapped/samples/running-tuscany/maven/README b/sandbox/sebastien/java/wrapped/samples/running-tuscany/maven/README
new file mode 100644
index 0000000000..ff976c3515
--- /dev/null
+++ b/sandbox/sebastien/java/wrapped/samples/running-tuscany/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.