From 159ebb1dd1606fa517110ed30e7018ae7901577e Mon Sep 17 00:00:00 2001 From: Martin Simka Date: Mon, 16 Sep 2024 15:39:20 +0200 Subject: [PATCH] [#244] drop explicit dependency on jboss-logging fixes https://github.com/wildfly-extras/creaper/issues/244 It attempts to fix issue due to current dependecy situation: * creaper has explicit dependency on jboss-logging 3.3.0.Final * jboss-logging added new methods in 3.6.0 * wildfly-core uses new methods from jboss-logging 3.6.x since 26.0.0.Beta3 which means WildFly 34 * it results in #244 Let's bring in jboss-logging transitivitely from wildfly-core to keep version aligned. ---- Originally jboss-logging dependency was added with this commit message ``` OnlineManagementClient and OfflineManagementClient now log all commands and operations they are performing. Operations (online only) are logged on the DEBUG level, commands are logged on INFO. Also, commands are now advised to provide a toString() method that is used for logging. The logging framework that is used in Creaper is JBoss Logging, because: 1. It is not actually a logging framework, it's only a facade that delegates the logging work to some logging framework that appears to be used. 2. It can detect all commonly used logging frameworks (Logback, Log4j, JUL) and one uncommon too (JBoss LogManager). 3. Creaper already depended on it transitively. Avoiding new dependencies is good. 4. It has a really small and nice API. ``` --- README.md | 1 - core/pom.xml | 4 ---- pom.xml | 6 ------ 3 files changed, 11 deletions(-) diff --git a/README.md b/README.md index 8d377757..f208d1e1 100644 --- a/README.md +++ b/README.md @@ -641,7 +641,6 @@ on Creaper: - `creaper-core`: - `com.google.guava:guava` - - `org.jboss.logging:jboss-logging` - `creaper-commands`: - everything from `creaper-core` - `org.codehaus.groovy:groovy` diff --git a/core/pom.xml b/core/pom.xml index 65ae1556..752ab933 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -30,10 +30,6 @@ org.wildfly.core wildfly-cli - - org.jboss.logging - jboss-logging - junit junit diff --git a/pom.xml b/pom.xml index c44640d5..e9152fb1 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,6 @@ 1.6.0.Final 2.2.0.Final - 3.3.0.Final 2.0.3.Final 1.2.6 4.6.1 @@ -152,11 +151,6 @@ ${version.org.wildfly.core.wildfly-everything} provided - - org.jboss.logging - jboss-logging - ${version.org.jboss.logging.jboss-logging} -