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

Switch to official OSGi versioning annotations

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.6, 1.8.0
    • parent
    • None

    Description

      When building Oak, several warnings are printed related to the usage of the bnd versioning annotations:

      [WARNING] Manifest org.apache.jackrabbit:oak-auth-external:bundle:1.8-SNAPSHOT : aQute.bnd.annotation.Version annotation used in class org.apache.jackrabbit.oak.spi.security.authentication.external.package-info. Bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to use OSGi versioning annotations.

      Since it's a mostly mechanical change with a limited number of scenarios I propose to just do it outright.

      $ git grep aQute.bnd.annotation | wc -l
      85

      Attachments

        Issue Links

          Activity

            People

              rombert Robert Munteanu
              rombert Robert Munteanu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: