Plugin Documentation

Goals available for this plugin:

GoalDescription
jomc:attach-main-moduleAttaches a project's main module artifact.
jomc:attach-test-moduleAttaches a project's test module artifact.
jomc:commit-main-classesCommits model objects to a projects' main classes.
jomc:commit-test-classesCommits model objects to a projects' test classes.
jomc:helpDisplay help information on maven-jomc-plugin.
Call
  mvn jomc:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.
jomc:manage-main-sourcesManages a projects' main source files.
jomc:manage-test-sourcesManages a projects' test source files.
jomc:show-main-instanceDisplays an instance from the project's main model.
jomc:show-main-modelDisplays a project's main model.
jomc:show-main-moduleDisplays a module from the project's main model.
jomc:show-main-specificationDisplays a specification from the project's main model.
jomc:show-test-instanceDisplays an instance from the project's test model.
jomc:show-test-modelDisplays a project's test model.
jomc:show-test-moduleDisplays a module from the project's test model.
jomc:show-test-specificationDisplays a specification from the project's test model.
jomc:validate-main-classesValidates a projects' main class file model objects.
jomc:validate-main-classpathValidates a projects' main classpath class file model objects.
jomc:validate-main-modelValidates a project's main model.
jomc:validate-test-classesValidates a projects' test class file model objects.
jomc:validate-test-classpathValidates a projects' test class path class file model objects.
jomc:validate-test-modelValidates a project's test model.
jomc:write-main-resourcesWrites a projects' main resource files.
jomc:write-test-resourcesWrites a projects' test resource files.

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.jomc</groupId>
          <artifactId>maven-jomc-plugin</artifactId>
          <version>1.6</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.jomc</groupId>
        <artifactId>maven-jomc-plugin</artifactId>
        <version>1.6</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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