[
https://issues.apache.org/jira/browse/JCR-3937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056035#comment-15056035
]
David Bosschaert commented on JCR-3937:
---------------------------------------
Hi [~mreutegg], yes including it in the parent pom would even be better. And it
would probably be good to use 3.0.1 as [~jsedding] suggests.
I had to flip the declaration of the Import-Package as follows
{code}org.apache.jackrabbit.api.security.user;version="[2.2,3)";resolution:=optional,
*{code}
because otherwise the org.apache.jackrabbit.api.security.user package was
imported twice. This is clearly a change in behaviour of the
maven-bundle-plugin/bnd since the 3.0.x release...
> jackrabbit-jcr-commons bundle incorrectly has google dependency in
> Export-Package uses clause
> ---------------------------------------------------------------------------------------------
>
> Key: JCR-3937
> URL: https://issues.apache.org/jira/browse/JCR-3937
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-jcr-commons
> Affects Versions: 2.11.3
> Reporter: David Bosschaert
> Attachments: JCR-3937-2.patch, JCR-3937.patch
>
>
> jackrabbit-jcr-commons 2.11.3 has the following Export-Package line:
> {code}org.apache.jackrabbit.value;uses:="javax.jcr,org.apache.jackrabbit.util,com.google.common.collect";version="2.2.1"{code}
> The google uses is actually unnecessary and generated by a bug in the
> maven-bundle-plugin. Using the latest version of that makes the google
> transitive dependency go away.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)