summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/embed/maven/maven-tuscany-plugin/README
blob: 8754eeae6e7ee18e92916df92489d9a45b97c873 (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.maven.plugins</groupId>
            <artifactId>maven-tuscany-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