From 96882a4e5b0674bff393faec5c466c755ea39b15 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Sat, 10 Nov 2007 04:02:55 +0000 Subject: [PATCH] Supporting Spring 2.5 for building. --- core/pom.xml | 36 +++++++++++++--- pom.xml | 16 ++++++++ security/pom.xml | 41 ++++++++++++++----- .../validation/XmlValidatorFactoryTest.java | 5 +++ 4 files changed, 83 insertions(+), 15 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index 217e4007..2c5dfe72 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -1,4 +1,5 @@ - + spring-ws org.springframework.ws @@ -19,6 +20,35 @@ + + + spring-2.0 + + true + + + + org.springframework + spring-mock + + + + + spring-2.5 + + + spring.version + 2.5-rc1 + + + + + org.springframework + spring-test + + + + @@ -48,10 +78,6 @@ - - org.springframework - spring-mock - xml-apis diff --git a/pom.xml b/pom.xml index 2a554c83..6a83a16a 100644 --- a/pom.xml +++ b/pom.xml @@ -134,6 +134,11 @@ http://download.java.net/maven/1/ legacy + + spring-milestone + Springframework Maven Milestone Repository + http://s3.amazonaws.com/maven.springframework.org/milestone + @@ -442,6 +447,11 @@ spring-jdbc ${spring.version} + + org.springframework + spring-tx + ${spring.version} + org.springframework spring-jms @@ -458,6 +468,12 @@ ${spring.version} test + + org.springframework + spring-test + ${spring.version} + test + xerces diff --git a/security/pom.xml b/security/pom.xml index 520d1b03..3f6067df 100644 --- a/security/pom.xml +++ b/security/pom.xml @@ -1,4 +1,5 @@ - + spring-ws org.springframework.ws @@ -32,6 +33,35 @@ + + + spring-2.0 + + true + + + + org.springframework + spring-dao + + + + + spring-2.5 + + + spring.version + 2.5-rc1 + + + + + org.springframework + spring-tx + + + + @@ -49,15 +79,6 @@ spring-xml test - - - org.springframework - spring-dao - - - org.springframework - spring-mock - xml-apis diff --git a/xml/src/test/java/org/springframework/xml/validation/XmlValidatorFactoryTest.java b/xml/src/test/java/org/springframework/xml/validation/XmlValidatorFactoryTest.java index 9965e821..4f347266 100644 --- a/xml/src/test/java/org/springframework/xml/validation/XmlValidatorFactoryTest.java +++ b/xml/src/test/java/org/springframework/xml/validation/XmlValidatorFactoryTest.java @@ -19,6 +19,7 @@ package org.springframework.xml.validation; import java.io.File; import java.io.IOException; import java.io.InputStream; +import java.net.URI; import java.net.URL; import junit.framework.TestCase; @@ -81,6 +82,10 @@ public class XmlValidatorFactoryTest extends TestCase { throw new IOException(); } + public URI getURI() throws IOException { + throw new IOException(); + } + public boolean isOpen() { return false; }