Goals available for this plugin:
| Goal | Description |
|---|---|
| jboss-retro:retro-check | Mojo for running the retro check test. NOTE: The retro check functionality is meant to be used with the jdk1.5 to 1.4 conversion. Other types of class weaving do not need to use this mojo. This mojo should be run using a java1.4 jvm, which can be set using the jvm configuration parameter. |
| jboss-retro:weave | Maven plugin for JBoss Retro Weaver. This can be used to do byte code weaving on classes in jars and directories. By default the weaver will weave the main classes and output the result to a jar with the specified classifier. |
| jboss-retro:weave-dependencies | This Mojo can be used to weave project dependencies. |
| jboss-retro:weave-tests | Maven plugin for JBoss Retro Weaver. This mojo is set up to weave the test classes and optionally generate a jar of the weaved classes. |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0 |
| JDK | 1.5 |
| 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.jboss.maven.plugins</groupId>
<artifactId>maven-jboss-retro-plugin</artifactId>
<version>1.0-beta-3</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jboss-retro-plugin</artifactId>
<version>1.0-beta-3</version>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"