You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2017/08/19 11:59:00 UTC
[jira] [Closed] (MSHADE-257) Bad zero length source jars published
by 3rd parties cause source jar creation to fail.
[ https://issues.apache.org/jira/browse/MSHADE-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MSHADE-257.
---------------------------------
Resolution: Fixed
Assignee: Robert Scholte
Fix Version/s: 3.0.1
Fixed in [1805504|http://svn.apache.org/viewvc?rev=1805504&view=rev]
Thanks for the patch!
> 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
> Assignee: Robert Scholte
> Fix For: 3.0.1
>
> Attachments: maven-shade-plugin-257-patch.diff
>
>
> 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)