Вопрос

Is it possible to install a OSGi jar to Felix by keeping the jar as a part of the cq5 component and install it on build?

Это было полезно?

Решение

You cannot restrict an OSGi bundle so that only one CQ component can use it. If an OSGi bundle exports a java package, that will be visible from all java and scripting code.

Другие советы

You can include it in a content package at build time, if you're targeting this with your question. The multimodule-content-package-archetype provided by Adobe does that as well.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top