jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x Resources Plugin
  • Maven 2.x Resources Plugin
  • MRESOURCES-83

Improved diagnostics on failures

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.3
  • Fix Version/s: backlog
  • Component/s: None
  • Labels:
    None
  • Environment:
    Maven 2.0.9, AIX, IBM JVM 1.5.x
  • Number of attachments :
    0

Description

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.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
No work has yet been logged on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Dave Meibusch
Vote (0)
Watch (1)

Dates

  • Created:
    21/Jan/09 10:01 PM
    Updated:
    03/Jul/12 4:03 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.