Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-128

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: maven-shared-jar
    • Labels:
      None
    • Flags:
      Patch

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                olamy Olivier Lamy (*$^¨%`£)
                Reporter:
                rkrzewsk Rafal Krzewski
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: