John Casey
Thu, 26 Feb 2009 18:24:57 -0800
These libraries are used to generate plugin descriptors, documentation, and the implicit help mojo (as in: 'mvn installer:help').
http://maven.apache.org/plugin-tools http://maven.apache.org/plugins/maven-plugin-plugin You should specify the version in your project's plugin configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>2.5</version> </plugin>If you're creating a plugin that uses Ant-based mojos, you should also include the Ant tools library:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>2.5</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-ant</artifactId>
<version>2.5</version>
</dependency>
</dependencies>
</plugin>
Release Notes - Maven 2.x Plugin Tools - Version 2.5
** Bug
* [MPLUGIN-106] - remove no mojo deprecation warning and throw an
exception
* [MPLUGIN-109] - Misleading warning when creating a Maven plugin
defining a custom packaging
* [MPLUGIN-135] - Deprecated info in parameter table of goal page
contains garbage
* [MPLUGIN-136] - maven-plugin-tools-api requires relative script
root paths
* [MPLUGIN-137] - PluginDescriptorGenerator doesn't write plugin name
* [MPLUGIN-140] - Plugin report states wrong JDK requirement
** Improvement
* [MPLUGIN-100] - Allow customization of file encoding used for
generated help goal
* [MPLUGIN-101] - Allow customization of file encoding used for
mojo extraction
* [MPLUGIN-111] - Warn about usage of platform encoding
* [MPLUGIN-138] - Suppress bogus warning in case goalPrefix has
been set to default goal prefix
* [MPLUGIN-141] - Output warning for deprecated component expressions
* [MPLUGIN-145] - Improve Ant-Mojo support to provide parity with
antrun plugin
** Task* [MPLUGIN-110] - Make easier to pass parameters into MojoDescriptorExtractors
Enjoy, -The Maven team