You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/12/05 19:29:00 UTC
[jira] [Created] (SLING-12181) Evaluate provider type information also directly from annotations
Konrad Windszus created SLING-12181:
---------------------------------------
Summary: Evaluate provider type information also directly from annotations
Key: SLING-12181
URL: https://issues.apache.org/jira/browse/SLING-12181
Project: Sling
Issue Type: Improvement
Affects Versions: Provider Type Checker Bnd Plugin 1.0.0
Reporter: Konrad Windszus
Assignee: Konrad Windszus
Fix For: Provider Type Checker Bnd Plugin 1.1.0
Currently the check implemented in SLING-12026 only retrieves the provider type information from the META-INF/api-info.json (being generated by SLING-12135).
As fallback there should be direct evaluation of the annotations.
The logic needs to be the same as in https://github.com/bndtools/bnd/blob/d06df066f402f1433b70c51f568c40a444b4518d/biz.aQute.bndlib/src/aQute/bnd/osgi/Analyzer.java#L1991, i.e. the annotation provider type needs to be evaluated both on package as well as on type level.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)