You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2022/04/05 15:28:47 UTC

[nifi] branch main updated: NIFI-7253 Upgraded Jackson to 2.13.2 using jackson-bom

This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new d78c65996e NIFI-7253 Upgraded Jackson to 2.13.2 using jackson-bom
d78c65996e is described below

commit d78c65996e1cb46d98e2b449f21de25d0d1d0a05
Author: Mike Thomsen <mt...@apache.org>
AuthorDate: Sat Mar 26 10:31:08 2022 -0400

    NIFI-7253 Upgraded Jackson to 2.13.2 using jackson-bom
    
    This closes #5904
    
    Signed-off-by: David Handermann <ex...@apache.org>
---
 nifi-nar-bundles/nifi-snmp-bundle/nifi-snmp-processors/pom.xml | 2 --
 pom.xml                                                        | 9 ++++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/nifi-nar-bundles/nifi-snmp-bundle/nifi-snmp-processors/pom.xml b/nifi-nar-bundles/nifi-snmp-bundle/nifi-snmp-processors/pom.xml
index cf9cd2fa16..81d95301e2 100644
--- a/nifi-nar-bundles/nifi-snmp-bundle/nifi-snmp-processors/pom.xml
+++ b/nifi-nar-bundles/nifi-snmp-bundle/nifi-snmp-processors/pom.xml
@@ -54,8 +54,6 @@ language governing permissions and limitations under the License. -->
         <dependency>
             <groupId>com.fasterxml.jackson.core</groupId>
             <artifactId>jackson-databind</artifactId>
-            <version>2.12.3</version>
-            <scope>compile</scope>
         </dependency>
     </dependencies>
 
diff --git a/pom.xml b/pom.xml
index c4eb4d7478..f295fae127 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,7 +108,7 @@
         <org.slf4j.version>1.7.36</org.slf4j.version>
         <ranger.version>2.1.0</ranger.version>
         <jetty.version>9.4.46.v20220331</jetty.version>
-        <jackson.version>2.13.1</jackson.version>
+        <jackson.version>2.13.2</jackson.version>
         <jaxb.runtime.version>2.3.5</jaxb.runtime.version>
         <jakarta.xml.bind-api.version>2.3.3</jakarta.xml.bind-api.version>
         <nifi.groovy.version>3.0.8</nifi.groovy.version>
@@ -510,6 +510,13 @@
                 <artifactId>aspectjweaver</artifactId>
                 <version>${aspectj.version}</version>
             </dependency>
+            <dependency>
+                <groupId>com.fasterxml.jackson</groupId>
+                <artifactId>jackson-bom</artifactId>
+                <version>${jackson.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
             <!-- Set snappy-java version for compatibility across multiple Java versions -->
             <dependency>
                 <groupId>org.xerial.snappy</groupId>