diff --git a/build.gradle b/build.gradle
index 233957762c..0746731632 100644
--- a/build.gradle
+++ b/build.gradle
@@ -372,7 +372,15 @@ project('spring-integration-mongodb') {
dependencies {
compile project(":spring-integration-core")
compile "org.springframework:spring-context:$springVersion"
- compile "org.springframework.data:spring-data-mongodb:$springDataMongoVersion"
+ compile("org.springframework.data:spring-data-mongodb:$springDataMongoVersion") {
+ exclude group: 'org.springframework', module: 'spring-aop'
+ exclude group: 'org.springframework', module: 'spring-asm'
+ exclude group: 'org.springframework', module: 'spring-beans'
+ exclude group: 'org.springframework', module: 'spring-context'
+ exclude group: 'org.springframework', module: 'spring-core'
+ exclude group: 'org.springframework', module: 'spring-expression'
+ exclude group: 'org.springframework', module: 'spring-tx'
+ }
testCompile project(":spring-integration-test")
}
}
diff --git a/spring-integration-mongodb/pom.xml b/spring-integration-mongodb/pom.xml
index 1b14b801f5..d8a028a399 100644
--- a/spring-integration-mongodb/pom.xml
+++ b/spring-integration-mongodb/pom.xml
@@ -94,12 +94,6 @@
2.3
test
-
- org.springframework.integration
- spring-integration-test
- 2.1.0.BUILD-SNAPSHOT
- test
-
org.easymock
easymockclassextension
@@ -111,12 +105,36 @@
spring-data-mongodb
1.0.0.RC1
compile
-
-
- org.springframework.integration
- spring-integration-core
- 2.1.0.BUILD-SNAPSHOT
- compile
+
+
+ spring-context
+ org.springframework
+
+
+ spring-asm
+ org.springframework
+
+
+ spring-expression
+ org.springframework
+
+
+ spring-tx
+ org.springframework
+
+
+ spring-aop
+ org.springframework
+
+
+ spring-core
+ org.springframework
+
+
+ spring-beans
+ org.springframework
+
+
org.springframework
@@ -154,12 +172,24 @@
2.2
test
+
+ org.springframework.integration
+ spring-integration-test
+ 2.1.0.BUILD-SNAPSHOT
+ test
+
junit
junit-dep
4.8.2
test
+
+ org.springframework.integration
+ spring-integration-core
+ 2.1.0.BUILD-SNAPSHOT
+ compile
+
UTF8