You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2021/03/23 13:24:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Jean-Baptiste Onofré updated FELIX-6312:
----------------------------------------
Fix Version/s: maven-bundle-plugin-5.1.2
> 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
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: maven-bundle-plugin-5.1.2
>
>
> 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)