Carlos,
exclusions are for things you DON'T want. If you exclude a dependency,
that one and all its children will be excluded, so you don't need to
go one by one
if you want a different version you have to explicitly add that as a
dependency and maven will use YOUR version instead of the one
Mallory
Sent: vendredi 16 février 2007 19:38
To: acegisecurity-developer@lists.sourceforge.net
Subject: Re: [Acegisecurity-developer] Maven2 POM for Acegi-Security
Carlos,
exclusions are for things you DON'T want. If you exclude a dependency,
that one and all its children will be excluded
I'm willing to bet this problem is caused by using the full Spring
dependency rather than fine-grained Spring dependencies. I use the
full Spring dependency and have experienced this issue as well. It's
too bad there's not a way in Maven to say this JAR overrides all
others.
Here's what I've
First, i'm very familiar with how acegi m2 build works, and I do know
how Maven resolves transitive dependencies. In both cases i can say
that I wrote it, literally ;)
if you do take a look to the library folder you will see that there
are no jars in both 1.2.8 and 2.0.2, they are all different.
On 2/16/07, Matt Raible [EMAIL PROTECTED] wrote:
I'm willing to bet this problem is caused by using the full Spring
dependency rather than fine-grained Spring dependencies. I use the
full Spring dependency and have experienced this issue as well. It's
too bad there's not a way in Maven to
:07:16 -0800
From: Carlos Sanchez [EMAIL PROTECTED]
Subject: Re: [Acegisecurity-developer] Maven2 POM for Acegi-Security
To: acegisecurity-developer@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
You need to use
: 2
Date: Wed, 14 Feb 2007 17:07:16 -0800
From: Carlos Sanchez [EMAIL PROTECTED]
Subject: Re: [Acegisecurity-developer] Maven2 POM for Acegi-Security
To: acegisecurity-developer@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
] Maven2 POM for Acegi-Security
To: acegisecurity-developer@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
You need to use exclusions
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
Acegi
I'm just getting into Maven for all of our dependency control, and was
updating my build scripts to use the Maven2 repository with the Maven
Tasks for Ant to do my dependency checking.
Imagine my surprise when my build scripts proceeded to download all of
Spring-1.2.8 and Resin-3.0.9 after