diff --git a/pom.xml b/pom.xml
index 907a4bce..b3e815d2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,7 +42,7 @@
17
3.6.3
- 1.7.36
+ 2.0.12
snapshot
release
Stable
diff --git a/src/main/java/ch/ivyteam/ivy/maven/engine/EngineClassLoaderFactory.java b/src/main/java/ch/ivyteam/ivy/maven/engine/EngineClassLoaderFactory.java
index 8b2743c8..302515dd 100644
--- a/src/main/java/ch/ivyteam/ivy/maven/engine/EngineClassLoaderFactory.java
+++ b/src/main/java/ch/ivyteam/ivy/maven/engine/EngineClassLoaderFactory.java
@@ -54,7 +54,7 @@ public interface OsgiDir {
}
/** must match version in pom.xml */
- private static final String SLF4J_VERSION = "1.7.36";
+ private static final String SLF4J_VERSION = "2.0.12";
private static final List ENGINE_LIB_DIRECTORIES = Arrays.asList(
OsgiDir.INSTALL_AREA + "/" + OsgiDir.LIB_BOOT,
diff --git a/src/main/java/ch/ivyteam/ivy/maven/engine/Slf4jSimpleEngineProperties.java b/src/main/java/ch/ivyteam/ivy/maven/engine/Slf4jSimpleEngineProperties.java
index 9e479326..c0b94552 100644
--- a/src/main/java/ch/ivyteam/ivy/maven/engine/Slf4jSimpleEngineProperties.java
+++ b/src/main/java/ch/ivyteam/ivy/maven/engine/Slf4jSimpleEngineProperties.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2021 Axon Ivy AG
+ * Copyright (C) 2024 Axon Ivy AG
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
@@ -19,11 +19,11 @@
import java.util.Arrays;
import java.util.List;
-import org.slf4j.impl.SimpleLogger;
+import org.slf4j.simple.SimpleLogger;
/**
* Sets the logging properties for the ivy engine.
- *
+ *
* @author Reguel Wermelinger
* @since 6.0.0
*/
@@ -91,7 +91,7 @@ private static void setDefaultProperty(String property, String value) {
}
/**
- * Valid levels as documented in {@link org.slf4j.impl.SimpleLogger}
+ * Valid levels as documented in {@link org.slf4j.simple.SimpleLogger}
*/
static interface Level {
String TRACE = "trace";
diff --git a/src/test/java/ch/ivyteam/ivy/maven/TestSlf4jWarningConfiguration.java b/src/test/java/ch/ivyteam/ivy/maven/TestSlf4jWarningConfiguration.java
index 72b85676..4ec7d797 100644
--- a/src/test/java/ch/ivyteam/ivy/maven/TestSlf4jWarningConfiguration.java
+++ b/src/test/java/ch/ivyteam/ivy/maven/TestSlf4jWarningConfiguration.java
@@ -3,7 +3,7 @@
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test;
-import org.slf4j.impl.SimpleLogger;
+import org.slf4j.simple.SimpleLogger;
import ch.ivyteam.ivy.maven.engine.Slf4jSimpleEngineProperties;