[
http://jira.codehaus.org/browse/MPLUGIN-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MPLUGIN-146.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.6
Assignee: Benjamin Bentmann
Added a {{skipDescriptor}} parameter in
[r940010|http://svn.apache.org/viewvc?view=revision&revision=940010] that
enables the use of {{src/main/resources/META-INF/maven/plugin.xml}} for the
hand authored descriptor.
> Implement pluginXml parameter for maven-plugin-plugin
> -----------------------------------------------------
>
> Key: MPLUGIN-146
> URL: http://jira.codehaus.org/browse/MPLUGIN-146
> Project: Maven 2.x Plugin Tools
> Issue Type: New Feature
> Components: Plugin Plugin
> Affects Versions: 2.5
> Reporter: John Casey
> Assignee: Benjamin Bentmann
> Priority: Critical
> Fix For: 2.6
>
>
> This is admittedly an edge case, but we have had it come up before...
> QDox doesn't store annotation information in binaries, which means that mojos
> inheriting from another mojo in a different plugin have no way to express the
> mojo parameters inherited from the parent class. The plugin.xml files are not
> merged in any way. This leaves hand-authoring plugin.xml files as the only
> option for such cases.
> Since we've just changed the behavior of the plugin-plugin in MPLUGIN-106 to
> throw an exception if no mojos are detected (as opposed to simply printing a
> warning), this last-ditch option is no longer available for users.
> We should provide a new parameter in the plugin-plugin called something like
> 'pluginXml' which simply circumvents all mojo detection logic and instead
> uses the supplied file as the plugin descriptor. This is sort of a nuclear
> option, but it allows advanced plugin developers the flexibility to extend
> other plugins, or basically do whatever they need to do. Testing is up to the
> developer when they take this option, of course, to ensure that the defined
> mojos can actually be loaded and used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira