[
https://issues.apache.org/jira/browse/SLING-12313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17846598#comment-17846598
]
Julian Reschke commented on SLING-12313:
----------------------------------------
Oak and Jackrabbit dependencies should be in sync. Like that:
{noformat}
diff --git a/pom.xml b/pom.xml
index 24fb059..2e43fa7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,8 +43,8 @@
<properties>
<javadoc.excludePackageNames />
- <jackrabbit.version>2.16.3</jackrabbit.version>
- <oak.version>1.56.0</oak.version>
+ <jackrabbit.version>2.20.15</jackrabbit.version>
+ <oak.version>1.62.0</oak.version>
<org.ops4j.pax.exam.version>4.13.3</org.ops4j.pax.exam.version>
<project.build.outputTimestamp>2023-10-09T22:21:44Z</project.build.outputTimestamp>
</properties>
@@ -98,8 +98,8 @@
<!-- Apache Jackrabbit -->
<dependency>
<groupId>org.apache.jackrabbit</groupId>
- <artifactId>jackrabbit-api</artifactId>
- <version>${jackrabbit.version}</version>
+ <artifactId>oak-jackrabbit-api</artifactId>
+ <version>${oak.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
{noformat}
> bump oak.version to 1.62.0 for compatibility
> --------------------------------------------
>
> Key: SLING-12313
> URL: https://issues.apache.org/jira/browse/SLING-12313
> Project: Sling
> Issue Type: Improvement
> Reporter: Eric Norman
> Assignee: Eric Norman
> Priority: Major
> Fix For: JCR Oak Server 1.4.2
>
>
> Oak 1.62.0 has bumped the version of the shaded guava packages to a new major
> version (from 32 to 33) which results in a failure to resolve the
> o.a.sling.jcr.oak.server bundle with that version of the Oak bundles.
> {code:java}
> org.osgi.framework.BundleException: Unable to resolve
> org.apache.sling.jcr.oak.server [144](R 144.0): missing requirement
> [org.apache.sling.jcr.oak.server [144](R 144.0)] osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.jackrabbit.guava.common.base)(version>=32.1.0)(!(version>=33.0.0)))
> Unresolved requirements: [[org.apache.sling.jcr.oak.server [144](R 144.0)]
> osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.jackrabbit.guava.common.base)(version>=32.1.0)(!(version>=33.0.0)))]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)