You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2012/07/03 23:04:22 UTC

[jira] (MRESOURCES-83) Improved diagnostics on failures

     [ https://jira.codehaus.org/browse/MRESOURCES-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MRESOURCES-83:
-----------------------------------

    Fix Version/s:     (was: 2.6)
                   backlog
    
> Improved diagnostics on failures
> --------------------------------
>
>                 Key: MRESOURCES-83
>                 URL: https://jira.codehaus.org/browse/MRESOURCES-83
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.3
>         Environment: Maven 2.0.9, AIX, IBM JVM 1.5.x
>            Reporter: Dave Meibusch
>             Fix For: backlog
>
>
> Background: 
> The JVM and class libraries are not forgiving if you attempt to filter a resource with an incorrect encoding.
> For example, if a file contains an invalid UTF-8 character sun.io.ByteToCharUTF8 throws a MalformedInputException.
> The resource plugin in this scenario reports (in trace with mvn -X) "Error copying resource", but with no indication which file or even which set of resources in the project caused the error.
> With very large number of resources (in my case, several thousand files), it is challenging to find the corrupted/incorrectly encoded file.
> Suggested improvement is more contextual information in the debug output.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira