Usage

The tuscany-composite-plugin can be used to package and integration-test an SCA composite. It is associated with artifacts with a type of composite and is activated by including it in the build section of your pom:

    <packaging>composite</packaging>
    ...
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.tuscany</groupId>
                <artifactId>tuscany-composite-plugin</artifactId>
                <extensions>true</extensions>
            </plugin>
        </plugins>
    </build>

The build lifecycle for the project is the same as for normal Java jar artifacts with default support for compiling Java code, processing resources, building and running unit tests. The plugin also associates the tuscany-itest-plugin with the integration-test phase of the build for testing the composite itself.