Goals available for this plugin:
| Goal | Description |
|---|---|
| warpath:add-classes | Allows war artifacts to be used as fully fledged dependencies by including the WEB-INF/classes directory on the compile classpath. It does this by creating a "fake" dependency on the project that points to the jar'ed contents of the WEB-INF/classes directory of any war file included on the project as a dependency of type warpath. The introduced dependency has scope system to prevent it being included in war files. |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.2.1 |
| 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.appfuse.plugins</groupId>
<artifactId>maven-warpath-plugin</artifactId>
<version>2.1.0-M2-SNAPSHOT</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.appfuse.plugins</groupId>
<artifactId>maven-warpath-plugin</artifactId>
<version>2.1.0-M2-SNAPSHOT</version>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"