maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MSHADE-257) Bad zero length source jars published by 3rd parties cause source jar creation to fail.
Date Sat, 19 Aug 2017 11:59:00 GMT

     [ 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)

Mime
View raw message