From d6ab8e37b36d02de2f57b5fa40bd16a661e94810 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Wed, 13 Jul 2011 20:22:00 +0200 Subject: [PATCH] Polished test dependencies. Upgraded to Hamcrest 1.2.1. Removed obsolete Log4J transitive dependency exclusions as 1.2.16 does not include these dependencies anymore. Using Mockito and JUnit dependencies not containing Hamcrest types. --- spring-data-commons-core/pom.xml | 4 ++-- spring-data-commons-parent/pom.xml | 33 ++++++++++-------------------- 2 files changed, 13 insertions(+), 24 deletions(-) diff --git a/spring-data-commons-core/pom.xml b/spring-data-commons-core/pom.xml index 5571a3b75..a67fcf050 100644 --- a/spring-data-commons-core/pom.xml +++ b/spring-data-commons-core/pom.xml @@ -54,13 +54,13 @@ org.mockito - mockito-all + mockito-core test junit - junit + junit-dep org.springframework diff --git a/spring-data-commons-parent/pom.xml b/spring-data-commons-parent/pom.xml index 6a80c931b..94e11eb99 100644 --- a/spring-data-commons-parent/pom.xml +++ b/spring-data-commons-parent/pom.xml @@ -15,6 +15,7 @@ 1.2.16 1.8.4 3.0.5.RELEASE + 1.2.1 @@ -133,24 +134,6 @@ log4j log4j ${log4j.version} - - - javax.mail - mail - - - javax.jms - jms - - - com.sun.jdmk - jmxtools - - - com.sun.jmx - jmxri - - runtime @@ -163,14 +146,14 @@ org.mockito - mockito-all + mockito-core ${org.mockito.version} test junit - junit + junit-dep ${junit.version} test @@ -194,8 +177,14 @@ org.hamcrest - hamcrest-all - 1.1 + hamcrest-library + ${org.hamcrest.version} + test + + + org.hamcrest + hamcrest-core + ${org.hamcrest.version} test