[
https://issues.apache.org/jira/browse/OAK-6511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111083#comment-16111083
]
Robert Munteanu commented on OAK-6511:
--------------------------------------
Hmmm, apparently the baseline plugin complains about switching the annotation
provider types.
{noformat}
[INFO] --- maven-bundle-plugin:3.3.0:baseline (baseline) @ oak-api ---
[INFO] Baseline Report - Generated by Apache Felix Maven Bundle Plugin on
2017-08-02T18:09Z based on Bnd - see http://www.aqute.biz/Bnd/Bnd
[INFO] Comparing bundle oak-api version 1.8-SNAPSHOT to version 1.6.2
[INFO]
[INFO] PACKAGE_NAME DELTA CUR_VER
BASE_VER REC_VER WARNINGS
[INFO] = ================================================== ==========
========== ========== ========== ==========
[INFO] * org.apache.jackrabbit.oak.api changed 3.1.0
3.1.0 3.1.1 Version increase required
[INFO] ~ interface org.apache.jackrabbit.oak.api.QueryEngine
[INFO] - annotated aQute.bnd.annotation.ProviderType
[INFO] + annotated org.osgi.annotation.versioning.ProviderType
{noformat}
> Switch to official OSGi versioning annotations
> ----------------------------------------------
>
> Key: OAK-6511
> URL: https://issues.apache.org/jira/browse/OAK-6511
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: parent
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Fix For: 1.8, 1.7.6
>
>
> When building Oak, several warnings are printed related to the usage of the
> bnd versioning annotations:
> {noformat}[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.{noformat}
> Since it's a mostly mechanical change with a limited number of scenarios I
> propose to just do it outright.
> {noformat}$ git grep aQute.bnd.annotation | wc -l
> 85{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)