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

sergehuber pushed a commit to branch UNOMI-875-pr3-platform-upgrade
in repository https://gitbox.apache.org/repos/asf/unomi.git

commit 545f6b8af838502c5baab9f4eb7eb84cab750ceb
Author: Serge Huber <[email protected]>
AuthorDate: Thu Jul 2 10:58:59 2026 +0200

    UNOMI-875: Upgrade Karaf to 4.4.11
    
    Karaf 4.4.11 no longer brings slf4j-api transitively; add an explicit
    provided dependency in lifecycle-watcher and align setenv.sh.
---
 lifecycle-watcher/pom.xml | 5 +++++
 pom.xml                   | 2 +-
 setenv.sh                 | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/lifecycle-watcher/pom.xml b/lifecycle-watcher/pom.xml
index 8b608383a..92b28c314 100644
--- a/lifecycle-watcher/pom.xml
+++ b/lifecycle-watcher/pom.xml
@@ -61,6 +61,11 @@
             <artifactId>commons-lang3</artifactId>
             <scope>provided</scope>
         </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
     </dependencies>
 
     <build>
diff --git a/pom.xml b/pom.xml
index dc7fbdf8c..86d0b241b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,7 +63,7 @@
         <maven.compiler.target>${java.version}</maven.compiler.target>
         <maven.compiler.release>${java.version}</maven.compiler.release>
 
-        <karaf.version>4.4.8</karaf.version>
+        <karaf.version>4.4.11</karaf.version>
         <elasticsearch.version>9.1.4</elasticsearch.version>
         <elasticsearch.test.version>9.2.1</elasticsearch.test.version>
         <opensearch.version>3.0.0</opensearch.version>
diff --git a/setenv.sh b/setenv.sh
index 115a5f848..ef5de389e 100755
--- a/setenv.sh
+++ b/setenv.sh
@@ -27,6 +27,6 @@ if [ -z "$UNOMI_VERSION" ]; then
 fi
 rm -f "$_mvn_err"
 echo "Detected project version=$UNOMI_VERSION"
-export KARAF_VERSION=4.4.8
+export KARAF_VERSION=4.4.11
 # Uncomment the following line if you need Apache Unomi to start automatically 
at the first start
 # export KARAF_OPTS="-Dunomi.autoStart=true"

Reply via email to