Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6538

maven-bundle-plugin imports java.lang.runtime

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • maven-bundle-plugin-5.1.6
    • None
    • Maven Bundle Plugin
    • None
    • Java 17, Apache Karaf 4.4, Maven 3.8.5

    Description

      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 :

      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)"

      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?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jherkel Jakub Herkel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: