From e6dfd7c5336e20e737e6724784c739348bae9094 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 27 Apr 2015 10:47:07 +0100 Subject: [PATCH] =?UTF-8?q?Work=20around=20problems=20with=20GemFire=208.0?= =?UTF-8?q?=E2=80=99s=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GemFire 8.0 depends on two different versions of xml-apis:xml-apis and org.eclipse.jdt.core.compiler:ecj. This commit adds dependency management for those two dependencies to address the dependency convergence errors reported by Maven’s enforcer plugin. GemFire 8.0 also depends on commons-logging and Spring Boot starters should use jcl-over-slf4j instead. This commit adds an exclusion for commons-logging GemFire 8.0 depends (optionally) on spring-data-gemfire and spring-data-gemfire depends on GemFire, i.e. there’s a dependency cycle between the two projects. This commit breaks this cycle by adding an exclusion for spring-data-gemfire to the dependency management for com.gemstone.gemfire:gemfire. This commit should be reverted once the problems with GemFire’s dependencies have been addressed. See gh-2884. --- spring-boot-dependencies/pom.xml | 18 ++++++++++++++++++ .../spring-boot-starter-data-gemfire/pom.xml | 6 ++++++ 2 files changed, 24 insertions(+) diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index 8239198287..2f095547d6 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -64,6 +64,7 @@ 2.9.1 3.2.1 2.3.22 + 4.4.2 1.4.4 8.0.0 3.0.0 @@ -146,6 +147,7 @@ 1.7 2.0 1.6.3 + 1.3.04 3.0.2 @@ -497,6 +499,12 @@ com.gemstone.gemfire gemfire ${gemfire.version} + + + org.springframework.data + spring-data-gemfire + + com.github.mxab.thymeleaf.extras @@ -995,6 +1003,11 @@ crash.shell ${crashub.version} + + org.eclipse.jdt.core.compiler + ecj + ${ecj.version} + org.eclipse.jetty jetty-annotations @@ -1586,6 +1599,11 @@ wsdl4j ${wsdl4j.version} + + xml-apis + xml-apis + ${xml-apis.version} + diff --git a/spring-boot-starters/spring-boot-starter-data-gemfire/pom.xml b/spring-boot-starters/spring-boot-starter-data-gemfire/pom.xml index c651150127..c32b8379bf 100644 --- a/spring-boot-starters/spring-boot-starter-data-gemfire/pom.xml +++ b/spring-boot-starters/spring-boot-starter-data-gemfire/pom.xml @@ -25,6 +25,12 @@ com.gemstone.gemfire gemfire + + + commons-logging + commons-logging + + org.springframework.data