Skip to content

Commit

Permalink
Fixed deps to work for all deployment targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Børlum committed Apr 11, 2011
1 parent ac8e4f7 commit 6a67d36
Showing 1 changed file with 27 additions and 14 deletions.
41 changes: 27 additions & 14 deletions subprojects/replication/replication.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,22 @@ dependencies {

compile project(':shared')

// PRECONDITIONS
//
// TODO: This should be removed for Java 7
// since it is part of the std lib.
// SERVLETS

compile 'com.google.code.findbugs:jsr305:1.3.9'
providedCompile libs.servlet_api

// REFLECTION

compile(libs.reflections) {
exclude group: 'ch.qos.logback'
exclude module: 'logback-classic'
}

// COMMONS CONFIGURATION
//
// Used in ApplicationContextListener to load properties.

compile(libs.commons_configuration) {
exclude group: 'commons-logging'
}

// COMMONS LANG
Expand All @@ -31,7 +36,8 @@ dependencies {

// Hibernate

providedCompile libs.hibernate
providedCompile libs.hibernate_entitymanager
runtime libs.hibernate_c3p0

// STS

Expand All @@ -40,19 +46,25 @@ dependencies {
// SAML

compile(libs.oiosaml) {
exclude module: 'commons-logging'
exclude module: 'servlet-api'
exclude group: 'org.slf4j'
exclude group: 'org.apache.xerces'
}

// SLA LOGGING
//
// The service is required to use NSP Util to
// log SLA.

compile 'dk.sdsd.nsp:nsp-util:1.0.0@jar'

// RID2CPR Client

// TODO: The POM is completely messed up in this dep.

compile('com.trifork:rid2cprclient:1.4@jar') {
runtime 'commons-httpclient:commons-httpclient:3.1'
compile ('com.trifork:xmlobject:1.11') {
exclude group: 'commons-logging'
runtime ('com.trifork:xmlobject:1.11') {

runtime libs.jodi_time

Expand All @@ -62,23 +74,24 @@ dependencies {

runtime libs.commons_io

exclude group: "javax.servlet"
exclude group: "avalon"
exclude group: "org.slf4j"
}
}

// MySQL
//
// For JBoss AS6 you will have to place JDBC
// drivers in the configuration's lib directory.

compile libs.mysql_driver
runtime libs.mysql_driver

// IO Utils

compile libs.commons_io

// Fast infoset

compile 'com.sun.xml.fastinfoset:FastInfoset:1.2.8'
providedCompile 'com.sun.xml.fastinfoset:FastInfoset:1.2.2'

// HTML Templates

Expand Down

0 comments on commit 6a67d36

Please sign in to comment.