From 4ad3d30a40d30a9733ed0e080e90af60154185f0 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Sun, 25 Aug 2013 08:20:32 -0700 Subject: [PATCH] Fixup CLI POM Fix classloader issues by excluding spring JARs from test classpath and also include spring-integration-groovy-dsl as a managed dependency. --- spring-boot-cli/pom.xml | 45 ++++++++++++++++++-------------- spring-boot-dependencies/pom.xml | 6 +++++ spring-boot-parent/pom.xml | 4 +-- 3 files changed, 33 insertions(+), 22 deletions(-) diff --git a/spring-boot-cli/pom.xml b/spring-boot-cli/pom.xml index d4cbd60eace..1a0f99dbbd6 100644 --- a/spring-boot-cli/pom.xml +++ b/spring-boot-cli/pom.xml @@ -34,6 +34,12 @@ groovy-templates true + + + org.springframework.integration + spring-integration-dsl-groovy-core + provided + ${project.groupId} @@ -43,26 +49,8 @@ test - org.springframework - spring-core - - - org.springframework - spring-context - - - - - org.springframework - spring-test - - - org.springframework - spring-core - - - org.springframework - spring-context + ${project.groupId} + spring-boot @@ -81,6 +69,23 @@ + + maven-surefire-plugin + + + org.springframework:spring-core + org.springframework:spring-beans + org.springframework:spring-aop + org.springframework:spring-tx + org.springframework:spring-expression + org.springframework:spring-context + org.springframework:spring-test + org.springframework.retry:spring-retry + org.springframework.integration:spring-integration-core + org.springframework.integration:spring-integration-dsl-groovy-core + + + maven-shade-plugin diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index 57aa71b37a4..3f022b6d457 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -10,6 +10,7 @@ 4.0.0.BUILD-SNAPSHOT 3.2.0.RC1 2.2.4.RELEASE + 1.0.0.M1 2.2.0.RELEASE 2.1.6 1.6 @@ -354,6 +355,11 @@ spring-integration-stream ${spring.integration.version} + + org.springframework.integration + spring-integration-dsl-groovy-core + ${spring.integration.groovydsl.version} + org.springframework.security spring-security-core diff --git a/spring-boot-parent/pom.xml b/spring-boot-parent/pom.xml index 94f5ca236ce..5458f5e8a2d 100644 --- a/spring-boot-parent/pom.xml +++ b/spring-boot-parent/pom.xml @@ -34,7 +34,7 @@ - net.sf.jopt-simple @@ -294,7 +294,7 @@ - spring-snapshot-build