From 8154161ef5eb6d0b78132d11e0ed24c80edfc99d Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Thu, 18 Dec 2008 02:37:00 +0000 Subject: [PATCH] SEC-1035: Updated build to use Spring 3.0.0.M1 Release --- acl/pom.xml | 6 +- cas/pom.xml | 4 +- core/pom.xml | 38 ++-- itest/misc/pom.xml | 2 +- itest/pom.xml | 56 ++--- openid/pom.xml | 6 +- pom.xml | 205 +++++++++++++----- portlet/pom.xml | 2 +- samples/cas/client/pom.xml | 8 +- samples/contacts/pom.xml | 8 +- .../java/sample/contact/DeleteController.java | 4 +- samples/dms/pom.xml | 6 +- samples/ldap/pom.xml | 8 +- samples/openid/pom.xml | 8 +- samples/portlet/pom.xml | 11 +- samples/preauth/pom.xml | 8 +- samples/tutorial/pom.xml | 8 +- sandbox/captcha/pom.xml | 2 +- sandbox/heavyduty/pom.xml | 12 +- sandbox/other/pom.xml | 2 +- sandbox/webflow/pom.xml | 8 +- taglibs/pom.xml | 18 +- .../AuthorizeTagExpressionLanguageTests.java | 21 +- 23 files changed, 265 insertions(+), 186 deletions(-) diff --git a/acl/pom.xml b/acl/pom.xml index 19940c0e59..29178e11ad 100644 --- a/acl/pom.xml +++ b/acl/pom.xml @@ -35,15 +35,15 @@ org.springframework - spring-context-support + org.springframework.context.support org.springframework - spring-jdbc + org.springframework.jdbc org.springframework - spring-test + org.springframework.test test diff --git a/cas/pom.xml b/cas/pom.xml index 963c07a494..2e58c49113 100644 --- a/cas/pom.xml +++ b/cas/pom.xml @@ -28,11 +28,11 @@ org.springframework - spring-tx + org.springframework.transaction org.springframework - spring-test + org.springframework.test true diff --git a/core/pom.xml b/core/pom.xml index f177c4218c..a07264d4dd 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -13,43 +13,41 @@ org.springframework org.springframework.expression - 3.0.0.BUILD-SNAPSHOT - - - org.springframework - org.springframework.core - - - org.apache.commons - com.springsource.org.apache.commons.logging - - + + + org.antlr + antlr + + + + asm + asm-all + + + org.springframework + org.springframework.core org.springframework - spring-core + org.springframework.context org.springframework - spring-context + org.springframework.aop org.springframework - spring-aop - - - org.springframework - spring-jdbc + org.springframework.jdbc true org.springframework - spring-web + org.springframework.web true org.springframework - spring-test + org.springframework.test true diff --git a/itest/misc/pom.xml b/itest/misc/pom.xml index 8c822d07cb..f74154d372 100644 --- a/itest/misc/pom.xml +++ b/itest/misc/pom.xml @@ -14,7 +14,7 @@ org.springframework - spring-test + org.springframework.test 2.5.5 test diff --git a/itest/pom.xml b/itest/pom.xml index 3fede2a411..9959259c44 100644 --- a/itest/pom.xml +++ b/itest/pom.xml @@ -14,11 +14,11 @@ context - + org.springframework spring - 2.5.5 + 2.5.6 commons-logging @@ -29,13 +29,14 @@ org.springframework spring-test + 2.5.6 commons-logging commons-logging - + org.springframework.security spring-security-core @@ -43,37 +44,21 @@ org.springframework - spring-core + org.springframework.core org.springframework - spring-context + org.springframework.context org.springframework - spring-aop + org.springframework.aop commons-logging commons-logging - - - - org.aspectj - aspectjrt - 1.6.1 - - - org.aspectj - aspectjweaver - 1.6.1 - - - org.slf4j - slf4j-api - 1.4.3 - runtime + org.apache.directory.server @@ -85,7 +70,7 @@ commons-logging commons-logging - + org.apache.directory.server @@ -101,13 +86,12 @@ org.springframework.ldap - spring-ldap - 1.2.1 + spring-ldap-core runtime org.springframework - spring-core + org.springframework.core org.springframework @@ -116,9 +100,15 @@ commons-logging commons-logging - - - + + + + + org.slf4j + slf4j-api + 1.4.3 + runtime + org.slf4j slf4j-log4j12 @@ -134,8 +124,6 @@ log4j log4j - 1.2.13 - runtime @@ -183,10 +171,10 @@ - + 6.1.11 - + diff --git a/openid/pom.xml b/openid/pom.xml index f919a720a6..10bd45ba20 100644 --- a/openid/pom.xml +++ b/openid/pom.xml @@ -26,17 +26,17 @@ org.springframework - spring-core + org.springframework.core true org.springframework - spring-web + org.springframework.web true org.springframework - spring-test + org.springframework.test true diff --git a/pom.xml b/pom.xml index 0b8b07b615..5c78e2f085 100644 --- a/pom.xml +++ b/pom.xml @@ -49,9 +49,9 @@ bamboo https://build.springframework.org/browse/SEC - + - + spring-milestone Spring Milestone Repository @@ -91,17 +91,22 @@ SpringSource Enterprise Bundle Repository - SpringSource Snapshot Releases http://repository.springsource.com/maven/bundles/snapshot + + com.springsource.repository.bundles.mileston + SpringSource Enterprise Bundle Repository - SpringSource Milestone Releases + http://repository.springsource.com/maven/bundles/milestone + spring-milestone Spring Portfolio Milestone Repository http://s3.amazonaws.com/maven.springframework.org/milestone - - - springExternal - Spring external dependencies - http://maven.springframework.org/external/ - + + + springExternal + Spring external dependencies + http://maven.springframework.org/external/ + @@ -238,10 +243,10 @@ Ruud Senden - + Michael Mayr - + @@ -261,7 +266,7 @@ 1.2.2 - + org.apache.maven.plugins maven-help-plugin @@ -307,7 +312,7 @@ 1.5 1.5 - + org.apache.maven.plugins @@ -458,11 +463,11 @@ org.apache.maven.plugins maven-surefire-report-plugin 2.4.2 - + +--> org.apache.maven.plugins @@ -472,7 +477,7 @@ bigbank/** - + - + org.codehaus.mojo @@ -553,7 +558,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin 2.0.1 - - +--> + @@ -574,84 +579,162 @@ org.springframework - spring-core + org.springframework.core ${spring.version} + + + org.apache.commons + com.springsource.org.apache.commons.logging + + org.springframework - spring-test - ${spring.version} - - - - org.springframework - spring-web + org.springframework.expression ${spring.version} + + + org.apache.commons + com.springsource.org.apache.commons.logging + + + org.antlr + com.springsource.org.antlr + + + true org.springframework - spring-jdbc + org.springframework.test ${spring.version} + + + org.apache.commons + com.springsource.org.apache.commons.logging + + org.springframework - spring-tx + org.springframework.jdbc ${spring.version} + + + org.apache.commons + com.springsource.org.apache.commons.logging + + org.springframework - spring-aop + org.springframework.transaction ${spring.version} + + + org.apache.commons + com.springsource.org.apache.commons.logging + + org.springframework - spring-context + org.springframework.aop ${spring.version} + + + org.apache.commons + com.springsource.org.apache.commons.logging + + org.springframework - spring-context-support + org.springframework.context ${spring.version} - + + + org.apache.commons + com.springsource.org.apache.commons.logging + + + + + org.springframework + org.springframework.context.support + ${spring.version} + + + org.apache.commons + com.springsource.org.apache.commons.logging + + + + + org.springframework + org.springframework.web + ${spring.version} + + + org.apache.commons + com.springsource.org.apache.commons.logging + + + + + org.springframework + org.springframework.web.servlet + ${spring.version} + + + org.apache.commons + com.springsource.org.apache.commons.logging + + + org.springframework.ldap spring-ldap-core 1.3.0.RC1 + + + commons-logging + commons-logging + + org.aspectj com.springsource.org.aspectj.runtime 1.6.2.RELEASE - + org.aspectj com.springsource.org.aspectj.weaver 1.6.2.RELEASE - org.springframework - spring-webmvc - ${spring.version} - + + org.antlr + antlr + 3.0.1 + true + runtime + + + + asm + asm-all + 2.2.3 + true + runtime + cglib cglib-nodep test true 2.1_3 - - - log4j - log4j - 1.2.14 - true - runtime net.sf.ehcache @@ -667,6 +750,7 @@ hsqldb hsqldb 1.8.0.7 + runtime org.jmock @@ -702,16 +786,23 @@ standard ${jstl.version} runtime - + + + log4j + log4j + 1.2.14 + true + runtime + - 2.5.6 + 3.0.0.M1 1.1.2 6.1.11 ${basedir}/src/docbkx - ${basedir}/target/site/guide + ${basedir}/target/site/guide diff --git a/portlet/pom.xml b/portlet/pom.xml index 810a83cbfd..8d587d1093 100644 --- a/portlet/pom.xml +++ b/portlet/pom.xml @@ -32,7 +32,7 @@ org.springframework - spring-test + org.springframework.test ${spring.version} test diff --git a/samples/cas/client/pom.xml b/samples/cas/client/pom.xml index 966ed9056a..f2964ba2e0 100644 --- a/samples/cas/client/pom.xml +++ b/samples/cas/client/pom.xml @@ -22,20 +22,20 @@ org.springframework - spring-web + org.springframework.web org.springframework - spring-webmvc + org.springframework.web.servlet org.springframework - spring-jdbc + org.springframework.jdbc runtime org.springframework - spring-aop + org.springframework.aop runtime diff --git a/samples/contacts/pom.xml b/samples/contacts/pom.xml index 1d8d67dd0e..1212cf890f 100644 --- a/samples/contacts/pom.xml +++ b/samples/contacts/pom.xml @@ -27,22 +27,22 @@ org.springframework - spring-webmvc + org.springframework.web.servlet compile org.springframework - spring-jdbc + org.springframework.jdbc compile org.springframework - spring-aop + org.springframework.aop runtime org.springframework - spring-test + org.springframework.test test diff --git a/samples/contacts/src/main/java/sample/contact/DeleteController.java b/samples/contacts/src/main/java/sample/contact/DeleteController.java index 390a7bba6b..2b3da26a90 100644 --- a/samples/contacts/src/main/java/sample/contact/DeleteController.java +++ b/samples/contacts/src/main/java/sample/contact/DeleteController.java @@ -19,7 +19,7 @@ import org.springframework.beans.factory.InitializingBean; import org.springframework.util.Assert; -import org.springframework.web.bind.RequestUtils; +import org.springframework.web.bind.ServletRequestUtils; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.mvc.Controller; @@ -49,7 +49,7 @@ public class DeleteController implements Controller, InitializingBean { public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - int id = RequestUtils.getRequiredIntParameter(request, "contactId"); + int id = ServletRequestUtils.getRequiredIntParameter(request, "contactId"); Contact contact = contactManager.getById(new Long(id)); contactManager.delete(contact); diff --git a/samples/dms/pom.xml b/samples/dms/pom.xml index 4c5170e326..e102a53a10 100644 --- a/samples/dms/pom.xml +++ b/samples/dms/pom.xml @@ -20,7 +20,7 @@ org.springframework - spring-jdbc + org.springframework.jdbc javax.servlet @@ -28,12 +28,12 @@ org.springframework - spring-aop + org.springframework.aop runtime org.springframework - spring-test + org.springframework.test ${spring.version} diff --git a/samples/ldap/pom.xml b/samples/ldap/pom.xml index 9a4627817b..61bd0491ce 100644 --- a/samples/ldap/pom.xml +++ b/samples/ldap/pom.xml @@ -17,21 +17,21 @@ org.springframework - spring-web + org.springframework.web org.springframework - spring-webmvc + org.springframework.web.servlet ${spring.version} org.springframework - spring-jdbc + org.springframework.jdbc runtime org.springframework - spring-aop + org.springframework.aop runtime diff --git a/samples/openid/pom.xml b/samples/openid/pom.xml index 3074d9e610..c158653fc7 100644 --- a/samples/openid/pom.xml +++ b/samples/openid/pom.xml @@ -22,22 +22,22 @@ org.springframework - spring-web + org.springframework.web runtime org.springframework - spring-webmvc + org.springframework.web.servlet runtime org.springframework - spring-jdbc + org.springframework.jdbc runtime org.springframework - spring-aop + org.springframework.aop runtime diff --git a/samples/portlet/pom.xml b/samples/portlet/pom.xml index f210a77a4c..fd7b8092aa 100644 --- a/samples/portlet/pom.xml +++ b/samples/portlet/pom.xml @@ -32,19 +32,12 @@ org.springframework - spring + org.springframework.web.portlet ${spring.version} org.springframework - spring-portlet - 2.0.8 - - - org.springframework - spring-test - ${spring.version} - test + org.springframework.test