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.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: