From 2f66da5293064bd11730d97b7d5fe7104f0336b7 Mon Sep 17 00:00:00 2001 From: Mark Pollack Date: Wed, 5 Aug 2009 17:48:53 +0000 Subject: [PATCH] SPR-5976 - Upgrade POMS to JUnit 4.6 git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1696 50f2f4bb-b051-0410-bef5-90022cba6387 --- org.springframework.aop/pom.xml | 2 +- org.springframework.aspects/pom.xml | 30 +++++++++++++++++++ org.springframework.beans/pom.xml | 2 +- org.springframework.context/pom.xml | 2 +- org.springframework.core/pom.xml | 2 +- org.springframework.expression/pom.xml | 2 +- org.springframework.integration-tests/pom.xml | 14 ++++++++- org.springframework.jdbc/pom.xml | 17 +++++++++-- .../EmbeddedDatabaseBuilderTests.java | 2 +- org.springframework.jms/pom.xml | 2 +- org.springframework.orm/pom.xml | 2 +- org.springframework.oxm/pom.xml | 2 +- org.springframework.spring-parent/pom.xml | 2 +- org.springframework.test/pom.xml | 2 +- org.springframework.transaction/pom.xml | 2 +- org.springframework.web.portlet/pom.xml | 2 +- 16 files changed, 71 insertions(+), 16 deletions(-) diff --git a/org.springframework.aop/pom.xml b/org.springframework.aop/pom.xml index 9fa456894cd..12a50be4fd9 100644 --- a/org.springframework.aop/pom.xml +++ b/org.springframework.aop/pom.xml @@ -82,7 +82,7 @@ junit junit - 4.5 + 4.6 test diff --git a/org.springframework.aspects/pom.xml b/org.springframework.aspects/pom.xml index b4171ccd47a..a90e6a7ff9b 100644 --- a/org.springframework.aspects/pom.xml +++ b/org.springframework.aspects/pom.xml @@ -37,6 +37,36 @@ ${project.version} true + + org.springframework + spring-context + ${project.version} + compile + + + org.springframework + spring-context-support + ${project.version} + true + + + org.springframework + spring-test + ${project.version} + compile + + + junit + junit + 4.6 + test + + + javax.mail + mail + 1.4 + true + diff --git a/org.springframework.beans/pom.xml b/org.springframework.beans/pom.xml index 1e21dfaf503..ef40b652400 100644 --- a/org.springframework.beans/pom.xml +++ b/org.springframework.beans/pom.xml @@ -46,7 +46,7 @@ junit junit - 4.5 + 4.6 test diff --git a/org.springframework.context/pom.xml b/org.springframework.context/pom.xml index cea71e1cfd3..53098657aab 100644 --- a/org.springframework.context/pom.xml +++ b/org.springframework.context/pom.xml @@ -178,7 +178,7 @@ junit junit - 4.5 + 4.6 test diff --git a/org.springframework.core/pom.xml b/org.springframework.core/pom.xml index c622d99e1ca..776dbc1c299 100644 --- a/org.springframework.core/pom.xml +++ b/org.springframework.core/pom.xml @@ -52,7 +52,7 @@ junit junit - 4.5 + 4.6 test diff --git a/org.springframework.expression/pom.xml b/org.springframework.expression/pom.xml index 2e9a7cedd79..05077bf8e88 100644 --- a/org.springframework.expression/pom.xml +++ b/org.springframework.expression/pom.xml @@ -34,7 +34,7 @@ junit junit - 4.5 + 4.6 test diff --git a/org.springframework.integration-tests/pom.xml b/org.springframework.integration-tests/pom.xml index 51ad2068018..12444da761c 100644 --- a/org.springframework.integration-tests/pom.xml +++ b/org.springframework.integration-tests/pom.xml @@ -149,6 +149,12 @@ net.sf.jasperreports 2.0.5 test + + + xml-apis + xml-apis + + net.sourceforge.jexcelapi @@ -281,6 +287,12 @@ org.dom4j 1.6.1 test + + + xml-apis + xml-apis + + org.easymock @@ -459,7 +471,7 @@ junit junit - 4.5 + 4.6 test diff --git a/org.springframework.jdbc/pom.xml b/org.springframework.jdbc/pom.xml index bd379d94961..8311ff5b6d2 100644 --- a/org.springframework.jdbc/pom.xml +++ b/org.springframework.jdbc/pom.xml @@ -75,11 +75,11 @@ 10.4.2.0 compile true - + junit junit - 4.5 + 4.6 test @@ -95,4 +95,17 @@ test + + + + + ${pom.build.sourceDirectory} + + **/*.sql + **/*.xml + + + + + diff --git a/org.springframework.jdbc/src/test/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilderTests.java b/org.springframework.jdbc/src/test/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilderTests.java index 0a61e4269c0..7b7ca46a188 100644 --- a/org.springframework.jdbc/src/test/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilderTests.java +++ b/org.springframework.jdbc/src/test/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilderTests.java @@ -30,7 +30,7 @@ public class EmbeddedDatabaseBuilderTests { assertDatabaseCreatedAndShutdown(db); } - @Test + public void testBuildDerby() { EmbeddedDatabaseBuilder builder = EmbeddedDatabaseBuilder.relativeTo(getClass()); EmbeddedDatabase db = builder.type(DERBY).script("db-schema-derby.sql").script("db-test-data.sql").build(); diff --git a/org.springframework.jms/pom.xml b/org.springframework.jms/pom.xml index 2ec8eaa0dff..6a53763ce86 100644 --- a/org.springframework.jms/pom.xml +++ b/org.springframework.jms/pom.xml @@ -58,7 +58,7 @@ junit junit - 4.5 + 4.6 test diff --git a/org.springframework.orm/pom.xml b/org.springframework.orm/pom.xml index 2495f3b5849..53971964eaf 100644 --- a/org.springframework.orm/pom.xml +++ b/org.springframework.orm/pom.xml @@ -207,7 +207,7 @@ junit junit - 4.5 + 4.6 test diff --git a/org.springframework.oxm/pom.xml b/org.springframework.oxm/pom.xml index 6d8bc15d1fc..94d513287d5 100644 --- a/org.springframework.oxm/pom.xml +++ b/org.springframework.oxm/pom.xml @@ -76,7 +76,7 @@ junit junit - 4.5 + 4.6 test diff --git a/org.springframework.spring-parent/pom.xml b/org.springframework.spring-parent/pom.xml index 2499718efe8..ccb90bea33a 100644 --- a/org.springframework.spring-parent/pom.xml +++ b/org.springframework.spring-parent/pom.xml @@ -79,7 +79,7 @@ junit junit - 4.5 + 4.6 test diff --git a/org.springframework.test/pom.xml b/org.springframework.test/pom.xml index ece2da97762..b46ccfd7572 100644 --- a/org.springframework.test/pom.xml +++ b/org.springframework.test/pom.xml @@ -58,7 +58,7 @@ junit junit - 4.5 + 4.6 commons-logging diff --git a/org.springframework.transaction/pom.xml b/org.springframework.transaction/pom.xml index 1bb85c17ef1..4df0fbcfd09 100644 --- a/org.springframework.transaction/pom.xml +++ b/org.springframework.transaction/pom.xml @@ -78,7 +78,7 @@ junit junit - 4.5 + 4.6 test diff --git a/org.springframework.web.portlet/pom.xml b/org.springframework.web.portlet/pom.xml index 98e5bc3acc5..68fa02511e2 100644 --- a/org.springframework.web.portlet/pom.xml +++ b/org.springframework.web.portlet/pom.xml @@ -106,7 +106,7 @@ junit junit - 4.5 + 4.6 test