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

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

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          2d 16m 1 Olivier Lamy (*$^¨%`£) 04/Sep/09 17:23
          Mark Thomas made changes -
          Workflow jira [ 12963958 ] Default workflow, editable Closed status [ 13000497 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 01:15:59 UTC 2015 [ 1428282959282 ]
          Mark Thomas made changes -
          Patch Submitted Yes [ 10763 ]
          Flags Patch [ 10430 ]
          Mark Thomas made changes -
          Workflow jira [ 12726127 ] Default workflow, editable Closed status [ 12764441 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 13:14:21 UTC 2015 [ 1428239661755 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Resolution Duplicate [ 3 ]
          Status Open [ 1 ] Closed [ 6 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Fix Version/s maven-shared-jar-1.1 [ 15654 ]
          Assignee Olivier Lamy [ olamy ]
          Olivier Lamy (*$^¨%`£) made changes -
          Link This issue relates to MSHARED-87 [ MSHARED-87 ]
          Benjamin Bentmann made changes -
          Component/s maven-shared-jar [ 13279 ]
          Benjamin Bentmann made changes -
          Field Original Value New Value
          Complexity Intermediate
          Project Maven 2 [ 10500 ] Maven Shared Components [ 11761 ]
          Key MNG-4336 MSHARED-128
          Rafal Krzewski created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development