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

Ignoring resolution:optional by mavenbundleplugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • maven-bundle-plugin-3.4.0
    • None
    • None

    Description

      HI Team,

      We are working on wicket-8 migration, In wicket 8 pom.xml on Import-Package mentioned
      junit.framework as optional
      refer
      https://issues.apache.org/jira/browse/WICKET-6509

      Expected that generated manifest file contains
      junit.framework;resolution:optional but that is not the case. resolution:optional is missing in generated manifest file

      Please find the attachment and search for junit.framework, as i observed after the maven-bundle-plugin:3.5.1:bundle removing the optional resolution from the manifest file

      I'm unable to debug in BundlePlugin.java which configuration is missing.

      Please help me to resolve this issue.

      Wicket version : wicket-8.0.0
      maven-bundle-plugin: 3.4.0

      https://github.com/apache/wicket/blob/master/pom.xml and search for Import-packages

      https://mvnrepository.com/artifact/org.apache.wicket/wicket-core/8.0.0

      Check the manifest file in bundle

      Please help me which configuration is required to set resolution:optional in manifest file.

       

      Attachments

        1. MANIFEST.MF
          32 kB
          Subrahmanyam Sistha

        Activity

          People

            Unassigned Unassigned
            SubbuS Subrahmanyam Sistha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: