From 1633e740059effbdc7e6b8c913bf8f78749e2a97 Mon Sep 17 00:00:00 2001
From: Baule A <65255151+baulea@users.noreply.github.com>
Date: Sun, 29 Oct 2023 15:24:49 +0100
Subject: [PATCH] upgrade multiple dependencies
upgrade dependencies in pom.xml:
- upgrade org.jukito:jukito from 1.4.1 to 1.5
- upgrade commons-io:commons-io:2.4 to 2.15.0
- upgrade com.aventstack:extentreports:4.0.9 to 5.0.9
- upgrade com.google.code.gson:gson:2.6.2 to 2.10.1
- upgrade com.google.protobuf:protobuf-java:3.13.0 to 3.24.4
with upgrade com.aventstack:extentreports:4.0.9 to 5.0.9 replace ExtentHtmlReporter with ExtentSparkReporter in ExtentReportsFactory.java
change in core/pom.xml:
- set test scope for org.jukito:jukito
- remove unused dependency com.fasterxml.jackson.datatype:jackson-datatype-jdk8
- remove direct dependency ch.qos.logback:logback-core, because it is a direct dependency from ch.qos.logback:logback-classic
- add direct dependency org.apache.httpcomponents:httpmime:4.5.12
change in kafka-testing/pom.xml:
- remove com.google.protobuf:protobuf-java-util
- remove dependency for com.github.os72:protoc-jar
---
core/pom.xml | 15 +++++--------
.../domain/builders/ExtentReportsFactory.java | 21 ++++++++++---------
kafka-testing/pom.xml | 9 --------
pom.xml | 21 ++++++++++---------
4 files changed, 27 insertions(+), 39 deletions(-)
diff --git a/core/pom.xml b/core/pom.xml
index 8f0d66fb4..3aa0f7158 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -50,7 +50,6 @@
4.12
- 2.6.2
@@ -103,10 +102,6 @@
ch.qos.logback
logback-classic
-
- ch.qos.logback
- logback-core
-
org.jboss.resteasy
@@ -127,6 +122,7 @@
org.jukito
jukito
+ test
com.google.inject
@@ -152,10 +148,6 @@
com.fasterxml.jackson.core
jackson-databind
-
- com.fasterxml.jackson.datatype
- jackson-datatype-jdk8
-
junit
junit
@@ -164,7 +156,10 @@
org.apache.httpcomponents
httpclient
- ${httpclient.version}
+
+
+ org.apache.httpcomponents
+ httpmime
org.jsmart
diff --git a/core/src/main/java/org/jsmart/zerocode/core/domain/builders/ExtentReportsFactory.java b/core/src/main/java/org/jsmart/zerocode/core/domain/builders/ExtentReportsFactory.java
index 929e85092..434cf5590 100644
--- a/core/src/main/java/org/jsmart/zerocode/core/domain/builders/ExtentReportsFactory.java
+++ b/core/src/main/java/org/jsmart/zerocode/core/domain/builders/ExtentReportsFactory.java
@@ -1,7 +1,8 @@
package org.jsmart.zerocode.core.domain.builders;
import com.aventstack.extentreports.ExtentReports;
-import com.aventstack.extentreports.reporter.ExtentHtmlReporter;
+import com.aventstack.extentreports.reporter.ExtentSparkReporter;
+
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
@@ -14,14 +15,14 @@
public class ExtentReportsFactory {
private static final org.slf4j.Logger LOGGER = getLogger(ExtentReportsFactory.class);
- private static ExtentHtmlReporter extentHtmlReporter;
+ private static ExtentSparkReporter extentSparkReporter;
private static ExtentReports extentReports;
private static Map
-
- com.google.protobuf
- protobuf-java-util
-
org.apache.kafka
kafka-clients
@@ -44,11 +40,6 @@
kafka-avro-serializer
5.1.0
-
- com.github.os72
- protoc-jar
- 3.11.4
-
diff --git a/pom.xml b/pom.xml
index ad246b382..ec48bdc66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,7 +68,7 @@
23.0
1.5.0
1.0
- 1.4.1
+ 1.5
4.0
2.6
2.2.0
@@ -77,13 +77,14 @@
2.19.0
1.7
2.9.8
- 2.4
+ 2.15.0
1.1.10
4.5
+ 4.5.12
1.4.191
- 4.0.9
+ 5.0.9
3.3.1
- 2.6.2
+ 2.10.1
2.8.2
@@ -100,7 +101,7 @@
false
- 3.13.0
+ 3.24.4
1.1.8.4
@@ -176,11 +177,6 @@
logback-classic
${logback.version}
-
- ch.qos.logback
- logback-core
- ${logback.version}
-
org.jboss.resteasy
@@ -253,6 +249,11 @@
httpclient
${httpclient.version}
+
+ org.apache.httpcomponents
+ httpmime
+ ${httpmime.version}
+
org.jsmart
micro-simulator