You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/06/13 04:46:12 UTC
[jira] Updated: (MNG-3544) Beautify debug output for mojo
parameters of type array
[ http://jira.codehaus.org/browse/MNG-3544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3544:
------------------------------
Fix Version/s: 2.0.x
> 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
> Priority: Trivial
> Fix For: 2.0.x
>
> 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