Re: [m204] Issue with transistive dependancies and Springframework

2006-10-11 Thread Mick Knutson
Thanks. Works great. On 10/11/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote: Hi. > Is anyone else using spring 2.0 and acegi 1.0.2 > > > It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0into > my ear. > Is this an issue with the spring libs I imported? Below are my cu

Re: [m204] Issue with transistive dependancies and Springframework

2006-10-11 Thread Aleksei Valikov
Hi. Is anyone else using spring 2.0 and acegi 1.0.2 It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0 into my ear. Is this an issue with the spring libs I imported? Below are my current dependencies: org.springframework

Re: [m204] Issue with transistive dependancies and Springframework

2006-10-10 Thread Carlos Sanchez
You have to exclude spring then. On 10/11/06, Mick Knutson <[EMAIL PROTECTED]> wrote: My EAR has spring-2.0.jar spring-[partial lib]-1.2.7 (i.e spring-aop-1.2.7) On 10/10/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > > That's actually wrong. See > > http://maven.apache.org/guides/intro

Re: [m204] Issue with transistive dependancies and Springframework

2006-10-10 Thread Mick Knutson
My EAR has spring-2.0.jar spring-[partial lib]-1.2.7 (i.e spring-aop-1.2.7) On 10/10/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: That's actually wrong. See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html You don't use excludes to change the versio

Re: [m204] Issue with transistive dependancies and Springframework

2006-10-10 Thread Mick Knutson
What does your exclusions look like: org.springframework.spring-1.2.7 or something else? On 10/10/06, Max Cooper <[EMAIL PROTECTED]> wrote: Mick, I am using Spring 2.0 and Acegi 1.0.2. Use dependency excludes to suppress the Spring 1.2.7 stuff. -Max Mick Knutson wrote: > Is anyone else u

Re: [m204] Issue with transistive dependancies and Springframework

2006-10-10 Thread Carlos Sanchez
That's actually wrong. See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html You don't use excludes to change the version of a dependency, you have to explicitly add that dependency in your pom in the version you want. "Dependency mediation - this determines w

Re: [m204] Issue with transistive dependancies and Springframework

2006-10-10 Thread Max Cooper
Mick, I am using Spring 2.0 and Acegi 1.0.2. Use dependency excludes to suppress the Spring 1.2.7 stuff. -Max Mick Knutson wrote: Is anyone else using spring 2.0 and acegi 1.0.2 It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0 into my ear. Is this an issue with the

Re: [m204] Issue with transistive dependancies and Springframework

2006-10-10 Thread Wayne Fay
Mick, I'm not using Spring and Acegi, so this might not work, but perhaps try adding an node on the Acegi dependency to exclude Spring, and then add the Spring dependency by itself. If this doesn't work, post your pom back to the list and we'll try to help debug it some more... Wayne On 10/10

Re: [m204] Issue with transistive dependancies and Springframework

2006-10-10 Thread Mick Knutson
Is anyone else using spring 2.0 and acegi 1.0.2 It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0 into my ear. Is this an issue with the spring libs I imported? On 9/18/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 9/18/06, Mick Knutson <[EMAIL PROTECTED]> wrote: >

Re: [m204] Issue with transistive dependancies and Springframework

2006-09-18 Thread Wendy Smoak
On 9/18/06, Mick Knutson <[EMAIL PROTECTED]> wrote: I am trying to use this: ... {spring dependencies} ... But my war seems to be getting 1.2.7 and 2.0-rc3 jars Why? Did you upgrade this app to Spring 2? If so, did you 'mvn clean' after changing the dependency versions? The old ones may ha

[m204] Issue with transistive dependancies and Springframework

2006-09-18 Thread Mick Knutson
I am trying to use this: org.springframework spring 2.0-rc3 jar compile org.springframework spring-mock 2.0-rc3 jar