You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/02 15:45:19 UTC
[jira] (MNG-1353) Allow creating POJO config classes anywhere
without requiring the plugin user to specify an implementation element
[ https://jira.codehaus.org/browse/MNG-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated MNG-1353:
-------------------------------
Fix Version/s: (was: Issues to be reviewed for 3.x)
> Allow creating POJO config classes anywhere without requiring the plugin user to specify an implementation element
> ------------------------------------------------------------------------------------------------------------------
>
> Key: MNG-1353
> URL: https://jira.codehaus.org/browse/MNG-1353
> Project: Maven
> Issue Type: Task
> Components: Plugins and Lifecycle
> Affects Versions: 2.0
> Reporter: Vincent Massol
> Assignee: Jason van Zyl
>
> This is really important for several reasons:
> * I don't like to clutter my main plugin package with POJO classes. For the Cargo m2 plugin I have 7-8 POJO classes and I'd like to move them to a different package
> * I need to reuse existing POJOs from another jar and it's just too stupid to have to duplicate all the code or write wrapper classes with only getter/setters.
> I think the best solution would be to accept @implementation javadoc tags that would map a parameter to an implementation. This would need to work not only for Mojo classes but also for POJO classes being used for configuration.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)