Hi Jerome, for those uninterested, please bless this output. :)
I do have that exclusion in place also in the core source. There seems to be 
the need for another one.

Ok, so here is what I found... I removed the exclusion and rerolled the webapp 
source.            
First you don't see it.           
C:\repos\cas\cas\cas-server-webapp>mvn dependency:tree
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Jasig CAS Web Application
[INFO]    task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree {execution: default-cli}]
[INFO] org.jasig.cas:cas-server-webapp:war:3.5.2-SNAPSHOT
[INFO] +- org.mockito:mockito-all:jar:1.9.0:test
[INFO] +- com.github.inspektr:inspektr-support-spring:jar:1.0.7.GA:runtime
[INFO] |  \- com.github.inspektr:inspektr-error:jar:1.0.7.GA:runtime
[INFO] +- 
org.springframework.security:spring-security-core:jar:3.1.0.RELEASE:compile
[INFO] |  +- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  +- org.springframework:spring-context:jar:3.1.1.RELEASE:compile
[INFO] |  +- org.springframework:spring-beans:jar:3.1.1.RELEASE:compile
[INFO] |  +- org.springframework:spring-core:jar:3.1.1.RELEASE:compile
[INFO] |  \- 
org.springframework.security:spring-security-crypto:jar:3.1.0.RELEASE:compile
[INFO] +- 
org.springframework.security:spring-security-web:jar:3.1.0.RELEASE:compile
[INFO] |  +- org.springframework:spring-tx:jar:3.1.1.RELEASE:compile
[INFO] |  +- org.springframework:spring-web:jar:3.1.1.RELEASE:compile
[INFO] |  \- org.springframework:spring-jdbc:jar:3.1.1.RELEASE:compile
[INFO] +- 
org.springframework.security:spring-security-cas:jar:3.1.0.RELEASE:runtime
[INFO] +- 
org.springframework.security:spring-security-config:jar:3.1.0.RELEASE:runtime
[INFO] +- org.springframework:spring-aop:jar:3.1.1.RELEASE:compile
[INFO] |  \- org.springframework:spring-asm:jar:3.1.1.RELEASE:compile
[INFO] +- org.jasig.cas:cas-server-core:jar:3.5.2-SNAPSHOT:compile
[INFO] |  +- joda-time:joda-time:jar:2.1:compile                                
                <----------
