From 10a2815527ea24d3b3160e114613534eba106598 Mon Sep 17 00:00:00 2001 From: Nandor Soma Abonyi Date: Wed, 7 Jun 2023 15:20:09 +0200 Subject: [PATCH] NIFI-11659 Removed unnecessary Jackson 1 dependencies This closes #7354 Signed-off-by: David Handermann --- .../apache/nifi/processors/TestGeoEnrichIPRecord.java | 2 +- .../nifi/processors/geohash/GeohashRecordTest.java | 2 +- .../nifi-livy-controller-service/pom.xml | 4 ---- nifi-nar-bundles/nifi-spark-bundle/pom.xml | 10 ---------- .../nifi-record-serialization-services/pom.xml | 5 ----- 5 files changed, 2 insertions(+), 21 deletions(-) diff --git a/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestGeoEnrichIPRecord.java b/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestGeoEnrichIPRecord.java index cabd48bd55..c7aebb00d1 100644 --- a/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestGeoEnrichIPRecord.java +++ b/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestGeoEnrichIPRecord.java @@ -17,6 +17,7 @@ package org.apache.nifi.processors; +import com.fasterxml.jackson.databind.ObjectMapper; import com.maxmind.geoip2.DatabaseReader; import com.maxmind.geoip2.model.CityResponse; import org.apache.avro.Schema; @@ -36,7 +37,6 @@ import org.apache.nifi.serialization.record.RecordSchema; import org.apache.nifi.util.MockFlowFile; import org.apache.nifi.util.TestRunner; import org.apache.nifi.util.TestRunners; -import org.codehaus.jackson.map.ObjectMapper; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/nifi-nar-bundles/nifi-geohash-bundle/nifi-geohash-processors/src/test/java/org/apache/nifi/processors/geohash/GeohashRecordTest.java b/nifi-nar-bundles/nifi-geohash-bundle/nifi-geohash-processors/src/test/java/org/apache/nifi/processors/geohash/GeohashRecordTest.java index ef607e2f72..51dbe58c6c 100644 --- a/nifi-nar-bundles/nifi-geohash-bundle/nifi-geohash-processors/src/test/java/org/apache/nifi/processors/geohash/GeohashRecordTest.java +++ b/nifi-nar-bundles/nifi-geohash-bundle/nifi-geohash-processors/src/test/java/org/apache/nifi/processors/geohash/GeohashRecordTest.java @@ -16,6 +16,7 @@ */ package org.apache.nifi.processors.geohash; +import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.avro.Schema; import org.apache.commons.io.IOUtils; import org.apache.nifi.avro.AvroTypeUtil; @@ -29,7 +30,6 @@ import org.apache.nifi.serialization.record.RecordSchema; import org.apache.nifi.util.MockFlowFile; import org.apache.nifi.util.TestRunner; import org.apache.nifi.util.TestRunners; -import org.codehaus.jackson.map.ObjectMapper; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/pom.xml b/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/pom.xml index 8e939b1648..e8fbd06dfd 100644 --- a/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/pom.xml +++ b/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/pom.xml @@ -42,10 +42,6 @@ org.codehaus.jettison jettison - - org.codehaus.jackson - jackson-core-asl - com.fasterxml.jackson.core jackson-databind diff --git a/nifi-nar-bundles/nifi-spark-bundle/pom.xml b/nifi-nar-bundles/nifi-spark-bundle/pom.xml index aee357f373..b809fe1ac9 100644 --- a/nifi-nar-bundles/nifi-spark-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-spark-bundle/pom.xml @@ -33,16 +33,6 @@ - - org.codehaus.jackson - jackson-core-asl - 1.9.13 - - - org.codehaus.jackson - jackson-mapper-asl - 1.9.13 - org.codehaus.jettison jettison diff --git a/nifi-nar-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/pom.xml b/nifi-nar-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/pom.xml index c3f5573792..712948aca6 100755 --- a/nifi-nar-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/pom.xml +++ b/nifi-nar-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/pom.xml @@ -134,11 +134,6 @@ bval-jsr 2.0.6 - - org.codehaus.jackson - jackson-mapper-asl - 1.9.13 - org.apache.nifi nifi-mock-record-utils