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

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

Martin Winandy created FELIX-6312:
-------------------------------------

             Summary: 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


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)