Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
maven-bundle-plugin-5.1.1
-
None
Description
In my project, I set a custom value in the manifest via the Maven JAR plugin:
<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>
When using the Maven Bundle Plugin 4.2.1, the multi-release entry will be in the final manifest:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>4.2.1</version>
<extensions>true</extensions>
</plugin>
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.
Attachments
Issue Links
- breaks
-
FELIX-6404 bundle:bundle:5.1.2 add non-reproducible Built-By and Build-Jdk to MANIFEST.MF
- Resolved
- duplicates
-
FELIX-6336 Maven Bundle Plugin since 5.1 removes Jigsaw Automatic-Module-Name
- Resolved
- is related to
-
FELIX-6193 Update maven-archiver + plexus-utils
- Resolved