You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rafael Winterhalter (Jira)" <ji...@apache.org> on 2020/07/02 10:32:00 UTC

[jira] [Updated] (MSHADE-373) Source transformation on source jar can break OSGi resolution due to duplicated bundle name.

     [ https://issues.apache.org/jira/browse/MSHADE-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafael Winterhalter updated MSHADE-373:
---------------------------------------
    Description: 
Manifest transformers in the shade plugin are often used to add meta-data for OSGi use since the shade and OSGi plugins are not overly compatible. If the same transformer is applied to the source plugin's manifest, the resolution will fail due to a duplicate bundle id.

It is therefore necessary to being able to opt-out of the manifest transformer when shading a source file.

Pull request: [https://github.com/apache/maven-shade-plugin/pull/59]

  was:
Manifest transformers in the shade plugin are often used to add meta-data for OSGi use since the shade and OSGi plugins are not overly compatible. If the same transformer is applied to the source plugin's manifest, the resolution will fail due to a duplicate bundle id.

It is therefore necessary to being able to opt-out of the manifest transformer when shading a source file.


> Source transformation on source jar can break OSGi resolution due to duplicated bundle name.
> --------------------------------------------------------------------------------------------
>
>                 Key: MSHADE-373
>                 URL: https://issues.apache.org/jira/browse/MSHADE-373
>             Project: Maven Shade Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.2.4
>            Reporter: Rafael Winterhalter
>            Priority: Critical
>
> Manifest transformers in the shade plugin are often used to add meta-data for OSGi use since the shade and OSGi plugins are not overly compatible. If the same transformer is applied to the source plugin's manifest, the resolution will fail due to a duplicate bundle id.
> It is therefore necessary to being able to opt-out of the manifest transformer when shading a source file.
> Pull request: [https://github.com/apache/maven-shade-plugin/pull/59]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)