Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10305

oak-core should changes scope of annotation dependencies to provided

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.52.0
    • 1.54.0
    • core
    • None

    Description

      Currently both org.osgi.service.component.annotations and org.osgi.service.metatype.annotations have the default scope compile which makes this dependency transitively available to dependent Maven modules.
      As those annotations are only relevant at build time they should always be used with scope provided in order to prevent them to be transitively inherited.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: