From 708364f1cc1555587c55623a7ee212d6be2f13aa Mon Sep 17 00:00:00 2001 From: dsyer Date: Wed, 3 Dec 2008 21:21:01 +0000 Subject: [PATCH] Make as many dependencies as possible optional (it's not inherited from parent apparently). --- spring-batch-core/pom.xml | 13 +++++++ spring-batch-infrastructure-tests/pom.xml | 5 +++ spring-batch-infrastructure/pom.xml | 46 ++++++++++++----------- spring-batch-integration/pom.xml | 5 ++- spring-batch-samples/pom.xml | 6 +++ spring-batch-test/pom.xml | 6 +++ 6 files changed, 58 insertions(+), 23 deletions(-) diff --git a/spring-batch-core/pom.xml b/spring-batch-core/pom.xml index 5c50f9b59..5ce6b7c10 100644 --- a/spring-batch-core/pom.xml +++ b/spring-batch-core/pom.xml @@ -28,6 +28,7 @@ org.objectweb.asm com.springsource.org.objectweb.asm.commons + true org.hsqldb @@ -38,6 +39,10 @@ com.springsource.org.apache.commons.io test + + org.apache.commons + com.springsource.org.apache.commons.lang + org.easymock com.springsource.org.easymock @@ -70,6 +75,7 @@ org.eclipse.osgi org.eclipse.osgi + true @@ -96,6 +102,7 @@ org.springframework.osgi org.springframework.osgi.core + true org.springframework @@ -110,6 +117,12 @@ javax.annotation com.springsource.javax.annotation + + stax + stax + + true + diff --git a/spring-batch-infrastructure-tests/pom.xml b/spring-batch-infrastructure-tests/pom.xml index 30cc602fb..036dc9ebb 100644 --- a/spring-batch-infrastructure-tests/pom.xml +++ b/spring-batch-infrastructure-tests/pom.xml @@ -73,6 +73,11 @@ com.springsource.org.apache.commons.io test + + org.apache.commons + com.springsource.org.apache.commons.lang + test + org.apache.derby com.springsource.org.apache.derby diff --git a/spring-batch-infrastructure/pom.xml b/spring-batch-infrastructure/pom.xml index 89cf89526..4c47be80b 100644 --- a/spring-batch-infrastructure/pom.xml +++ b/spring-batch-infrastructure/pom.xml @@ -74,10 +74,12 @@ net.sourceforge.cglib com.springsource.net.sf.cglib + true javax.jms com.springsource.javax.jms + true org.apache.commons @@ -86,6 +88,7 @@ org.apache.commons com.springsource.org.apache.commons.lang + true org.apache.commons @@ -100,44 +103,26 @@ org.hibernate com.springsource.org.hibernate + true org.hibernate com.springsource.org.hibernate.ejb + true org.hibernate com.springsource.org.hibernate.annotations + true javax.transaction com.springsource.javax.transaction - - - net.sourceforge.cglib - com.springsource.net.sf.cglib + true org.apache.ibatis com.springsource.com.ibatis - - - javax.persistence - com.springsource.javax.persistence - - - - stax - stax - - - - org.springframework.ws - org.springframework.oxm - - - org.springframework - org.springframework.aop true @@ -145,6 +130,23 @@ com.springsource.javax.persistence true + + + stax + stax + true + + + + org.springframework.ws + org.springframework.oxm + true + + + org.springframework + org.springframework.aop + true + org.springframework org.springframework.core diff --git a/spring-batch-integration/pom.xml b/spring-batch-integration/pom.xml index f7f45a50e..bf2fdaf6b 100644 --- a/spring-batch-integration/pom.xml +++ b/spring-batch-integration/pom.xml @@ -1,5 +1,6 @@ - + org.springframework.batch @@ -55,6 +56,7 @@ javax.jms com.springsource.javax.jms + true junit @@ -110,6 +112,7 @@ org.springframework org.springframework.jms + true org.springframework diff --git a/spring-batch-samples/pom.xml b/spring-batch-samples/pom.xml index c7f2a9334..41f0e5608 100644 --- a/spring-batch-samples/pom.xml +++ b/spring-batch-samples/pom.xml @@ -165,6 +165,12 @@ db2jcc 9.5.0 test --> + + stax + stax + + true + org.springframework diff --git a/spring-batch-test/pom.xml b/spring-batch-test/pom.xml index f2fd608e6..77d156bac 100755 --- a/spring-batch-test/pom.xml +++ b/spring-batch-test/pom.xml @@ -55,6 +55,12 @@ com.springsource.org.apache.commons.collections + + stax + stax + + true +