You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Oliver Lietz (Jira)" <ji...@apache.org> on 2022/06/03 07:02:00 UTC

[jira] [Closed] (FELIX-6538) maven-bundle-plugin imports java.lang.runtime

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

Oliver Lietz closed FELIX-6538.
-------------------------------
    Resolution: Not A Problem

> maven-bundle-plugin imports java.lang.runtime
> ---------------------------------------------
>
>                 Key: FELIX-6538
>                 URL: https://issues.apache.org/jira/browse/FELIX-6538
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-5.1.6
>         Environment: Java 17, Apache Karaf 4.4, Maven 3.8.5
>            Reporter: Jakub Herkel
>            Priority: Major
>
> I tried to upgrade a maven-bundle pluging from version 5.1.4 to 5.1.6. But with version 5.1.6 our build finished with error :
> {code:java}
> Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.4.0:verify (default-verify) on project chronos.features.base: Verification failures: Verification failures:
> missing requirement [tech.pantheon.chronos.utilities/0.0.1.SNAPSHOT] osgi.wiring.package; filter:="(osgi.wiring.package=java.lang.runtime)"{code}
> I compared MANIFEST.MF between version 5.1.4 and 5.1.6 and I can see that 5.1.6 imports packages:
> java.lang.invoke,java.lang.reflect,java.lang.runtime but version 5.1.4 not.
> Is there any reason why 5.1.6 imports these packages?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)