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
This commit is contained in:
parent
262a67fcb2
commit
af3499c1fe
1 changed files with 18 additions and 0 deletions
18
sca-java-2.x/trunk/samples/launcher-maven/README
Normal file
18
sca-java-2.x/trunk/samples/launcher-maven/README
Normal file
|
@ -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.
|
Loading…
Add table
Reference in a new issue