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/03/03 13:30:22 UTC
[jira] Created: (MNG-5033) Allow to inline collection/array items
within plugin configuration
Allow to inline collection/array items within plugin configuration
------------------------------------------------------------------
Key: MNG-5033
URL: http://jira.codehaus.org/browse/MNG-5033
Project: Maven 2 & 3
Issue Type: Improvement
Components: Plugins and Lifecycle
Reporter: Benjamin Bentmann
Priority: Minor
The need to wrap collection/array elements into a container element is occasionally frustrating to users (XML verbosity). Within plugin configuration, this can be achieved without a new model format, e.g.
{code:xml
<fileset>
<directory>src/demo</directory>
<include>Foo*</include>
<include>Bar*</include>
<exclude>*Bad</exclude>
</fileset>
{code}
--
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
[jira] Updated: (MNG-5033) Allow to inline collection/array items
within plugin configuration
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-5033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MNG-5033:
-----------------------------------
Description:
The need to wrap collection/array elements into a container element is occasionally frustrating to users (XML verbosity). Within plugin configuration, this can be achieved without a new model format, e.g.
{code:xml}
<fileset>
<directory>src/demo</directory>
<include>Foo*</include>
<include>Bar*</include>
<exclude>*Bad</exclude>
</fileset>
{code}
was:
The need to wrap collection/array elements into a container element is occasionally frustrating to users (XML verbosity). Within plugin configuration, this can be achieved without a new model format, e.g.
{code:xml
<fileset>
<directory>src/demo</directory>
<include>Foo*</include>
<include>Bar*</include>
<exclude>*Bad</exclude>
</fileset>
{code}
> Allow to inline collection/array items within plugin configuration
> ------------------------------------------------------------------
>
> Key: MNG-5033
> URL: http://jira.codehaus.org/browse/MNG-5033
> Project: Maven 2 & 3
> Issue Type: Improvement
> Components: Plugins and Lifecycle
> Reporter: Benjamin Bentmann
> Priority: Minor
>
> The need to wrap collection/array elements into a container element is occasionally frustrating to users (XML verbosity). Within plugin configuration, this can be achieved without a new model format, e.g.
> {code:xml}
> <fileset>
> <directory>src/demo</directory>
> <include>Foo*</include>
> <include>Bar*</include>
> <exclude>*Bad</exclude>
> </fileset>
> {code}
--
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
[jira] Closed: (MNG-5033) Allow to inline collection/array items
within plugin configuration
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-5033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-5033.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.0.3
Assignee: Benjamin Bentmann
Done in [r1070102|http://svn.apache.org/viewvc?view=revision&revision=1070102]. Plugin authors that wish to enable this kind of configuration can equip their parameter beans with an adder like this:
{code:java}
public class Fileset
{
private List<String> includes = new ArrayList<String>();
public void addInclude( String include )
{
includes.add( include );
}
...
}
{code}
> Allow to inline collection/array items within plugin configuration
> ------------------------------------------------------------------
>
> Key: MNG-5033
> URL: http://jira.codehaus.org/browse/MNG-5033
> Project: Maven 2 & 3
> Issue Type: Improvement
> Components: Plugins and Lifecycle
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Priority: Minor
> Fix For: 3.0.3
>
>
> The need to wrap collection/array elements into a container element is occasionally frustrating to users (XML verbosity). Within plugin configuration, this can be achieved without a new model format, e.g.
> {code:xml}
> <fileset>
> <directory>src/demo</directory>
> <include>Foo*</include>
> <include>Bar*</include>
> <exclude>*Bad</exclude>
> </fileset>
> {code}
--
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