From 143591ed9887e1cc61669b42dc4ec06d49cf4568 Mon Sep 17 00:00:00 2001 From: Tim Donohue Date: Thu, 18 Oct 2012 14:07:29 -0500 Subject: [PATCH] Cleanup POM Dependencies. Remove dependeny tags from submodule POMs when the version is already specified by dspace-parent POM. Also ensure all 'servlet-api' dependencies have a provided as they should. --- dspace-oai/pom.xml | 1 + dspace-services/pom.xml | 6 ------ dspace-sword/pom.xml | 7 +------ dspace-swordv2/pom.xml | 1 - dspace-xmlui/pom.xml | 2 -- dspace/modules/additions/pom.xml | 1 + dspace/modules/oai/pom.xml | 1 - dspace/modules/solr/pom.xml | 1 - dspace/pom.xml | 2 +- 9 files changed, 4 insertions(+), 18 deletions(-) diff --git a/dspace-oai/pom.xml b/dspace-oai/pom.xml index b843ce60d8..7f1cc42fdf 100644 --- a/dspace-oai/pom.xml +++ b/dspace-oai/pom.xml @@ -89,6 +89,7 @@ javax.servlet servlet-api + provided org.slf4j diff --git a/dspace-services/pom.xml b/dspace-services/pom.xml index a6d7cce6da..dc1e61088e 100644 --- a/dspace-services/pom.xml +++ b/dspace-services/pom.xml @@ -29,7 +29,6 @@ commons-lang commons-lang - 2.4 @@ -42,14 +41,12 @@ javax.servlet servlet-api - 2.4 provided junit junit - 4.5 provided @@ -73,20 +70,17 @@ log4j log4j - 1.2.14 commons-logging commons-logging - 1.1.1 jar provided commons-collections commons-collections - 3.2 diff --git a/dspace-sword/pom.xml b/dspace-sword/pom.xml index 2d7fd83716..1428afc47c 100644 --- a/dspace-sword/pom.xml +++ b/dspace-sword/pom.xml @@ -105,28 +105,24 @@ commons-fileupload commons-fileupload - 1.2 commons-httpclient commons-httpclient - 3.1 javax.servlet servlet-api - 2.4 + provided junit junit - 4.0 test log4j log4j - 1.2.15 jmxtools @@ -150,7 +146,6 @@ commons-io commons-io - 1.3.1 diff --git a/dspace-swordv2/pom.xml b/dspace-swordv2/pom.xml index bbda7e08c1..781ad114dc 100644 --- a/dspace-swordv2/pom.xml +++ b/dspace-swordv2/pom.xml @@ -113,7 +113,6 @@ log4j log4j - 1.2.15 jmxtools diff --git a/dspace-xmlui/pom.xml b/dspace-xmlui/pom.xml index c3ba0533b6..71bb80a258 100644 --- a/dspace-xmlui/pom.xml +++ b/dspace-xmlui/pom.xml @@ -96,7 +96,6 @@ jdom jdom - 1.0 org.apache.cocoon @@ -205,7 +204,6 @@ commons-validator commons-validator - 1.3.1 net.sf.opencsv diff --git a/dspace/modules/additions/pom.xml b/dspace/modules/additions/pom.xml index 35689549d7..8d6beea9f4 100644 --- a/dspace/modules/additions/pom.xml +++ b/dspace/modules/additions/pom.xml @@ -78,6 +78,7 @@ javax.servlet servlet-api + provided ant-contrib diff --git a/dspace/modules/oai/pom.xml b/dspace/modules/oai/pom.xml index 86e178e6b0..d83b2b7935 100644 --- a/dspace/modules/oai/pom.xml +++ b/dspace/modules/oai/pom.xml @@ -85,7 +85,6 @@ org.dspace dspace-oai - 3.0-rc2-SNAPSHOT jar classes diff --git a/dspace/modules/solr/pom.xml b/dspace/modules/solr/pom.xml index d8215015dd..ceac391417 100644 --- a/dspace/modules/solr/pom.xml +++ b/dspace/modules/solr/pom.xml @@ -70,7 +70,6 @@ xalan xalan - 2.7.0 diff --git a/dspace/pom.xml b/dspace/pom.xml index 10bc775026..ac341514e8 100644 --- a/dspace/pom.xml +++ b/dspace/pom.xml @@ -93,7 +93,7 @@ javax.servlet servlet-api - 2.3 + provided