You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vi...@apache.org on 2023/02/01 19:58:46 UTC
[ambari] 01/01: AMBARI-25851 : Need to update com.fasterxml.jackson.core :jackson-databind dependency
This is an automated email from the ASF dual-hosted git repository.
vishalsuvagia pushed a commit to branch AMBARI-25851-branch-2.7.7
in repository https://gitbox.apache.org/repos/asf/ambari.git
commit 523da41aad9636b0199f6c9d1399e5395bcd3baa
Author: Vishal Suvagia <vi...@apache.org>
AuthorDate: Thu Feb 2 01:27:03 2023 +0530
AMBARI-25851 : Need to update com.fasterxml.jackson.core :jackson-databind dependency
Issue:
Need to update com.fasterxml.jackson.core :jackson-databind dependency
Changes:
Updated com.fasterxml.jackson.core :jackson-databind dependency to minimum latest available version.
Excluded com.fasterxml.jackson.core :jackson-databind dependency from unwanted imports.
---
ambari-agent/pom.xml | 4 ++++
ambari-metrics/pom.xml | 2 +-
ambari-project/pom.xml | 8 +++++++-
ambari-server/pom.xml | 8 ++++++++
contrib/views/capacity-scheduler/pom.xml | 4 ++++
contrib/views/commons/pom.xml | 14 ++++++++++++++
contrib/views/pig/pom.xml | 8 ++++++++
contrib/views/utils/pom.xml | 16 ++++++++++++++++
contrib/views/wfmanager/pom.xml | 8 ++++++++
9 files changed, 70 insertions(+), 2 deletions(-)
diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index 674e15eed1..6397380867 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -161,6 +161,10 @@
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml
index 5a4b01c340..26be634fe1 100644
--- a/ambari-metrics/pom.xml
+++ b/ambari-metrics/pom.xml
@@ -58,7 +58,7 @@
<distMgmtStagingName>Apache Release Distribution Repository</distMgmtStagingName>
<distMgmtStagingUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl>
<fasterxml.jackson.version>2.10.0</fasterxml.jackson.version>
- <fasterxml.jackson.databind.version>2.10.0</fasterxml.jackson.databind.version>
+ <fasterxml.jackson.databind.version>2.13.5</fasterxml.jackson.databind.version>
</properties>
<distributionManagement>
<repository>
diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
index 62e9952d89..050bb9644c 100644
--- a/ambari-project/pom.xml
+++ b/ambari-project/pom.xml
@@ -43,7 +43,7 @@
<spring.version>5.3.22</spring.version>
<spring.security.version>5.7.2</spring.security.version>
<fasterxml.jackson.version>2.10.0</fasterxml.jackson.version>
- <fasterxml.jackson.databind.version>2.10.0</fasterxml.jackson.databind.version>
+ <fasterxml.jackson.databind.version>2.13.5</fasterxml.jackson.databind.version>
<postgres.version>42.2.2</postgres.version>
<forkCount>4</forkCount>
<reuseForks>false</reuseForks>
@@ -605,6 +605,12 @@
<groupId>io.swagger</groupId>
<artifactId>swagger-jaxrs</artifactId>
<version>${swagger.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 5c71799608..af16abbc31 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -1431,6 +1431,10 @@
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -1620,6 +1624,10 @@
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
diff --git a/contrib/views/capacity-scheduler/pom.xml b/contrib/views/capacity-scheduler/pom.xml
index f03d70722a..cf9cd6df67 100644
--- a/contrib/views/capacity-scheduler/pom.xml
+++ b/contrib/views/capacity-scheduler/pom.xml
@@ -51,6 +51,10 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
diff --git a/contrib/views/commons/pom.xml b/contrib/views/commons/pom.xml
index 317d489949..9a742e4873 100644
--- a/contrib/views/commons/pom.xml
+++ b/contrib/views/commons/pom.xml
@@ -58,6 +58,10 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -81,6 +85,16 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
+ </exclusions>
+ <exclusions>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
diff --git a/contrib/views/pig/pom.xml b/contrib/views/pig/pom.xml
index 42ab5b7830..0c28c44acc 100644
--- a/contrib/views/pig/pom.xml
+++ b/contrib/views/pig/pom.xml
@@ -100,6 +100,10 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -116,6 +120,10 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
diff --git a/contrib/views/utils/pom.xml b/contrib/views/utils/pom.xml
index 33779cb994..9c7b93ae8b 100644
--- a/contrib/views/utils/pom.xml
+++ b/contrib/views/utils/pom.xml
@@ -49,6 +49,10 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -65,6 +69,10 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -81,6 +89,10 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -98,6 +110,10 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
diff --git a/contrib/views/wfmanager/pom.xml b/contrib/views/wfmanager/pom.xml
index cbc4d8d38c..6606689023 100644
--- a/contrib/views/wfmanager/pom.xml
+++ b/contrib/views/wfmanager/pom.xml
@@ -95,6 +95,10 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -111,6 +115,10 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
</exclusions>
</dependency>
</dependencies>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org