You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2017/12/14 16:20:00 UTC

[jira] [Resolved] (FELIX-5592) Maven bundle plugin does not support Java 9 Multi-Release jars

     [ https://issues.apache.org/jira/browse/FELIX-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Pauls resolved FELIX-5592.
-------------------------------
    Resolution: Fixed

This should be fixed with the upcomming maven-bundle-plugin 3.4.0 release - where by "fixed" I mean it should at least allow to build with multi-release jars. Ultimately, we will need some spec level support to fully support multi-release jars (see the bnd issues mentioned) but that might be in the works.

I'm resolving this issue as fixed for now as the problem should have gone away. When we know how spec level support might look like we need to open a new issue to implement the changes. 

> Maven bundle plugin does not support Java 9 Multi-Release jars
> --------------------------------------------------------------
>
>                 Key: FELIX-5592
>                 URL: https://issues.apache.org/jira/browse/FELIX-5592
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-3.2.0
>            Reporter: Ralph Goers
>            Assignee: Neil Bartlett
>             Fix For: maven-bundle-plugin-3.4.0
>
>
> Log4j 2 currently packages its jars with the maven-bundle-plugin. To support Java 9 we are moving towards using Multi-Release jars to pick up the Java 9 features.  However, when the Maven bundle plugin encouters classes in META-INF/versions/9 it emits an error message saying "Classes found in the wrong directory:", which is incorrect for a Multi-Release jar in Java 9.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)