diff --git a/build.gradle b/build.gradle
index 11ba2d116c..42ade5cd4f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -116,7 +116,7 @@ configure(javaprojects) {
easymockVersion = '2.3'
jacksonVersion = '1.4.3'
javaxActivationVersion = '1.1.1'
- junitVersion = '4.7'
+ junitVersion = '4.8.2'
log4jVersion = '1.2.12'
mockitoVersion = '1.8.4'
springVersion = '3.0.5.RELEASE'
@@ -134,7 +134,7 @@ configure(javaprojects) {
// dependencies that are common across all java projects
dependencies {
testCompile "cglib:cglib-nodep:$cglibVersion"
- testCompile "junit:junit:$junitVersion"
+ testCompile "junit:junit-dep:$junitVersion"
testCompile "log4j:log4j:$log4jVersion"
testCompile "org.easymock:easymock:$easymockVersion"
testCompile "org.easymock:easymockclassextension:$easymockVersion"
@@ -185,7 +185,9 @@ project('spring-integration-feed') {
dependencies {
compile project(":spring-integration-core")
compile "org.springframework:spring-context:$springVersion"
- compile "net.java.dev.rome:rome-fetcher:1.0.0"
+ compile("net.java.dev.rome:rome-fetcher:1.0.0") {
+ exclude group: 'junit', module: 'junit'
+ }
compile "net.java.dev.rome:rome:1.0.0"
testCompile project(":spring-integration-test")
}
@@ -226,7 +228,10 @@ project('spring-integration-http') {
compile project(":spring-integration-core")
compile "org.springframework:spring-webmvc:$springVersion"
compile("javax.servlet:servlet-api:2.4") { provided = true }
- compile("commons-httpclient:commons-httpclient:3.1") { optional = true }
+ compile("commons-httpclient:commons-httpclient:3.1") {
+ optional = true
+ exclude group: 'junit', module: 'junit'
+ }
testCompile project(":spring-integration-test")
}
}
@@ -352,7 +357,7 @@ project('spring-integration-test') {
description = 'Spring Integration Test Support'
dependencies {
compile project(":spring-integration-core")
- compile "junit:junit:$junitVersion"
+ compile "junit:junit-dep:$junitVersion"
compile "org.mockito:mockito-all:$mockitoVersion"
compile "org.springframework:spring-context:$springVersion"
}
diff --git a/spring-integration-event/pom.xml b/spring-integration-event/pom.xml
index 1e93cef2af..c50c7318ad 100644
--- a/spring-integration-event/pom.xml
+++ b/spring-integration-event/pom.xml
@@ -94,12 +94,6 @@
3.0.5.RELEASE
compile
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.springframework
spring-test
@@ -112,12 +106,6 @@
1.8.4
test
-
- junit
- junit
- 4.7
- test
-
log4j
log4j
@@ -130,6 +118,12 @@
2.2
test
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
org.springframework.integration
spring-integration-core
diff --git a/spring-integration-feed/pom.xml b/spring-integration-feed/pom.xml
index 0e17a14fb8..4932a5c04e 100644
--- a/spring-integration-feed/pom.xml
+++ b/spring-integration-feed/pom.xml
@@ -70,30 +70,6 @@
-
- org.springframework
- spring-context
- 3.0.5.RELEASE
- compile
-
-
- net.java.dev.rome
- rome-fetcher
- 1.0.0
- compile
-
-
- cglib
- cglib-nodep
- 2.2
- test
-
-
- log4j
- log4j
- 1.2.12
- test
-
org.easymock
easymock
@@ -114,14 +90,26 @@
org.springframework
- spring-test
+ spring-context
3.0.5.RELEASE
- test
+ compile
- org.hamcrest
- hamcrest-all
- 1.1
+ net.java.dev.rome
+ rome-fetcher
+ 1.0.0
+ compile
+
+
+ junit
+ junit
+
+
+
+
+ org.springframework
+ spring-test
+ 3.0.5.RELEASE
test
@@ -131,16 +119,22 @@
test
- junit
- junit
- 4.7
+ log4j
+ log4j
+ 1.2.12
test
- org.springframework.integration
- spring-integration-core
- 2.0.0.BUILD-SNAPSHOT
- compile
+ cglib
+ cglib-nodep
+ 2.2
+ test
+
+
+ junit
+ junit-dep
+ 4.8.2
+ test
net.java.dev.rome
@@ -148,6 +142,12 @@
1.0.0
compile
+
+ org.springframework.integration
+ spring-integration-core
+ 2.0.0.BUILD-SNAPSHOT
+ compile
+
UTF8
diff --git a/spring-integration-file/pom.xml b/spring-integration-file/pom.xml
index c708411293..cbfb8b2593 100644
--- a/spring-integration-file/pom.xml
+++ b/spring-integration-file/pom.xml
@@ -94,12 +94,6 @@
3.0.5.RELEASE
compile
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.springframework
spring-test
@@ -112,12 +106,6 @@
1.8.4
test
-
- junit
- junit
- 4.7
- test
-
log4j
log4j
@@ -130,6 +118,12 @@
2.2
test
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
org.springframework.integration
spring-integration-core
diff --git a/spring-integration-ftp/pom.xml b/spring-integration-ftp/pom.xml
index f475190266..c68aa70242 100644
--- a/spring-integration-ftp/pom.xml
+++ b/spring-integration-ftp/pom.xml
@@ -71,15 +71,9 @@
- cglib
- cglib-nodep
- 2.2
- test
-
-
- log4j
- log4j
- 1.2.12
+ org.easymock
+ easymock
+ 2.3
test
@@ -88,12 +82,6 @@
2.0
compile
-
- org.easymock
- easymock
- 2.3
- test
-
org.easymock
easymockclassextension
@@ -125,12 +113,6 @@
3.0.5.RELEASE
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.mockito
mockito-all
@@ -143,10 +125,22 @@
3.0.5.RELEASE
compile
+
+ log4j
+ log4j
+ 1.2.12
+ test
+
+
+ cglib
+ cglib-nodep
+ 2.2
+ test
+
junit
- junit
- 4.7
+ junit-dep
+ 4.8.2
test
diff --git a/spring-integration-groovy/pom.xml b/spring-integration-groovy/pom.xml
index 0c8bf3d20e..922999c439 100644
--- a/spring-integration-groovy/pom.xml
+++ b/spring-integration-groovy/pom.xml
@@ -82,12 +82,6 @@
2.3
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.springframework
spring-test
@@ -106,12 +100,6 @@
1.8.4
test
-
- junit
- junit
- 4.7
- test
-
org.springframework
spring-context-support
@@ -130,6 +118,12 @@
2.2
test
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
org.springframework.integration
spring-integration-core
diff --git a/spring-integration-http/pom.xml b/spring-integration-http/pom.xml
index fd1e7a69b3..3937b87c90 100644
--- a/spring-integration-http/pom.xml
+++ b/spring-integration-http/pom.xml
@@ -70,41 +70,29 @@
-
- org.springframework
- spring-webmvc
- 3.0.5.RELEASE
- compile
-
-
- javax.servlet
- servlet-api
- 2.4
- provided
-
-
- cglib
- cglib-nodep
- 2.2
- test
-
-
- log4j
- log4j
- 1.2.12
- test
-
org.easymock
easymock
2.3
test
+
+ org.springframework
+ spring-webmvc
+ 3.0.5.RELEASE
+ compile
+
commons-httpclient
commons-httpclient
3.1
compile
+
+
+ junit
+ junit
+
+
true
@@ -125,22 +113,34 @@
3.0.5.RELEASE
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.mockito
mockito-all
1.8.4
test
+
+ javax.servlet
+ servlet-api
+ 2.4
+ provided
+
+
+ log4j
+ log4j
+ 1.2.12
+ test
+
+
+ cglib
+ cglib-nodep
+ 2.2
+ test
+
junit
- junit
- 4.7
+ junit-dep
+ 4.8.2
test
diff --git a/spring-integration-httpinvoker/pom.xml b/spring-integration-httpinvoker/pom.xml
index da76bf1b3a..86c843b889 100644
--- a/spring-integration-httpinvoker/pom.xml
+++ b/spring-integration-httpinvoker/pom.xml
@@ -94,12 +94,6 @@
2.3
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.springframework
spring-test
@@ -118,12 +112,6 @@
2.4
provided
-
- junit
- junit
- 4.7
- test
-
log4j
log4j
@@ -136,6 +124,12 @@
2.2
test
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
org.springframework.integration
spring-integration-core
diff --git a/spring-integration-ip/pom.xml b/spring-integration-ip/pom.xml
index 2585ac878c..48a330569d 100644
--- a/spring-integration-ip/pom.xml
+++ b/spring-integration-ip/pom.xml
@@ -100,12 +100,6 @@
3.0.5.RELEASE
compile
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.springframework
spring-test
@@ -118,12 +112,6 @@
1.8.4
test
-
- junit
- junit
- 4.7
- test
-
log4j
log4j
@@ -136,6 +124,12 @@
2.2
test
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
org.springframework.integration
spring-integration-core
diff --git a/spring-integration-jdbc/pom.xml b/spring-integration-jdbc/pom.xml
index b121b5df4c..b77f253a61 100644
--- a/spring-integration-jdbc/pom.xml
+++ b/spring-integration-jdbc/pom.xml
@@ -82,18 +82,18 @@
3.0.5.RELEASE
compile
-
- org.apache.derby
- derby
- 10.5.3.0_1
- test
-
org.aspectj
aspectjweaver
1.6.8
test
+
+ org.apache.derby
+ derby
+ 10.5.3.0_1
+ test
+
cglib
cglib-nodep
@@ -142,12 +142,6 @@
3.0.5.RELEASE
compile
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.springframework
spring-test
@@ -166,18 +160,18 @@
1.8.4
test
-
- junit
- junit
- 4.7
- test
-
org.aspectj
aspectjrt
1.6.8
test
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
org.springframework.integration
spring-integration-core
diff --git a/spring-integration-jms/pom.xml b/spring-integration-jms/pom.xml
index 44d252e7ba..c963150052 100644
--- a/spring-integration-jms/pom.xml
+++ b/spring-integration-jms/pom.xml
@@ -142,12 +142,6 @@
3.0.5.RELEASE
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.mockito
mockito-all
@@ -156,8 +150,8 @@
junit
- junit
- 4.7
+ junit-dep
+ 4.8.2
test
diff --git a/spring-integration-jmx/pom.xml b/spring-integration-jmx/pom.xml
index 3ace60194e..7e00135076 100644
--- a/spring-integration-jmx/pom.xml
+++ b/spring-integration-jmx/pom.xml
@@ -88,12 +88,6 @@
3.0.5.RELEASE
compile
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.springframework
spring-test
@@ -112,12 +106,6 @@
1.8.4
test
-
- junit
- junit
- 4.7
- test
-
org.aspectj
aspectjrt
@@ -136,6 +124,12 @@
2.2
test
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
org.springframework.integration
spring-integration-core
diff --git a/spring-integration-mail/pom.xml b/spring-integration-mail/pom.xml
index 5bcc5bc03e..0c3fae0053 100644
--- a/spring-integration-mail/pom.xml
+++ b/spring-integration-mail/pom.xml
@@ -70,18 +70,6 @@
-
- cglib
- cglib-nodep
- 2.2
- test
-
-
- log4j
- log4j
- 1.2.12
- test
-
org.easymock
easymock
@@ -119,12 +107,6 @@
3.0.5.RELEASE
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.mockito
mockito-all
@@ -137,10 +119,22 @@
3.0.5.RELEASE
compile
+
+ log4j
+ log4j
+ 1.2.12
+ test
+
+
+ cglib
+ cglib-nodep
+ 2.2
+ test
+
junit
- junit
- 4.7
+ junit-dep
+ 4.8.2
test
diff --git a/spring-integration-rmi/pom.xml b/spring-integration-rmi/pom.xml
index 6c04f8e6ea..109c8ff307 100644
--- a/spring-integration-rmi/pom.xml
+++ b/spring-integration-rmi/pom.xml
@@ -94,12 +94,6 @@
3.0.5.RELEASE
compile
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.springframework
spring-test
@@ -112,12 +106,6 @@
1.8.4
test
-
- junit
- junit
- 4.7
- test
-
log4j
log4j
@@ -130,6 +118,12 @@
2.2
test
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
org.springframework.integration
spring-integration-core
diff --git a/spring-integration-security/pom.xml b/spring-integration-security/pom.xml
index 9156c2c9db..6f05b8e488 100644
--- a/spring-integration-security/pom.xml
+++ b/spring-integration-security/pom.xml
@@ -70,30 +70,6 @@
-
- org.springframework.security
- spring-security-core
- 3.0.5.RELEASE
- compile
-
-
- spring-support
- org.springframework
-
-
-
-
- cglib
- cglib-nodep
- 2.2
- test
-
-
- log4j
- log4j
- 1.2.12
- test
-
org.easymock
easymock
@@ -124,18 +100,6 @@
3.0.5.RELEASE
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
-
- org.mockito
- mockito-all
- 1.8.4
- test
-
org.springframework.security
spring-security-config
@@ -148,10 +112,40 @@
+
+ org.mockito
+ mockito-all
+ 1.8.4
+ test
+
+
+ org.springframework.security
+ spring-security-core
+ 3.0.5.RELEASE
+ compile
+
+
+ spring-support
+ org.springframework
+
+
+
+
+ log4j
+ log4j
+ 1.2.12
+ test
+
+
+ cglib
+ cglib-nodep
+ 2.2
+ test
+
junit
- junit
- 4.7
+ junit-dep
+ 4.8.2
test
diff --git a/spring-integration-sftp/pom.xml b/spring-integration-sftp/pom.xml
index 41050b72b0..b19ebc7a93 100644
--- a/spring-integration-sftp/pom.xml
+++ b/spring-integration-sftp/pom.xml
@@ -131,30 +131,24 @@
3.0.5.RELEASE
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.mockito
mockito-all
1.8.4
test
-
- junit
- junit
- 4.7
- test
-
org.springframework
spring-context-support
3.0.5.RELEASE
compile
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
org.springframework.integration
spring-integration-core
diff --git a/spring-integration-stream/pom.xml b/spring-integration-stream/pom.xml
index 9e03b9767e..8cf106062c 100644
--- a/spring-integration-stream/pom.xml
+++ b/spring-integration-stream/pom.xml
@@ -88,12 +88,6 @@
3.0.5.RELEASE
compile
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.springframework
spring-test
@@ -106,12 +100,6 @@
1.8.4
test
-
- junit
- junit
- 4.7
- test
-
log4j
log4j
@@ -124,6 +112,12 @@
2.2
test
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
org.springframework.integration
spring-integration-core
diff --git a/spring-integration-test/pom.xml b/spring-integration-test/pom.xml
index 18c3f73b23..d48b06eca7 100644
--- a/spring-integration-test/pom.xml
+++ b/spring-integration-test/pom.xml
@@ -88,12 +88,6 @@
3.0.5.RELEASE
compile
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.springframework
spring-test
@@ -106,12 +100,6 @@
1.8.4
compile
-
- junit
- junit
- 4.7
- compile
-
log4j
log4j
@@ -124,6 +112,12 @@
2.2
test
+
+ junit
+ junit-dep
+ 4.8.2
+ compile
+
org.springframework.integration
spring-integration-core
diff --git a/spring-integration-twitter/pom.xml b/spring-integration-twitter/pom.xml
index 2aeedb33d5..ce2539ec6b 100644
--- a/spring-integration-twitter/pom.xml
+++ b/spring-integration-twitter/pom.xml
@@ -70,24 +70,6 @@
-
- org.twitter4j
- twitter4j-core
- 2.1.3
- compile
-
-
- cglib
- cglib-nodep
- 2.2
- test
-
-
- log4j
- log4j
- 1.2.12
- test
-
org.easymock
easymock
@@ -119,12 +101,6 @@
3.0.5.RELEASE
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.mockito
mockito-all
@@ -137,10 +113,28 @@
3.0.5.RELEASE
compile
+
+ log4j
+ log4j
+ 1.2.12
+ test
+
+
+ cglib
+ cglib-nodep
+ 2.2
+ test
+
+
+ org.twitter4j
+ twitter4j-core
+ 2.1.3
+ compile
+
junit
- junit
- 4.7
+ junit-dep
+ 4.8.2
test
diff --git a/spring-integration-ws/pom.xml b/spring-integration-ws/pom.xml
index 36cbc9fe0a..218f2505b3 100644
--- a/spring-integration-ws/pom.xml
+++ b/spring-integration-ws/pom.xml
@@ -151,30 +151,24 @@
3.0.5.RELEASE
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.mockito
mockito-all
1.8.4
test
-
- junit
- junit
- 4.7
- test
-
org.springframework.integration
spring-integration-core
2.0.0.BUILD-SNAPSHOT
compile
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
UTF8
diff --git a/spring-integration-xml/pom.xml b/spring-integration-xml/pom.xml
index b0f1f8d4fc..4cae21d715 100644
--- a/spring-integration-xml/pom.xml
+++ b/spring-integration-xml/pom.xml
@@ -131,12 +131,6 @@
3.0.5.RELEASE
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.springframework.ws
spring-xml
@@ -151,8 +145,8 @@
junit
- junit
- 4.7
+ junit-dep
+ 4.8.2
test
diff --git a/spring-integration-xmpp/pom.xml b/spring-integration-xmpp/pom.xml
index 30ffe77d56..1b30cf94e7 100644
--- a/spring-integration-xmpp/pom.xml
+++ b/spring-integration-xmpp/pom.xml
@@ -131,30 +131,24 @@
3.0.5.RELEASE
test
-
- org.hamcrest
- hamcrest-all
- 1.1
- test
-
org.mockito
mockito-all
1.8.4
test
-
- junit
- junit
- 4.7
- test
-
org.springframework
spring-context-support
3.0.5.RELEASE
compile
+
+ junit
+ junit-dep
+ 4.8.2
+ test
+
org.springframework.integration
spring-integration-core