Plugin Documentation

Goals available for this plugin:

GoalReport?Description
jdtaus-container-mojo:clean-sourcesNoMojo to cleanup source files (e.g. remove trailing spaces).
jdtaus-container-mojo:helpNoDisplay help information on jdtaus-container-mojo.
Call
  mvn jdtaus-container-mojo:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.
jdtaus-container-mojo:java-commitNoMojo to commit container meta-data to compiled java classes.
jdtaus-container-mojo:java-commit-testsNoMojo to commit container meta-data to compiled java test classes.
jdtaus-container-mojo:java-containerNoMojo to generate java code.
jdtaus-container-mojo:java-container-testsNoMojo to generate test java code.
jdtaus-container-mojo:reportYesGenerates a report for the artifact's container metadata.
jdtaus-container-mojo:spring-descriptorNoMojo to generate a spring beans descriptor with corresponding support classes from a project.
jdtaus-container-mojo:verify-jarNoMojo to validate a set of modules from a single jar file.
jdtaus-container-mojo:verify-modelNoMojo to validate set of modules.

System Requirements

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

Maven2.0
JDKDefault target for maven-compiler-plugin version 2.5.1
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>org.jdtaus.mojo</groupId>
          <artifactId>jdtaus-container-mojo</artifactId>
          <version>3.13</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.jdtaus.mojo</groupId>
        <artifactId>jdtaus-container-mojo</artifactId>
        <version>3.13</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
  <!-- To use the report goals in your POM or parent POM -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.jdtaus.mojo</groupId>
        <artifactId>jdtaus-container-mojo</artifactId>
        <version>3.13</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>

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