Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-570

Remove excessive strictness of OSGi dependency metadata

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha-11, 1.9.20
    • 2.0.0, 1.9.21
    • Resolver
    • None

    Description

      The OSGi dependency metadata in multiple resolver artifacts are stricter than the declared Maven dependency counterparts and should be harmonized.

      For example for the maven-resolver-impl the dependencies to Guice, Eclipse Sisu and javax.inject are not marked as optional.
      Furthermore the dependency to the org.slf4j.spi package has a version range of [1.7,2) which mandates a 1.x slf4j-api bundle in the runtime, while the class used from that package is also available in a 2.x version of slf4j-api.

      For all other artifacts the dependency to to javax.inject should be optional as well.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            HannesWellmann Hannes Wellmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: