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

Konrad Windszus commented on SLING-12180:
-----------------------------------------

[~cziegeler] Can you have a look? Currently 
https://github.com/apache/sling-slingfeature-maven-plugin/blob/96ed3a18bd1b10111f5c92a9046fff19a9f7b7a8/src/main/java/org/apache/sling/feature/maven/mojos/apis/ClassFileProcessor.java#L36
 does not consider the annotation on package level (like what is done in 
https://github.com/bndtools/bnd/blob/d06df066f402f1433b70c51f568c40a444b4518d/biz.aQute.bndlib/src/aQute/bnd/osgi/Analyzer.java#L844C7-L844C7).
 

> Consider ProviderType annotations on package level as well
> ----------------------------------------------------------
>
>                 Key: SLING-12180
>                 URL: https://issues.apache.org/jira/browse/SLING-12180
>             Project: Sling
>          Issue Type: Bug
>          Components: Maven Plugins and Archetypes
>    Affects Versions: OSGi Feature Maven Plugin 1.8.0
>            Reporter: Konrad Windszus
>            Priority: Major
>
> The annotation 
> https://docs.osgi.org/javadoc/osgi.annotation/7.0.0/org/osgi/annotation/versioning/ProviderType.html
>  can be used both on type level as well as on package level. If it is set on 
> package level that annotation takes precedence over all type level 
> annotations in that package.
> In the context of SLING-12135 only class level annotations are being 
> considered.



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

Reply via email to