Jakub Herkel created FELIX-6538:
-----------------------------------
Summary: 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
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)