You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Mark Derricutt (Jira)" <ji...@apache.org> on 2020/07/29 22:19:00 UTC

[jira] [Commented] (FELIX-6312) Maven Bundle Plugin removes entries from manifest since version 5

    [ https://issues.apache.org/jira/browse/FELIX-6312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167531#comment-17167531 ] 

Mark Derricutt commented on FELIX-6312:
---------------------------------------

Interesting - I recently switched to 5.1.1 and noticed our karaf distribution started failing with missing requirements, so went thru the laborious process of re-rereleasing everything using 4.2.1 again to unblock our deployments, and was going to investigate what changes there were in the individual artifacts - I wonder if I was being hit with something similar...

> Maven Bundle Plugin removes entries from manifest since version 5
> -----------------------------------------------------------------
>
>                 Key: FELIX-6312
>                 URL: https://issues.apache.org/jira/browse/FELIX-6312
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-5.1.1
>            Reporter: Martin Winandy
>            Priority: Major
>
> In my project, I set a custom value in the manifest via the Maven JAR plugin:
> {code:java}
> <plugin>
>    <groupId>org.apache.maven.plugins</groupId>
>    <artifactId>maven-jar-plugin</artifactId>
>    <version>3.2.0</version>
>    <configuration>
>       <archive>
>          <manifestEntries>
>             <Multi-Release>true</Multi-Release>
>          </manifestEntries>
>          <addMavenDescriptor>false</addMavenDescriptor>
>       </archive>
>    </configuration>
> </plugin>{code}
> When using the Maven Bundle Plugin 4.2.1, the multi-release entry will be in the final manifest:
> {code:java}
> <plugin>
>    <groupId>org.apache.felix</groupId>
>    <artifactId>maven-bundle-plugin</artifactId>
>    <version>4.2.1</version>
>    <extensions>true</extensions>
> </plugin>
> {code}
> However, when updating the Maven Bundle Plugin to the latest version 5.1.1, the multi-release entry will be *removed* from the final manifest.



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