Goals available for this plugin:
| Goal | Description |
|---|---|
| nexusbundle:check-dependencies | Check that any 'nexus-plugin' dependencies are specified with 'provided' scope. |
| nexusbundle:create-bundle | Create a plugin bundle artifact attach it to the plugins project. |
| nexusbundle:generate-metadata | Generates a plugins plugin.xml descriptor file based
on the project's POM and class annotations. |
| nexusbundle:help | Display help information on nexus-plugin-bundle-maven-plugin. Call mvn nexus-plugin-bundle:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0 |
| JDK | 1.5 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project>
...
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.sonatype.nexus</groupId>
<artifactId>nexus-plugin-bundle-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.sonatype.nexus</groupId>
<artifactId>nexus-plugin-bundle-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"