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

andy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/master by this push:
     new d8c7366  JENA-1696: Control of jackson versions. Update jsonld-java
     new 642d647  Merge pull request #549 from afs/jackson-update
d8c7366 is described below

commit d8c73666197ba1534839281260925ff4f55df959
Author: Andy Seaborne <[email protected]>
AuthorDate: Thu Mar 28 10:15:24 2019 +0000

    JENA-1696: Control of jackson versions. Update jsonld-java
---
 jena-arq/pom.xml | 10 ++++++++++
 pom.xml          | 33 +++++++++++++++++++++++++++++----
 2 files changed, 39 insertions(+), 4 deletions(-)

diff --git a/jena-arq/pom.xml b/jena-arq/pom.xml
index 3b3cca6..5a37cd3 100644
--- a/jena-arq/pom.xml
+++ b/jena-arq/pom.xml
@@ -78,6 +78,16 @@
       <artifactId>jsonld-java</artifactId>
     </dependency>
 
+    <!-- See parent POM. Our choice of version here. -->
+    <dependency>
+      <groupId>com.fasterxml.jackson.core</groupId>
+      <artifactId>jackson-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.fasterxml.jackson.core</groupId>
+      <artifactId>jackson-databind</artifactId>
+    </dependency>
+
     <!-- replace that used via jsonld-java -->
     <dependency>
       <groupId>org.apache.httpcomponents</groupId>
diff --git a/pom.xml b/pom.xml
index 0a63994..5803fb1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,11 +57,15 @@
     <ver.libthrift>0.10.0</ver.libthrift>
 
     <!-- jsonld-java depends on depends on Jackson core
-         artifacts so the versions must align. Consult jsonld-java's 
-         POM for the correct dependency versions 
+         and Jackson databind. databind has had a few CVEs 
+         so we exclude from jsonldjava and select the version
+         ourselves.
+         When upgrading jsonld, consult jsonld-java's  
+         POM for the correct dependency versions
+         and use that or later.
     -->
-    <ver.jsonldjava>0.12.1</ver.jsonldjava>
-    <ver.jackson>2.9.6</ver.jackson>
+    <ver.jsonldjava>0.12.3</ver.jsonldjava>
+    <ver.jackson>2.9.8</ver.jackson>
 
     <ver.commonsio>2.6</ver.commonsio>
     <ver.commonscli>1.4</ver.commonscli>
@@ -316,6 +320,17 @@
       </dependency>
       
       <dependency>
+        <groupId>com.fasterxml.jackson.core</groupId>
+        <artifactId>jackson-core</artifactId>
+        <version>${ver.jackson}</version>
+      </dependency>
+      <dependency>
+        <groupId>com.fasterxml.jackson.core</groupId>
+        <artifactId>jackson-databind</artifactId>
+        <version>${ver.jackson}</version>
+      </dependency>
+
+      <dependency>
         <groupId>org.apache.thrift</groupId>
         <artifactId>libthrift</artifactId>
         <version>${ver.libthrift}</version>
@@ -368,6 +383,16 @@
         <artifactId>jsonld-java</artifactId>
         <version>${ver.jsonldjava}</version>
         <exclusions>
+
+          <exclusion>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-core</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-databind</artifactId>
+          </exclusion>
+
           <exclusion>
             <groupId>commons-logging</groupId>
             <artifactId>commons-logging</artifactId>

Reply via email to