You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2010/05/27 13:49:01 UTC

svn commit: r948792 - in /tuscany/sca-java-2.x/trunk/samples/launcher-maven: ./ README

Author: slaws
Date: Thu May 27 11:49:01 2010
New Revision: 948792

URL: http://svn.apache.org/viewvc?rev=948792&view=rev
Log:
Add launcher that explains how to start contributions using Maven

Added:
    tuscany/sca-java-2.x/trunk/samples/launcher-maven/
    tuscany/sca-java-2.x/trunk/samples/launcher-maven/README

Added: tuscany/sca-java-2.x/trunk/samples/launcher-maven/README
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/launcher-maven/README?rev=948792&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/launcher-maven/README (added)
+++ tuscany/sca-java-2.x/trunk/samples/launcher-maven/README Thu May 27 11:49:01 2010
@@ -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.