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

Robert Varga commented on FELIX-6312:
-------------------------------------

[~talios] I have been wondering about that, luckily our CI has caught it before 
we made any releases. I have filed FELIX-6337 to track it along with some info.

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

Reply via email to