From 5410e076a8df1cb15605add8485d75ffdc38bf45 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 24 Sep 2012 16:34:02 +0100 Subject: [PATCH] BATCH-1685: fix broken dependeny on spring-oxm --- spring-batch-infrastructure-tests/pom.xml | 4 +- spring-batch-infrastructure/pom.xml | 4 +- .../batch/item/xml/StaxUtils.java | 2 +- .../batch/support/JdbcTestUtils.java | 2 +- spring-batch-parent/pom.xml | 135 +++++++++--------- spring-batch-samples/pom.xml | 4 +- 6 files changed, 77 insertions(+), 74 deletions(-) diff --git a/spring-batch-infrastructure-tests/pom.xml b/spring-batch-infrastructure-tests/pom.xml index 82a6d5f5a..2443c4152 100644 --- a/spring-batch-infrastructure-tests/pom.xml +++ b/spring-batch-infrastructure-tests/pom.xml @@ -196,8 +196,8 @@ true - ${spring.oxm.group} - ${spring.oxm.artifact} + org.springframework + spring-oxm test diff --git a/spring-batch-infrastructure/pom.xml b/spring-batch-infrastructure/pom.xml index 3370ab903..369931b5c 100644 --- a/spring-batch-infrastructure/pom.xml +++ b/spring-batch-infrastructure/pom.xml @@ -163,8 +163,8 @@ true - ${spring.oxm.group} - ${spring.oxm.artifact} + org.springframework + spring-oxm true diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/xml/StaxUtils.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/xml/StaxUtils.java index 7ca1bf5ba..2d039f9b5 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/xml/StaxUtils.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/xml/StaxUtils.java @@ -40,8 +40,8 @@ import org.springframework.util.ClassUtils; * * @author Josh Long * - * @see org.springframework.xml.transform.StaxSource */ +@SuppressWarnings("restriction") public abstract class StaxUtils { private static final Log logger = LogFactory.getLog(StaxUtils.class); diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/JdbcTestUtils.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/JdbcTestUtils.java index 9fd20a468..ecf99bf28 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/JdbcTestUtils.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/JdbcTestUtils.java @@ -7,7 +7,7 @@ import org.springframework.jdbc.core.JdbcTemplate; /** *

* Util class based off {@link org.springframework.test.jdbc.SimpleJdbcTestUtils} but for JdbcTemplate - * rather than the deprecated {@link org.springframework.jdbc.core.simple.SimpleJdbcTemplate}. + * rather than the deprecated SimpleJdbcTemplate. * * This class should be removed when Batch uses Spring 3.2 - see: * https://jira.springsource.org/browse/SPR-9235 diff --git a/spring-batch-parent/pom.xml b/spring-batch-parent/pom.xml index 7a06d0ffd..d8e1321cb 100644 --- a/spring-batch-parent/pom.xml +++ b/spring-batch-parent/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 org.springframework.batch spring-batch-parent @@ -12,8 +13,8 @@ http://github.com/SpringSource/spring-batch scm:git:git://github.com/SpringSource/spring-batch.git scm:git:git://github.com/SpringSource/spring-batch.git - HEAD - + HEAD + Apache 2.0 @@ -28,15 +29,12 @@ - 3.1.2.RELEASE - org.springframework - spring-oxm - 3.0.7.RELEASE - 1.1.2.RELEASE - 4.10 + 3.1.2.RELEASE + 1.1.2.RELEASE + 4.10 1.0.0.RELEASE false - UTF-8 + UTF-8 @@ -169,8 +167,7 @@ - + org.eclipse.m2e lifecycle-mapping @@ -243,25 +240,25 @@ - - org.apache.maven.plugins - maven-site-plugin - 3.1 - - - org.apache.maven.wagon - wagon-ssh - 2.2 - - - + + org.apache.maven.plugins + maven-site-plugin + 3.1 + + + org.apache.maven.wagon + wagon-ssh + 2.2 + + + org.apache.maven.plugins maven-compiler-plugin - 2.5.1 + 2.5.1 1.5 1.5 @@ -285,7 +282,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.12.3 + 2.12.3 **/*Tests.java @@ -298,36 +295,36 @@ - - - objectstyle - ObjectStyle.org Repository - http://objectstyle.org/maven2/ - - false - - - - com.springsource.repository.bundles.release - SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases - http://repository.springsource.com/maven/bundles/release/ - - false - - - + + + objectstyle + ObjectStyle.org Repository + http://objectstyle.org/maven2/ + + false + + + + com.springsource.repository.bundles.release + SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases + http://repository.springsource.com/maven/bundles/release/ + + false + + + maven-jxr-plugin - 2.3 + 2.3 true maven-surefire-report-plugin - 2.12.3 + 2.12.3 true @@ -338,7 +335,7 @@ maven-javadoc-plugin - 2.8.1 + 2.8.1 true @@ -376,12 +373,12 @@ 2.4 test - - org.easymock - easymockclassextension - 2.4 - test - + + org.easymock + easymockclassextension + 2.4 + test + org.apache.geronimo.specs geronimo-jms_1.1_spec @@ -659,10 +656,16 @@ ${spring.framework.version} - ${spring.oxm.group} - ${spring.oxm.artifact} - ${spring.oxm.version} + org.springframework + spring-oxm + ${spring.framework.version} true + + + commons-lang + commons-lang + + org.springframework.osgi @@ -670,16 +673,16 @@ 1.1.2 true - - org.springframework.amqp - spring-amqp - ${spring.amqp.version} - - - org.springframework.amqp - spring-rabbit - ${spring.amqp.version} - + + org.springframework.amqp + spring-amqp + ${spring.amqp.version} + + + org.springframework.amqp + spring-rabbit + ${spring.amqp.version} + diff --git a/spring-batch-samples/pom.xml b/spring-batch-samples/pom.xml index d0cd3ea17..c44444cb9 100644 --- a/spring-batch-samples/pom.xml +++ b/spring-batch-samples/pom.xml @@ -200,8 +200,8 @@ spring-aop - ${spring.oxm.group} - ${spring.oxm.artifact} + org.springframework + spring-oxm org.springframework