Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

GoalDescription
swid:generateA mojo that generates a SWID tag from a given POM.
swid:helpDisplay help information on swid-maven-plugin.
Call mvn swid:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven3.0.4
JDK1.6
MemoryNo minimum requirement.
Disk SpaceNo minimum requirement.

Usage

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>com.labs64.mojo</groupId>
          <artifactId>swid-maven-plugin</artifactId>
          <version>0.1.0</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>com.labs64.mojo</groupId>
        <artifactId>swid-maven-plugin</artifactId>
        <version>0.1.0</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"