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

Benjamin Bentmann closed MNG-3544.
----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s:     (was: 2.0.x)
                   3.0-alpha-1
                   2.1.0-M2
                   2.0.11

Fixed in [r720042|http://svn.eu.apache.org/viewvc?view=rev&revision=720042], 
[r720043|http://svn.eu.apache.org/viewvc?view=rev&revision=720043] and 
[r720045|http://svn.eu.apache.org/viewvc?view=rev&revision=720045].

> Beautify debug output for mojo parameters of type array
> -------------------------------------------------------
>
>                 Key: MNG-3544
>                 URL: http://jira.codehaus.org/browse/MNG-3544
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Logging
>    Affects Versions: 2.0.9
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>            Priority: Trivial
>             Fix For: 2.0.11, 2.1.0-M2, 3.0-alpha-1
>
>         Attachments: debug-mojo-array-params.patch
>
>
> Currently:
> {noformat}
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-jar-plugin:2.2:jar' 
> -->
> [DEBUG]   (f) excludes = [Ljava.lang.String;@c3c315
> [DEBUG] -- end configuration --
> {noformat}
> i.e. arrays won't show up nicely.
> The attached patch returns a string similar to the result of
> {code:java}
>   Arrays.asList( (Object[]) value ).toString()
> {code}
> but uses reflection to handle arrays of primitives as well.

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

        

Reply via email to