From c818de6e458fea6214fa10c7cef16e9a317c9214 Mon Sep 17 00:00:00 2001 From: Aaron Klish Date: Thu, 7 May 2020 20:37:41 -0500 Subject: [PATCH] Fixing Dom4J Owasp Build Failure (by upgrading hibernate 5) (#1309) * Fixing Dom4J Owasp Build Failure (by upgrading hibernate 5) * Fixed typo in pom * Fixing build issues * Fixed hibernate search build issue * Fixed elide spring autoconfigure build by upgrading to latest spring * Fixing build for spring starter Co-authored-by: Aaron Klish Co-authored-by: William Cekan --- .../elide-datastore-hibernate3/pom.xml | 2 +- .../elide-datastore-hibernate5/pom.xml | 16 ---------------- elide-datastore/elide-datastore-search/pom.xml | 12 +++++++++++- elide-datastore/pom.xml | 12 +----------- .../elide-blog-example-resteasy/pom.xml | 8 +------- elide-integration-tests/pom.xml | 12 +----------- .../elide-spring-boot-autoconfigure/pom.xml | 2 +- elide-spring/elide-spring-boot-starter/pom.xml | 2 +- elide-standalone/pom.xml | 12 ------------ pom.xml | 2 +- 10 files changed, 18 insertions(+), 62 deletions(-) diff --git a/elide-datastore/elide-datastore-hibernate3/pom.xml b/elide-datastore/elide-datastore-hibernate3/pom.xml index 3c29fac4f9..adac434aea 100644 --- a/elide-datastore/elide-datastore-hibernate3/pom.xml +++ b/elide-datastore/elide-datastore-hibernate3/pom.xml @@ -109,7 +109,7 @@ org.dom4j dom4j - 2.1.1 + 2.1.3 diff --git a/elide-datastore/elide-datastore-hibernate5/pom.xml b/elide-datastore/elide-datastore-hibernate5/pom.xml index 528872809b..06d508f839 100644 --- a/elide-datastore/elide-datastore-hibernate5/pom.xml +++ b/elide-datastore/elide-datastore-hibernate5/pom.xml @@ -109,27 +109,12 @@ jasper-compiler tomcat - - dom4j - dom4j - org.hibernate hibernate-entitymanager ${hibernate5.version} - - - dom4j - dom4j - - - - - org.dom4j - dom4j - 2.1.1 @@ -178,7 +163,6 @@ org.hibernate hibernate-validator - ${hibernate5.version} test diff --git a/elide-datastore/elide-datastore-search/pom.xml b/elide-datastore/elide-datastore-search/pom.xml index 3396c43f60..f7f827f697 100644 --- a/elide-datastore/elide-datastore-search/pom.xml +++ b/elide-datastore/elide-datastore-search/pom.xml @@ -46,8 +46,18 @@ org.hibernate hibernate-search-orm 5.11.5.Final + + + dom4j + dom4j + + + + + org.dom4j + dom4j + 2.1.3 - com.fasterxml.jackson.core jackson-databind diff --git a/elide-datastore/pom.xml b/elide-datastore/pom.xml index e8197c8d27..b31f658af9 100644 --- a/elide-datastore/pom.xml +++ b/elide-datastore/pom.xml @@ -64,17 +64,7 @@ org.hibernate hibernate-validator - 5.3.3.Final - - - slf4j-api - org.slf4j - - - validation-api - javax.validation - - + 5.4.3.Final test diff --git a/elide-example/elide-blog-example-resteasy/pom.xml b/elide-example/elide-blog-example-resteasy/pom.xml index 188fba2129..a14c51c9bd 100644 --- a/elide-example/elide-blog-example-resteasy/pom.xml +++ b/elide-example/elide-blog-example-resteasy/pom.xml @@ -31,13 +31,7 @@ org.hibernate hibernate-entitymanager - 5.0.2.Final - - - dom4j - dom4j - - + ${hibernate5.version} mysql diff --git a/elide-integration-tests/pom.xml b/elide-integration-tests/pom.xml index 27c20d6c70..0263808fab 100644 --- a/elide-integration-tests/pom.xml +++ b/elide-integration-tests/pom.xml @@ -100,17 +100,7 @@ org.hibernate hibernate-validator - 5.4.0.Final - - - slf4j-api - org.slf4j - - - validation-api - javax.validation - - + 5.4.3.Final test diff --git a/elide-spring/elide-spring-boot-autoconfigure/pom.xml b/elide-spring/elide-spring-boot-autoconfigure/pom.xml index 59859680d6..af9457b999 100644 --- a/elide-spring/elide-spring-boot-autoconfigure/pom.xml +++ b/elide-spring/elide-spring-boot-autoconfigure/pom.xml @@ -40,7 +40,7 @@ - 2.2.5.RELEASE + 2.2.7.RELEASE 9.0.34 utf-8 1.8 diff --git a/elide-spring/elide-spring-boot-starter/pom.xml b/elide-spring/elide-spring-boot-starter/pom.xml index dc42d68b3c..cd72e0b880 100644 --- a/elide-spring/elide-spring-boot-starter/pom.xml +++ b/elide-spring/elide-spring-boot-starter/pom.xml @@ -40,7 +40,7 @@ - 2.2.5.RELEASE + 2.2.7.RELEASE diff --git a/elide-standalone/pom.xml b/elide-standalone/pom.xml index c6e0b0314d..34734aaaa0 100644 --- a/elide-standalone/pom.xml +++ b/elide-standalone/pom.xml @@ -86,19 +86,7 @@ org.hibernate hibernate-core ${hibernate5.version} - - - dom4j - dom4j - - - - org.dom4j - dom4j - 2.1.1 - - org.hibernate hibernate-hikaricp diff --git a/pom.xml b/pom.xml index a1ed3f98f1..1cda5c3e06 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ 5.6.2 3.6.10.Final 8.0.19 - 5.4.2.Final + 5.4.15.Final ${project.basedir}/..