From 2d0be0c7881024b4ed77e34a1164c21c8411ab1f Mon Sep 17 00:00:00 2001 From: Luca Roffia Date: Wed, 27 Nov 2024 12:36:21 +0100 Subject: [PATCH] config: new Dockerfile for JMX --- client-api/pom.xml | 7 +++++-- .../arces/wot/sepa/commons/sparql/BindingsResults.java | 2 -- .../main/java/it/unibo/arces/wot/sepa/logging/Logging.java | 3 ++- pom.xml | 4 ++-- run.sh | 0 5 files changed, 9 insertions(+), 7 deletions(-) mode change 100644 => 100755 run.sh diff --git a/client-api/pom.xml b/client-api/pom.xml index 6924a656..785a08c0 100644 --- a/client-api/pom.xml +++ b/client-api/pom.xml @@ -8,8 +8,6 @@ ${revision} client-api - - org.apache.commons @@ -52,5 +50,10 @@ jaxb-api 2.3.0 + + org.apache.logging.log4j + log4j-core + 2.23.1 + diff --git a/client-api/src/main/java/it/unibo/arces/wot/sepa/commons/sparql/BindingsResults.java b/client-api/src/main/java/it/unibo/arces/wot/sepa/commons/sparql/BindingsResults.java index e0111410..e8894bc5 100644 --- a/client-api/src/main/java/it/unibo/arces/wot/sepa/commons/sparql/BindingsResults.java +++ b/client-api/src/main/java/it/unibo/arces/wot/sepa/commons/sparql/BindingsResults.java @@ -20,8 +20,6 @@ import java.util.ArrayList; import java.util.List; -import org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileCount; - import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; diff --git a/client-api/src/main/java/it/unibo/arces/wot/sepa/logging/Logging.java b/client-api/src/main/java/it/unibo/arces/wot/sepa/logging/Logging.java index b49dd960..efef8fd8 100644 --- a/client-api/src/main/java/it/unibo/arces/wot/sepa/logging/Logging.java +++ b/client-api/src/main/java/it/unibo/arces/wot/sepa/logging/Logging.java @@ -9,10 +9,11 @@ import org.apache.logging.log4j.Level; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; -import org.apache.logging.log4j.core.LoggerContext; import org.apache.logging.log4j.core.config.AppenderRef; import org.apache.logging.log4j.core.config.Configuration; import org.apache.logging.log4j.core.config.LoggerConfig; +import org.apache.logging.log4j.core.LoggerContext; + public class Logging { public static final Logger logger = LogManager.getLogger(); diff --git a/pom.xml b/pom.xml index 80ab3b21..c13101c1 100644 --- a/pom.xml +++ b/pom.xml @@ -172,12 +172,12 @@ org.apache.logging.log4j log4j-api - 2.20.0 + 2.23.1 org.apache.logging.log4j log4j-core - 2.20.0 + 2.23.1 com.google.code.gson diff --git a/run.sh b/run.sh old mode 100644 new mode 100755