You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marvin Froeder (JIRA)" <ji...@codehaus.org> on 2008/06/27 14:25:26 UTC

[jira] Commented: (MNG-1567) improvements to complex mojo configuration

    [ http://jira.codehaus.org/browse/MNG-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139795#action_139795 ] 

Marvin Froeder commented on MNG-1567:
-------------------------------------

Will be cool if complex parameters use xstream to parse....
http://xstream.codehaus.org/

With this, is easy to parse any XML to any object.


VELO

> improvements to complex mojo configuration
> ------------------------------------------
>
>                 Key: MNG-1567
>                 URL: http://jira.codehaus.org/browse/MNG-1567
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Plugins and Lifecycle
>            Reporter: Brett Porter
>             Fix For: 2.x
>
>
> currently, you can specify an object in the configuration that allows nesting multiple levels of config. This is helpful, but it would be good to be able to validate those portions of the configuration as well as set default values, and make them extendable by making them fully fledged configured component requirements.
> basically:
> - be able to specify expressions and default values within the fields of the object, not just the top mojo, as long as it is in the same source tree as the mojo (like extends)
> - to be able to put a polymorphic object in there without an implementation given in the pom. This might require selectors, and so might be best left until a later version (se elinked issue for a use case)
> I haven't tried, but it might already be possible to do this (from components.xml), and we just need to wire up the tools to handle it.

-- 
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