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

Carsten Ziegeler commented on SLING-12180:
------------------------------------------

The mechanism currently used does not have access to package level annotations. 
This would be a completely new mechanism just for this use case.
I haven't seen this annotation being used on the package level yet, and I would 
bet that there is other tooling out there which does not take it into account.
I suggest we look at this, once we have an actual use case.

> 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