Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<project ...>
    <groupId>org<groupId>.codehaus.fabric3.samples<</groupId>
    <artifactId>fabric3-sample<<artifactId>...</artifactId>
    <name>Fabric3 Sample<name>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.