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 a project's main instance.
jomc:show-main-modelDisplays a project's main model.
jomc:show-main-specificationDisplays a project's main specification.
jomc:show-test-instanceDisplays a project's test instance.
jomc:show-test-modelDisplays a project's test model.
jomc:show-test-specificationDisplays a project's test specification.
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.4</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.4</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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