Uploaded image for project: 'Maven Shade Plugin'
  1. Maven Shade Plugin
  2. MSHADE-257

Bad zero length source jars published by 3rd parties cause source jar creation to fail.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Labels:
      None

      Description

      If a transient dependency that is being shaded (in my case xmlpull:xmlpull:1.1.3.1) published a zero length source jar, then the source generation will throw a zip exception and abort the build. The plugin should guard against this and issue a warning instead of failing.

      A patch with the guard will be attached.

        Attachments

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              laphroaig15 Jess
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: