summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/branches/2.0/maven/tuscany-maven-plugin/README
blob: c9c7c0ec85802180fd83d3595abfee9089e9649e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This module is a Maven plugin for starting a Tuscany runtime which runs the project as an SCA contribution.

To configure the project add the following to the SCA contribution's pom.xml:

   <build>
      ...
      <plugins>
         <plugin>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-maven-plugin</artifactId>
         </plugin>
      ...
      </plugins>
   </build>

To run the contribution in Tuscany use "mvn tuscany:run"

Optional parameters are:
  config - uri string to configure the Tuscany runtime
  contributions - additional SCA contributions to install along with the project contribution