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 18:59:00 UTC

[jira] [Created] (SLING-12180) Consider ProviderType annotations on package level as well

Konrad Windszus created SLING-12180:
---------------------------------------

             Summary: 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


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)