Versions Compared

Key

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

...

For Maven users, Fabric3 includes a contribution plugin that automates the process of embedding third-party libraries in a contribution. This plugin allows projects to specify a set of Maven modules which will be included in the META-INF/lib directory. The plugin automatically calculates and includes transitive dependencies as well. To use the contribution plugin, set the POM packaging element to sca-contribution-jar and add the plugin to the POM plugins section:

Code Block
xml
xml
   <build>
      <plugins>
  
      <plugin>

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

Contribution Imports and Exports

...