You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by re...@apache.org on 2025/09/03 15:15:19 UTC

(jackrabbit-oak) branch trunk updated: OAK-11224: shaded guava is only a test dependency in commons, adjust core-spi to re-add the dependency (#2488)

This is an automated email from the ASF dual-hosted git repository.

reschke pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1178a985d2 OAK-11224: shaded guava is only a test dependency in commons, adjust core-spi to re-add the dependency (#2488)
1178a985d2 is described below

commit 1178a985d2be4eaa16291d1519bd7a52ce08d48f
Author: Julian Reschke <re...@apache.org>
AuthorDate: Wed Sep 3 17:15:14 2025 +0200

    OAK-11224: shaded guava is only a test dependency in commons, adjust core-spi to re-add the dependency (#2488)
---
 oak-commons/pom.xml  | 5 +++--
 oak-core-spi/pom.xml | 5 +++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/oak-commons/pom.xml b/oak-commons/pom.xml
index 26c06380c6..5c98a50c85 100644
--- a/oak-commons/pom.xml
+++ b/oak-commons/pom.xml
@@ -114,13 +114,14 @@
       <artifactId>jackrabbit-jcr-commons</artifactId>
       <version>${jackrabbit.version}</version>
     </dependency>
+
+    <!-- Test dependencies -->
     <dependency>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>oak-shaded-guava</artifactId>
       <version>${project.version}</version>
+      <scope>test</scope>
     </dependency>
-
-    <!-- Test dependencies -->
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
diff --git a/oak-core-spi/pom.xml b/oak-core-spi/pom.xml
index 8964d2e45d..7b91c6fe61 100644
--- a/oak-core-spi/pom.xml
+++ b/oak-core-spi/pom.xml
@@ -108,6 +108,11 @@
     </dependency>
 
     <!-- Other Oak module -->
+    <dependency>
+      <groupId>org.apache.jackrabbit</groupId>
+      <artifactId>oak-shaded-guava</artifactId>
+      <version>${project.version}</version>
+    </dependency>
     <dependency>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>oak-jackrabbit-api</artifactId>