Skip to content

Commit

Permalink
Fixing Dom4J Owasp Build Failure (by upgrading hibernate 5) (#1309)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: William Cekan <[email protected]>
  • Loading branch information
3 people authored May 8, 2020
1 parent ba4e301 commit c818de6
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 62 deletions.
2 changes: 1 addition & 1 deletion elide-datastore/elide-datastore-hibernate3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<dependency>
<groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>2.1.1</version>
<version>2.1.3</version>
</dependency>
<!-- For proper serialization in elide-core -->
<dependency>
Expand Down
16 changes: 0 additions & 16 deletions elide-datastore/elide-datastore-hibernate5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,27 +109,12 @@
<artifactId>jasper-compiler</artifactId>
<groupId>tomcat</groupId>
</exclusion>
<exclusion>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>${hibernate5.version}</version>
<exclusions>
<exclusion>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>2.1.1</version>
</dependency>
<!-- For proper serialization in elide-core -->
<dependency>
Expand Down Expand Up @@ -178,7 +163,6 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>${hibernate5.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
12 changes: 11 additions & 1 deletion elide-datastore/elide-datastore-search/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,18 @@
<groupId>org.hibernate</groupId>
<artifactId>hibernate-search-orm</artifactId>
<version>5.11.5.Final</version>
<exclusions>
<exclusion>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>2.1.3</version>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
Expand Down
12 changes: 1 addition & 11 deletions elide-datastore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,7 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>5.3.3.Final</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>validation-api</artifactId>
<groupId>javax.validation</groupId>
</exclusion>
</exclusions>
<version>5.4.3.Final</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
8 changes: 1 addition & 7 deletions elide-example/elide-blog-example-resteasy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,7 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.0.2.Final</version>
<exclusions>
<exclusion>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
</exclusions>
<version>${hibernate5.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
Expand Down
12 changes: 1 addition & 11 deletions elide-integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,7 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>5.4.0.Final</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>validation-api</artifactId>
<groupId>javax.validation</groupId>
</exclusion>
</exclusions>
<version>5.4.3.Final</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion elide-spring/elide-spring-boot-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</scm>

<properties>
<spring.boot.version>2.2.5.RELEASE</spring.boot.version>
<spring.boot.version>2.2.7.RELEASE</spring.boot.version>
<tomcat.version>9.0.34</tomcat.version>
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
<min_jdk_version>1.8</min_jdk_version>
Expand Down
2 changes: 1 addition & 1 deletion elide-spring/elide-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</scm>

<properties>
<spring.boot.version>2.2.5.RELEASE</spring.boot.version>
<spring.boot.version>2.2.7.RELEASE</spring.boot.version>
</properties>

<dependencies>
Expand Down
12 changes: 0 additions & 12 deletions elide-standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,7 @@
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate5.version}</version>
<exclusions>
<exclusion>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>2.1.1</version>
</dependency>

<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-hikaricp</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<version.junit>5.6.2</version.junit>
<hibernate3.version>3.6.10.Final</hibernate3.version>
<version.mysql>8.0.19</version.mysql>
<hibernate5.version>5.4.2.Final</hibernate5.version>
<hibernate5.version>5.4.15.Final</hibernate5.version>

<!-- TODO: Need to update locations to be relative to the projects using them -->
<parent.pom.dir>${project.basedir}/..</parent.pom.dir>
Expand Down

0 comments on commit c818de6

Please sign in to comment.