[ https://issues.apache.org/jira/browse/OAK-10371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764076#comment-17764076 ]
Carsten Ziegeler commented on OAK-10371: ---------------------------------------- Right, inheritance of annotations is not supported with the official OSGi annotation. There are a couple of ways to fix this. Easiest is usually to just repeat the reference annotation within the component annotation on the sub class. The better option is usually to change the abstract class to make it clear that it expects such a reference, for example by adding a required constructor that takes the service as an argument. However that is a breaking change which might not be always possible. > oak-segment-azure/oak-blob-cloud-azure require provided Guava, embed it > instead > ------------------------------------------------------------------------------- > > Key: OAK-10371 > URL: https://issues.apache.org/jira/browse/OAK-10371 > Project: Jackrabbit Oak > Issue Type: Task > Components: blob-cloud-azure, segment-azure > Reporter: Julian Reschke > Assignee: Julian Reschke > Priority: Critical > > These components require Guava due to their dependency on > microsoft-azure-keyvault-core. That dependency is embedded, but Guava is not. > Choices: > - get microsoft-azure-keyvault-core fixed not to use Guava (unlikely, but see > https://github.com/Azure/azure-sdk-for-java/issues/26846) > - embed Guava > - make sure that the OSGi import statement is as relaxed as possible (note > that, for historic reasons, our components for now are likely used in > environments using Guava 15) -- This message was sent by Atlassian Jira (v8.20.10#820010)