[INFO] |  +- log4j:log4j:jar:1.2.15:compile
[INFO] |  +- com.github.inspektr:inspektr-audit:jar:1.0.7.GA:compile
[INFO] |  |  \- com.github.inspektr:inspektr-common:jar:1.0.7.GA:compile
[INFO] |  +- org.jasig.service.persondir:person-directory-impl:jar:1.5.1:compile
[INFO] |  |  +- com.sun.xml.bind:jaxb-impl:jar:2.2:compile
[INFO] |  |  |  \- javax.xml.bind:jaxb-api:jar:2.2:compile
[INFO] |  |  |     +- javax.xml.stream:stax-api:jar:1.0-2:compile
[INFO] |  |  |     \- javax.activation:activation:jar:1.1:compile
[INFO] |  |  +- commons-collections:commons-collections:jar:3.2:compile
[INFO] |  |  +- commons-lang:commons-lang:jar:2.5:compile
[INFO] |  |  \- 
org.jasig.service.persondir:person-directory-api:jar:1.5.1:compile
[INFO] |  +- commons-codec:commons-codec:jar:1.4:compile
[INFO] |  +- jdom:jdom:jar:1.0:compile
[INFO] |  +- org.springframework:spring-orm:jar:3.1.1.RELEASE:compile
[INFO] |  +- org.springframework:spring-webmvc:jar:3.1.1.RELEASE:compile
[INFO] |  +- org.hibernate:hibernate-core:jar:4.1.0.Final:compile
[INFO] |  |  +- antlr:antlr:jar:2.7.7:compile
[INFO] |  |  +- 
org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.Final:compile
[INFO] |  |  +- dom4j:dom4j:jar:1.6.1:compile
[INFO] |  |  |  \- xml-apis:xml-apis:jar:1.4.01:compile
[INFO] |  |  +- 
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:compile
[INFO] |  |  +- org.jboss.logging:jboss-logging:jar:3.1.0.CR2:compile
[INFO] |  |  +- org.javassist:javassist:jar:3.15.0-GA:compile
[INFO] |  |  \- 
org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final:compile
[INFO] |  +- org.opensaml:opensaml:jar:2.5.1-1:compile
[INFO] |  |  +- org.opensaml:openws:jar:1.4.2-1:compile
[INFO] |  |  |  +- org.opensaml:xmltooling:jar:1.3.2-1:compile
[INFO] |  |  |  |  +- org.slf4j:jul-to-slf4j:jar:1.6.1:compile
[INFO] |  |  |  |  +- org.bouncycastle:bcprov-jdk15:jar:1.45:compile
[INFO] |  |  |  |  +- org.apache.santuario:xmlsec:jar:1.4.3:compile
[INFO] |  |  |  |  +- ca.juliusdavies:not-yet-commons-ssl:jar:0.3.9:compile
[INFO] |  |  |  |  \- net.jcip:jcip-annotations:jar:1.0:compile
[INFO] |  |  |  \- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] |  |  +- velocity:velocity:jar:1.5:compile
[INFO] |  |  +- org.owasp.esapi:esapi:jar:2.0GA:compile
[INFO] |  |  +- xerces:xercesImpl:jar:2.10.0:runtime
[INFO] |  |  +- xml-resolver:xml-resolver:jar:1.2:runtime
[INFO] |  |  \- xalan:xalan:jar:2.7.1:runtime
[INFO] |  |     \- xalan:serializer:jar:2.7.1:runtime
[INFO] |  +- javax.xml:xmldsig:jar:1.0:compile
[INFO] |  +- org.perf4j:perf4j:jar:log4jonly:0.9.14:compile
[INFO] |  +- 
org.springframework.webflow:spring-webflow:jar:2.3.0.RELEASE:compile
[INFO] |  |  +- 
org.springframework.webflow:spring-binding:jar:2.3.0.RELEASE:compile
[INFO] |  |  \- org.springframework.webflow:spring-js:jar:2.3.0.RELEASE:compile
[INFO] |  |     \- 
org.springframework.webflow:spring-js-resources:jar:2.3.0.RELEASE:compile
[INFO] |  +- commons-jexl:commons-jexl:jar:1.1:runtime
[INFO] |  \- commons-io:commons-io:jar:2.0:compile
[INFO] +- org.jasig.cas.client:cas-client-core:jar:3.2.1:compile
[INFO] |  \- commons-logging:commons-logging:jar:1.1:compile
[INFO] +- org.springframework:spring-context-support:jar:3.1.1.RELEASE:compile
[INFO] +- org.springframework:spring-expression:jar:3.1.1.RELEASE:compile
[INFO] +- org.opensymphony.quartz:quartz:jar:1.6.1:compile
[INFO] +- net.sf.spring-json:spring-json:jar:1.3.1:runtime
[INFO] |  +- net.sf.ezmorph:ezmorph:jar:1.0.4:runtime
[INFO] |  +- commons-beanutils:commons-beanutils:jar:1.7.0:runtime
[INFO] |  +- net.sf.json-lib:json-lib:jar:jdk15:2.2.3:runtime
[INFO] |  +- com.thoughtworks.xstream:xstream:jar:1.3:runtime
[INFO] |  |  \- xpp3:xpp3_min:jar:1.1.4c:runtime
[INFO] |  +- org.codehaus.jettison:jettison:jar:1.0.1:runtime
[INFO] |  \- stax:stax-api:jar:1.0.1:runtime
[INFO] +- cglib:cglib-nodep:jar:2.2.2:runtime
[INFO] +- net.sf.sojo:sojo:jar:1.0.5:compile
[INFO] +- javax.servlet:jstl:jar:1.1.2:compile
[INFO] +- taglibs:standard:jar:1.1.2:compile
[INFO] +- ognl:ognl:jar:2.7.3:runtime
[INFO] |  \- jboss:javassist:jar:3.7.ga:runtime
[INFO] +- org.hibernate:hibernate-validator:jar:4.2.0.Final:runtime
[INFO] +- junit:junit:jar:4.10:test (scope not updated to runtime)
[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.1:test
[INFO] +- org.mockito:mockito-core:jar:1.9.0:test
[INFO] |  \- org.objenesis:objenesis:jar:1.0:test
[INFO] +- org.springframework:spring-test:jar:3.1.1.RELEASE:test
[INFO] +- javax.servlet:servlet-api:jar:2.5:provided (scope not updated to 
runtime)
[INFO] +- org.aspectj:aspectjrt:jar:1.6.10:compile
[INFO] +- org.aspectj:aspectjweaver:jar:1.6.10:compile
[INFO] +- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.1:compile
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.1:runtime
[INFO] \- org.slf4j:jcl-over-slf4j:jar:1.7.1:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Jan 31 10:28:36 PST 2013
[INFO] Final Memory: 34M/351M
[INFO] ------------------------------------------------------------------------
C:\repos\cas\cas\cas-server-webapp>mvn -X dependency:tree | grep joda
[DEBUG]     joda-time:joda-time:jar:2.1:compile (selected for compile)
[DEBUG]   joda-time:joda-time:jar:1.5.1
[DEBUG]   joda-time:joda-time:jar:1.6                                           
                                <---------------- ?
[DEBUG]     testArtifact: artifact=joda-time:joda-time:jar:2.1:compile
[DEBUG]     includeArtifact: artifact=joda-time:joda-time:jar:2.1:compile
[DEBUG]     startProcessChildren: artifact=joda-time:joda-time:jar:2.1:compile
[DEBUG]     endProcessChildren: artifact=joda-time:joda-time:jar:2.1:compile
[INFO] |  +- joda-time:joda-time:jar:2.1:compile                 

 and now the pertinent info from mvn -X
 [DEBUG] Adding managed dependencies for org.hibernate:hibernate-validator
[DEBUG]   org.hibernate:hibernate-validator:jar:4.2.0.Final
[DEBUG]   org.hibernate:hibernate-validator-annotation-processor:jar:4.2.0.Final
[DEBUG]   javax.validation:validation-api:jar:1.0.0.GA
[DEBUG]   joda-time:joda-time:jar:1.6                                           
                        <-------------------- bad library, bad!
[DEBUG]   javax.xml.bind:jaxb-api:jar:2.2
[DEBUG]   com.sun.xml.bind:jaxb-impl:jar:2.1.12
[DEBUG]   org.slf4j:slf4j-api:jar:1.6.1
[DEBUG]   org.slf4j:slf4j-log4j12:jar:1.6.1
[DEBUG]   org.slf4j:slf4j-simple:jar:1.6.1
[DEBUG]   com.googlecode.jtype:jtype:jar:0.1.1
[DEBUG]   org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final
[DEBUG]   org.hibernate:hibernate-entitymanager:jar:3.6.0.Final
[DEBUG]   org.testng:testng:jar:5.14.2
[DEBUG]   org.easymock:easymock:jar:3.0
[DEBUG]   com.h2database:h2:jar:1.2.124
[DEBUG]   org.hibernate.jsr303.tck:jsr303-tck:jar:1.0.5.GA
[DEBUG]   org.jsoup:jsoup:jar:1.5.2
[DEBUG]   org.jboss.as:jboss-as-arquillian-container-managed:jar:7.0.0.Beta2
[DEBUG]   org.jboss.jbossas.as7-cdi-tck:jbossas-container:jar:1.0.0.Alpha1
[DEBUG]   org.hibernate:hibernate-validator:jar:4.2.0.Final:runtime (selected 
for runtime)
[DEBUG]     org.slf4j:slf4j-api:jar:1.6.1:runtime (removed - nearer found: 
1.7.1)
[DEBUG]   junit:junit:jar:4.10:test (not setting scope to: runtime; local scope 
test wins)
[WARNING] 
        Artifact junit:junit:jar:4.10:test retains local scope 'test' 
overriding broader scope 'runtime'
        given by a dependency. If this is not intended, modify or remove the 
local scope.

[DEBUG]   junit:junit:jar:3.8.1:runtime (removed - nearer found: 4.10)
[DEBUG]   junit:junit:jar:4.10:test (selected for test)

Yes it was a fun hunt. My build is working though.
-Michael.


-----Original Message-----
From: jleleu [mailto:[email protected]] 
Sent: Thursday, January 31, 2013 12:43 AM
To: [email protected]
Subject: re:[cas-user] joda-time 1.6.2: it's baaaaaaack

Hi,

I just checked out the 3.5.x branch and executed a mvn dependency:tree.
I see that the joda-time 1.6 dependency comes from the opensaml dependency in 
the cas-server-core module :

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Jasig CAS Core 3.5.2-SNAPSHOT [INFO] 
------------------------------------------------------------------------
[INFO]
...
[INFO] +- org.opensaml:opensaml:jar:2.5.1-1:compile
[INFO] |  +- org.opensaml:openws:jar:1.4.2-1:compile
[INFO] |  |  +- org.opensaml:xmltooling:jar:1.3.2-1:compile
[INFO] |  |  |  +- org.slf4j:jul-to-slf4j:jar:1.6.1:compile
[INFO] |  |  |  +- joda-time:joda-time:jar:1.6.2:compile

Are you sure the joda-time 1.6 dependency comes from the hibernate-validator 
dependency ?
Thanks,
Jérôme

--
You are currently subscribed to [email protected] as: 
[email protected] To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to