Goals available for this plugin:
Goal | Description |
---|---|
jomc:attach-main-module | Attaches a project's main module artifact. |
jomc:attach-test-module | Attaches a project's test module artifact. |
jomc:commit-main-classes | Commits model objects to a projects' main classes. |
jomc:commit-test-classes | Commits model objects to a projects' test classes. |
jomc:help | Display help information on maven-jomc-plugin. Call mvn jomc:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. |
jomc:manage-main-sources | Manages a projects' main source files. |
jomc:manage-test-sources | Manages a projects' test source files. |
jomc:show-main-instance | Displays an instance from the project's main model. |
jomc:show-main-model | Displays a project's main model. |
jomc:show-main-module | Displays a module from the project's main model. |
jomc:show-main-specification | Displays a specification from the project's main model. |
jomc:show-test-instance | Displays an instance from the project's test model. |
jomc:show-test-model | Displays a project's test model. |
jomc:show-test-module | Displays a module from the project's test model. |
jomc:show-test-specification | Displays a specification from the project's test model. |
jomc:validate-main-classes | Validates a projects' main class file model objects. |
jomc:validate-main-classpath | Validates a projects' main classpath class file model objects. |
jomc:validate-main-model | Validates a project's main model. |
jomc:validate-test-classes | Validates a projects' test class file model objects. |
jomc:validate-test-classpath | Validates a projects' test class path class file model objects. |
jomc:validate-test-model | Validates a project's test model. |
jomc:write-main-resources | Writes a projects' main resource files. |
jomc:write-test-resources | Writes a projects' test resource files. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | Default target for maven-compiler-plugin version 2.5.1 |
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.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"