From 90bc5d52cc83c974303a92f43f5c1c4986050074 Mon Sep 17 00:00:00 2001 From: Zabil Cheriya Maliackal Date: Tue, 2 Jun 2015 11:08:44 +0530 Subject: [PATCH] #000 Removed/Upgraded libs that's pulling older versions of xerces as a transitive dependency. --- app-server/pom.xml | 24 ------------------- config/config-api/pom.xml | 2 +- jetty6/pom.xml | 24 ------------------- jetty9/pom.xml | 24 ------------------- .../pluggabletask/TaskExtensionTest.java | 2 +- .../go/server/dao/DatabaseAccessHelper.java | 9 +++---- test-utils/pom.xml | 2 +- 7 files changed, 8 insertions(+), 79 deletions(-) diff --git a/app-server/pom.xml b/app-server/pom.xml index a84e6e68b07..a3b6ea336ef 100644 --- a/app-server/pom.xml +++ b/app-server/pom.xml @@ -177,30 +177,6 @@ ${project.parent.version} test - - com.tlb - tlb-java - 0.3.2-90-g6df47e3 - test - - - commons-io - commons-io - - - commons-codec - commons-codec - - - log4j - log4j - - - xalan - xalan - - - diff --git a/config/config-api/pom.xml b/config/config-api/pom.xml index 1f03a595fa2..59b17ea8572 100644 --- a/config/config-api/pom.xml +++ b/config/config-api/pom.xml @@ -92,7 +92,7 @@ jaxen jaxen - 1.1 + 1.1.6 test diff --git a/jetty6/pom.xml b/jetty6/pom.xml index cab5c00e769..36e7b2bb304 100644 --- a/jetty6/pom.xml +++ b/jetty6/pom.xml @@ -206,30 +206,6 @@ ${project.parent.version} test - - com.tlb - tlb-java - 0.3.2-90-g6df47e3 - test - - - commons-io - commons-io - - - commons-codec - commons-codec - - - log4j - log4j - - - xalan - xalan - - - diff --git a/jetty9/pom.xml b/jetty9/pom.xml index 60f13f17e3f..69bfb268304 100644 --- a/jetty9/pom.xml +++ b/jetty9/pom.xml @@ -198,30 +198,6 @@ ${project.parent.version} test - - com.tlb - tlb-java - 0.3.2-90-g6df47e3 - test - - - commons-io - commons-io - - - commons-codec - commons-codec - - - log4j - log4j - - - xalan - xalan - - - diff --git a/plugin-infra/go-plugin-access/test/com/thoughtworks/go/plugin/access/pluggabletask/TaskExtensionTest.java b/plugin-infra/go-plugin-access/test/com/thoughtworks/go/plugin/access/pluggabletask/TaskExtensionTest.java index c6a87ba16ea..df62f8a626b 100644 --- a/plugin-infra/go-plugin-access/test/com/thoughtworks/go/plugin/access/pluggabletask/TaskExtensionTest.java +++ b/plugin-infra/go-plugin-access/test/com/thoughtworks/go/plugin/access/pluggabletask/TaskExtensionTest.java @@ -28,9 +28,9 @@ import org.junit.Test; import static junit.framework.Assert.assertTrue; -import static junitx.framework.Assert.fail; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; +import static org.junit.Assert.fail; import static org.mockito.Mockito.*; public class TaskExtensionTest { diff --git a/server/test/common/com/thoughtworks/go/server/dao/DatabaseAccessHelper.java b/server/test/common/com/thoughtworks/go/server/dao/DatabaseAccessHelper.java index bdda660fa62..03812cacb15 100644 --- a/server/test/common/com/thoughtworks/go/server/dao/DatabaseAccessHelper.java +++ b/server/test/common/com/thoughtworks/go/server/dao/DatabaseAccessHelper.java @@ -58,6 +58,7 @@ import org.apache.log4j.Logger; import org.dbunit.DataSourceDatabaseTester; import org.dbunit.IDatabaseTester; +import org.dbunit.database.AmbiguousTableNameException; import org.dbunit.dataset.DefaultDataSet; import org.dbunit.dataset.DefaultTable; import org.dbunit.operation.DatabaseOperation; @@ -100,7 +101,7 @@ public class DatabaseAccessHelper extends HibernateDaoSupport { private InstanceFactory instanceFactory; @Deprecated // Should not be creating a new spring context for every test - public DatabaseAccessHelper() { + public DatabaseAccessHelper() throws AmbiguousTableNameException { ClassPathXmlApplicationContext context = createDataContext(); dataSource = (DataSource) context.getBean("dataSource"); initialize(dataSource); @@ -120,7 +121,7 @@ private ClassPathXmlApplicationContext createDataContext() { } @Deprecated //use Autowired version - public DatabaseAccessHelper(DataSource dataSource) { + public DatabaseAccessHelper(DataSource dataSource) throws AmbiguousTableNameException { this.dataSource = dataSource; initialize(dataSource); } @@ -138,7 +139,7 @@ public DatabaseAccessHelper(DataSource dataSource, TransactionTemplate transactionTemplate, TransactionSynchronizationManager transactionSynchronizationManager, GoCache goCache, - PipelineService pipelineService, InstanceFactory instanceFactory) { + PipelineService pipelineService, InstanceFactory instanceFactory) throws AmbiguousTableNameException { this.dataSource = dataSource; this.sqlMapClient = sqlMapClient; this.stageDao = stageDao; @@ -156,7 +157,7 @@ public DatabaseAccessHelper(DataSource dataSource, initialize(dataSource); } - private void initialize(DataSource dataSource) { + private void initialize(DataSource dataSource) throws AmbiguousTableNameException { databaseTester = new DataSourceDatabaseTester(dataSource); databaseTester.setSetUpOperation(DatabaseOperation.CLEAN_INSERT); databaseTester.setTearDownOperation(DatabaseOperation.DELETE_ALL); diff --git a/test-utils/pom.xml b/test-utils/pom.xml index 74de04b8429..d6aa6420802 100644 --- a/test-utils/pom.xml +++ b/test-utils/pom.xml @@ -266,7 +266,7 @@ org.dbunit dbunit - 2.3.0 + 2.5.1 commons-lang