On 2/16/07, Kyle Mallory <[EMAIL PROTECTED]> wrote:
> 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 that
> > acegi uses
>
> That it not what is happening.  If I specify two separate dependencies
> for Spring-2.0.2, and Acegi-Security-1.0.3, I get BOTH Spring 2.0.2 AND
> Spring 1.2.8, as well as all of the 1.2.8 submodules.


sorry, but i have to say here that you are wrong. That doesn't happen
as you say, if you post the output of mvn -X compile i'll point you
what you're doing wrong


>
> > Why should resin be optional in acegi-security-resin? if you want the
> > resin extension you absolutely need the resin classes
>
> I'm choosing the resin module specifically because my container is Resin
> (2.1.17, not 3.0.9).  This is like making the argument that Spring or
> Acegi should be dependent (and require) Java 1.4.2_09, and as a result,
> forcing a download of that JVM.  Sure, it requires Java, but (hopefully)
> it doesn't require a specific version (even though it is compatible with
> _02 or 1.5).  And, since it is an implied requirement/dependency that is
> met by the parent/container, it (maven and POM author) should trust that
> those dependencies will be there when the time is right.  Maybe
> "optional" isn't the right flag, but certainly, it shouldn't be
> downloading a new Resin for me.

acegi-resin needs resin, period. If Acegi is built against 3.0.9 it's
gonna use that version unless you define another one, but one has to
be in the classpath.

Other very different thing is if you are building a war for resin and
you don't want the resin jar inside the war, then you can set the
scope to provided, but it's gonna be downloaded anyway because you'll
need it for your main or test classes.


>
> > You need to depend in whatever spring-*-2.0.2 jar you need.
>
> And here lies the real issue... I don't need any other spring-
> submodules, except spring-mock.  I don't need them for Resin, not for
> Acegi, and not for Spring... So why am I getting them?

because Acegi needs them! if you remove them and everything works
lucky you but the 99.99% of the people using acegi need spring. We
won't be making you special case the default, you have to use
exclusions in your pom.

>
> And I don't need Spring-1.2.8, or any of its submodules for Acegi or
> anything else (the project compiles and runs fine without them), so why
> am I getting them?

same as previous

>
>
> It's not a big deal, and if this is the way it is, I'll go back to our
> old build-system, and just use Maven2 for specific packages that work
> the way I expect.  Perhaps this is better left to the Maven folks.

ok, but don't spread fud about maven because you didn't got it working.

i'm happy to solve any maven related problems you have with acegi but
your statements are pretty confusing.

>
>
> Kyle
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to