You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/06/15 12:31:00 UTC
[jira] [Resolved] (OAK-10305) oak-core should changes scope of annotation dependencies to provided
[ https://issues.apache.org/jira/browse/OAK-10305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus resolved OAK-10305.
-----------------------------------
Fix Version/s: 1.54.0
Resolution: Fixed
Fixed in https://github.com/apache/jackrabbit-oak/commit/ff0bf210fcdd5256c9f69fcf28b64c26e134b2f4.
> oak-core should changes scope of annotation dependencies to provided
> --------------------------------------------------------------------
>
> Key: OAK-10305
> URL: https://issues.apache.org/jira/browse/OAK-10305
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 1.52.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: 1.54.0
>
>
> Currently both {{org.osgi.service.component.annotations}} and {{org.osgi.service.metatype.annotations}} have the default scope {{compile}} which makes this dependency transitively available to dependent Maven modules.
> As those annotations are only relevant at build time they should always be used with scope {{provided}} in order to prevent them to be transitively inherited.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)