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 06:33:00 UTC
[jira] [Created] (OAK-10305) oak-core should changes scope of annotation dependencies to provided
Konrad Windszus created OAK-10305:
-------------------------------------
Summary: 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
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}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)