You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2011/02/25 17:40:23 UTC

[jira] Updated: (MNG-5013) Allow to condense configuration of plugin parameter beans that commonly require only one value

     [ http://jira.codehaus.org/browse/MNG-5013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-5013:
-----------------------------------

    Summary: Allow to condense configuration of plugin parameter beans that commonly require only one value  (was: Allow to condense configuation of plugin parameter beans that commonly require only one value)

> Allow to condense configuration of plugin parameter beans that commonly require only one value
> ----------------------------------------------------------------------------------------------
>
>                 Key: MNG-5013
>                 URL: http://jira.codehaus.org/browse/MNG-5013
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Plugins and Lifecycle, POM
>    Affects Versions: 3.0.2
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 3.0.3
>
>
> Let's take this example configuration snippet:
> {code:xml}
> <resources>
>   <resource>
>     <directory>src/foo</directory>
>     <filtering>true</filtering>
>   </resource>
>   <resource>src/bar</resource>
> </resources>
> {code}
> Apparently, the last {{<resource>}} element is meant as a shorthand form for {{<resource><directory>src/bar</directory></resource>}}.
> Not only does support for this notation save users a few bits of (sometimes hated) XML but it also provides plugin authors with a smooth upgrade path say when a parameter was initially typed as {{File[]}} but later needs to be extended into {{Bean[]}}.

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