Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

Version 1 Current »

 The plugin is configured in a Maven module POM as follows:

<project ...>
    <groupId>org.codehaus.fabric3.samples</groupId>
    <artifactId>fabric3-sample</artifactId>
    <name>Fabric3 Sample Module</name>
    <description>Demonstrates use of the Contribution Plugin</description>
    <packaging>sca-contribution-jar</packaging>

    ...
    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.fabric3</groupId>
                <artifactId>fabric3-contribution-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
</project>

When the build is executed, the contribution plugin will package all module dependencies that are not provided or test scope in the output archive under {{META-INF/lib}}.  The packaging type can either be a JAR (sca-contribution-jar) or the default, ZIP.