summaryrefslogtreecommitdiffstats
path: root/maven-plugins/trunk/maven-tuscany-plugin/RELEASE_NOTES
blob: edd8d5f17107b7e289426e157ba1a4498df67154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Apache Tuscany Maven Tuscany Plugin 2.0-M4 Release Notes
========================================================

Initial release

This module is a Maven plugin that enables starting a Tuscany runtime
to run SCA contributions.

There are several ways it can be used:

- you can start a Tuscany runtime running an SCA contribution with "mvn tuscany:run" if you 
  include the Tuscany plugin in the contributions Maven project plugins definition, eg:

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

- if you have an SCA contribution file and Maven installed but no Tuscany distribution installed
  then you can run the contribution by using the following command which will automatically
  download the Tuscany jars and their dependencies:
   
  mvn org.apache.tuscany.maven.plugins:maven-tuscany-plugin:launch -Dcontributions=<filePathToTheContributionFile>

With both of those you can set the domain name used by setting the "domain" system property, for example, the following
will enable the Tribes distributed domain support and start an SCA domain named "myDomain":

  mvn tuscany:run -Ddomain=tribes:myDomain   

If you don't already have the Tuscany modules installed in your local Maven repository they will be downloaded from the
remote repository, on subsequent runs you can use the mvn -o option to disable access to the remote repositories.