You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David M. Lloyd (JIRA)" <ji...@apache.org> on 2017/11/01 20:43:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16234719#comment-16234719 ] 

David M. Lloyd commented on FELIX-5592:
---------------------------------------

We (JBoss) are also moving to multi-release JARs for many of our projects.  Those projects which use the maven-bundle-plugin will lose OSGi support until this issue is resolved.

> 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
>            Priority: Major
>
> 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)