Hi,
This bundle requires some imports from JCR2SPI which are by default not 
exported through the according bundle: 
https://github.com/apache/jackrabbit/blob/2f780bb9584460a9289a80da694c9c2598653b8a/jackrabbit-jcr2spi/pom.xml#L44
 
<https://github.com/apache/jackrabbit/blob/2f780bb9584460a9289a80da694c9c2598653b8a/jackrabbit-jcr2spi/pom.xml#L44>

In addition it requires FileVault Core Bundle in the newest version
For the former it would make sense to open an issue with Jackrabbit to see why 
only some packages are exported in OSGi containers.

The jcr2spi classes are used in FileVault validation to build a mock repository 
context (e.g. for nodetype validation)
Konrad


> On 11. Dec 2021, at 07:24, Ankita Agarwal <[email protected]> wrote:
> 
> Hi, 
> 
> We want to integrate the vault-validation bundle to validate packages.
> 
> Whilst using it we were facing some missing dependencies issues even after 
> adding all the other required bundles (probably those dependencies are not 
> exported by corresponding bundles). Is it not supposed to be used as a 
> bundle? We have seen it used only in maven-plugins. 
> 
> Could you please guide us? Are we missing something?
> 
> [1] - https://jackrabbit.apache.org/filevault/validation.html 
> <https://jackrabbit.apache.org/filevault/validation.html>
> 
> Thanks,
> Ankita
> 
> <Screenshot 2021-12-10 at 6.36.12 PM.png>

Reply via email to