Just a quick response from a lurker... but maybe something else is
depending on the newer version?
What does gradle -n say? It should show where that version is coming from.
-Paul
On 12/30/2010 1:08 PM, StormeHawke wrote:
Ok, so I've specified the following dependency for my war project:
compile 'org.springframework.security:spring-security-core:2.0.5.RELEASE'
but when I look in my war file's lib dir, I find that I'm getting version
3.0.3.RELEASE instead? I'm transitioning this project from an ant/maven
hybrid, and I went through and copied the exact version numbers for all
dependencies. I'm rather at a loss here.
If it helps, here are my project dependencies, starting from the top level
and working down:
project(':app:DPU2')
{ dependencies {
compile project(':api:util')
compile project(':api:schema')
compile project(':api:core')
compile project(':api:intellispec')
providedCompile 'javax.servlet:servlet-api:2.5'
providedCompile 'javax.servlet:jsp-api:2.0'
providedCompile 'mysql:mysql-connector-java:5.1.13'
providedRuntime 'xerces:xercesImpl:2.6.2' //Don't want these
jars in the
war, they conflict with other jars
providedRuntime 'xalan:xalan:2.6.0'
providedRuntime 'jdom:jdom:1.0'
compile 'org.apache.geronimo.specs:geronimo-jta_1.1_spec:1.1'
compile 'org.hibernate:hibernate-annotations:3.4.0.GA'
compile 'com.sun.jmx:jmxri:1.2.1'
compile 'org.springframework:spring:2.5.6.SEC01'
compile 'org.slf4j:slf4j-api:1.5.6'
compile 'org.slf4j:slf4j-log4j12:1.5.6'
compile
'org.springframework.security:spring-security-core:2.0.5.RELEASE'
compile
'org.springframework.security:spring-security-taglibs:2.0.5.RELEASE'
compile 'org.springframework:spring-webmvc:2.5.6'
compile 'opensymphony:sitemesh:2.4.2'
compile 'javax.servlet.jsp.jstl:jstl-api:1.2'
compile 'taglibs:standard:1.1.2'
compile
'org.springframework.ldap:spring-ldap-core:1.3.0.RELEASE'
compile 'commons-lang:commons-lang:2.4'
compile 'commons-fileupload:commons-fileupload:1.2.1'
compile 'jaxen:jaxen:1.1.1'
compile 'commons-dbcp:commons-dbcp:1.3'
compile 'net.sf.spring-json:spring-json:1.3.1'
runtime
'org.springframework.security:spring-security-cas-client:3.0.3.RELEASE'
}
}
project('api:intellispec')
{
dependencies {
compile project(':api:util')
compile project(':api:schema')
compile project(':api:core')
compile 'javax.servlet:servlet-api:2.5'
compile 'javax.servlet:jsp-api:2.0'
//Download only the jar artifact due to bug:
//
http://jira.codehaus.org/browse/GRADLE-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel
http://jira.codehaus.org/browse/GRADLE-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel
//Then manually include all of fop's dependencies:
compile 'org.apache.xmlgraphics:fop:1...@jar'
compile 'org.apache.xmlgraphics:xmlgraphics-commons:1...@jar'
compile 'org.apache.xmlgraphics:batik-svg-dom:1...@jar'
compile 'org.apache.xmlgraphics:batik-bridge:1...@jar'
compile 'org.apache.xmlgraphics:batik-awt-util:1...@jar'
compile 'org.apache.xmlgraphics:batik-gvt:1...@jar'
compile 'org.apache.xmlgraphics:batik-transcoder:1...@jar'
compile 'org.apache.xmlgraphics:batik-extension:1...@jar'
compile 'org.apache.xmlgraphics:batik-ext:1...@jar'
compile
'org.apache.avalon.framework:avalon-framework-api:4....@jar'
compile
'org.apache.avalon.framework:avalon-framework-impl:4....@jar'
}
}
project('api:core')
{
dependencies {
compile project(':api:util')
compile project(':api:schema')
}
}
project('api:schema')
{
dependencies {
compile project(':api:util')
}
}
project('api:util')
{
dependencies {
compile 'commons-collections:commons-collections:3.2.1'
compile 'log4j:log4j:1.2.16'
compile 'javax.mail:mail:1.4.3'
compile 'org.apache.poi:poi:3.7'
compile 'org.apache.poi:poi-ooxml:3.7'
compile 'commons-digester:commons-digester:2.0'
compile 'org.jdom:jdom:1.1'
compile 'commons-net:commons-net:2.0'
compile 'commons-cli:commons-cli:1.1'
compile 'org.hibernate:hibernate:3.2.7.ga'
compile 'commons-vfs:commons-vfs:1.0'
compile 'commons-io:commons-io:1.4'
testCompile 'junit:junit:4.8.1'
}
}
Any pointers/thoughts here?
~Brian
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email