Skip to content

Commit

Permalink
Merge pull request #1171 from zabil/xercesDependencyCleanup
Browse files Browse the repository at this point in the history
#000 Removed/Upgraded libs that's pulling older versions of xerces
  • Loading branch information
jyotisingh committed Jun 10, 2015
2 parents 204f94f + 90bc5d5 commit 3e05075
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 79 deletions.
24 changes: 0 additions & 24 deletions app-server/pom.xml
Expand Up @@ -177,30 +177,6 @@
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.tlb</groupId>
<artifactId>tlb-java</artifactId>
<version>0.3.2-90-g6df47e3</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand Down
2 changes: 1 addition & 1 deletion config/config-api/pom.xml
Expand Up @@ -92,7 +92,7 @@
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<version>1.1</version>
<version>1.1.6</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
24 changes: 0 additions & 24 deletions jetty6/pom.xml
Expand Up @@ -206,30 +206,6 @@
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.tlb</groupId>
<artifactId>tlb-java</artifactId>
<version>0.3.2-90-g6df47e3</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand Down
24 changes: 0 additions & 24 deletions jetty9/pom.xml
Expand Up @@ -198,30 +198,6 @@
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.tlb</groupId>
<artifactId>tlb-java</artifactId>
<version>0.3.2-90-g6df47e3</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand Down
Expand Up @@ -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 {
Expand Down
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand All @@ -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);
}
Expand All @@ -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;
Expand All @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion test-utils/pom.xml
Expand Up @@ -266,7 +266,7 @@
<dependency>
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<version>2.3.0</version>
<version>2.5.1</version>
<exclusions>
<exclusion>
<groupId>commons-lang</groupId>
Expand Down

0 comments on commit 3e05075

Please sign in to comment.