Make easier to pass parameters into MojoDescriptorExtractors
------------------------------------------------------------
Key: MPLUGIN-110
URL: http://jira.codehaus.org/browse/MPLUGIN-110
Project: Maven 2.x Plugin Tools
Issue Type: Task
Components: API
Affects Versions: 2.1
Reporter: Benjamin Bentmann
Both MPLUGIN-15 and MPLUGIN-101 require breaking changes to the
{{MojoDescriptorExtractor}} interface in order to push down configuration from
the Plugin Plugin into the extractors. Further enhancements might need more
parameters, too, this does not scale.
We should move all method parameters into some bean such that the {{execute()}}
methods reduces to:
{code:java}
List execute( MojoDescriptorExtractorRequest request )
{code}
This way, future additions to the bean will not break existing implementors of
the interface.
--
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