maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jess (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MSHADE-257) Bad zero length source jars published by 3rd parties cause source jar creation to fail.
Date Tue, 01 Aug 2017 17:40:00 GMT
Jess created MSHADE-257:
---------------------------

             Summary: Bad zero length source jars published by 3rd parties cause source jar
creation to fail.
                 Key: MSHADE-257
                 URL: https://issues.apache.org/jira/browse/MSHADE-257
             Project: Maven Shade Plugin
          Issue Type: Improvement
    Affects Versions: 3.0.0
            Reporter: Jess


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message