[ 
https://issues.apache.org/jira/browse/SLING-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789221#comment-17789221
 ] 

Konrad Windszus commented on SLING-12026:
-----------------------------------------

In 
https://github.com/apache/sling-whiteboard/tree/provider-type-check-bnd-plugin 
I implemented a Bnd plugin evaluating the metadata provided by api jars. 
[~cziegeler] Can you have a look?

> Check for implementation/extension of provider types
> ----------------------------------------------------
>
>                 Key: SLING-12026
>                 URL: https://issues.apache.org/jira/browse/SLING-12026
>             Project: Sling
>          Issue Type: New Feature
>          Components: Feature Model Analyser
>    Affects Versions: Feature Model Analyser 2.0.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>
> OSGi distinguishes between 
> [consumer|https://docs.osgi.org/javadoc/osgi.annotation/7.0.0/org/osgi/annotation/versioning/ConsumerType.html]
>  and 
> [provider|https://docs.osgi.org/javadoc/osgi.annotation/7.0.0/org/osgi/annotation/versioning/ProviderType.html]
>  types (either interfaces or classes).
> Some bundles/features are only supposed to implement/extend consumer types in 
> order to be more stable against API changes. There should be a feature model 
> analyser enforcing this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to