Exceptions thrown by org.apache.maven.shared.jar.JarAnalyzer constructor should 
include pathname of the offending file
----------------------------------------------------------------------------------------------------------------------

                 Key: MNG-4336
                 URL: http://jira.codehaus.org/browse/MNG-4336
             Project: Maven 2
          Issue Type: Improvement
            Reporter: Rafal Krzewski
         Attachments: maven-shared-jar_exception_message.patch

A corrupted jar file in the repository, or an attempt to use classes directory 
in place of a jar during a build is tricky do diagnose, because the exception 
message does not reveal which file could not been opened.

The attached patch includes the pathname in the exception message.
JarAnalyzerTest was enhanced accordingly.

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