Tinguaro Barreno created MPLUGIN-222:
----------------------------------------
Summary: 'Since' information is not shown on generated site (ANT
Mojos)
Key: MPLUGIN-222
URL: https://jira.codehaus.org/browse/MPLUGIN-222
Project: Maven 2.x Plugin Tools
Issue Type: Bug
Components: Metadata Model
Affects Versions: 3.1, 3.0, 2.9, 2.8, 2.7, 2.6, 2.5.1
Environment: Any.
Reporter: Tinguaro Barreno
Priority: Minor
Attachments: fix-since-samples-v2.zip, fix-since-samples-v3.zip,
maven-plugin-tools.patch
Hi,
The plugin site for an ANT Mojo doesn't shows the 'since' information for goals
and parameters.
The problem seems to be in the 'PluginMetadataParser.java'; this class gets the
Mojo data object and convert it to a MojoDescriptor. Just two lines are enough
to pass the 'since' data to the descriptor (and then, include it on the site).
I attach the patch and two tests cases for Maven 2.2.1 and Maven 3.0. I've test
the patch with maven-plugin-plugin v2.5.1, v2.9 and 3.1.
Best wishes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira