RE: dependencies are bloated in M2

2007-02-07 Thread Bashar Abdul Jawad
, February 06, 2007 11:18 PM To: Maven Users List Subject: Re: dependencies are bloated in M2 On 2/6/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: > > Yes, but sometimes you will need to use a dependency for compile time > only, > and NOT for runtime. You don't need the cont

Re: dependencies are bloated in M2

2007-02-07 Thread PankajTandon
e if your build process knows how to intelligently deal > with that combination. > > PLEASE do not misuse "provided" scope to mean the "optional" element or > vice > versa. PLEASE set up your POMs to say what you mean. These are two > DIFFERENT conc

Re: dependencies are bloated in M2

2007-02-06 Thread Craig McClanahan
---- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Tuesday, February 06, 2007 5:18 PM To: Maven Users List Subject: Re: dependencies are bloated in M2 still not right, you have to use exclusions provided means the environment (read appserver) "provides&quo

Re: dependencies are bloated in M2

2007-02-06 Thread Edwin Punzalan
ven FAQ: http://maven.apache.org/general.html#scope-provided -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Tuesday, February 06, 2007 4:29 PM To: Maven Users List Subject: Re: dependencies are bloated in M2 that's not the right so

Re: dependencies are bloated in M2

2007-02-06 Thread Carlos Sanchez
On Behalf Of Carlos Sanchez Sent: Tuesday, February 06, 2007 5:18 PM To: Maven Users List Subject: Re: dependencies are bloated in M2 still not right, you have to use exclusions provided means the environment (read appserver) "provides" that dependency, which is only true for few dependenc

RE: dependencies are bloated in M2

2007-02-06 Thread Bashar Abdul Jawad
you want to compile against it. Bashar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Tuesday, February 06, 2007 5:18 PM To: Maven Users List Subject: Re: dependencies are bloated in M2 still not right, you have to use exclusions provid

Re: dependencies are bloated in M2

2007-02-06 Thread Carlos Sanchez
> > > http://maven.apache.org/general.html#scope-provided > > > > > > > > -Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos > > Sanchez > > Sent: Tuesday, February 06, 2007 4:29 PM > > To: Maven U

Re: dependencies are bloated in M2

2007-02-06 Thread Carlos Sanchez
dependency from being passed on transitively. Using exclusions is NOT right if you still want to compile against these dependencies. Bashar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Tuesday, February 06, 2007 5:02 PM To: Mav

Re: dependencies are bloated in M2

2007-02-06 Thread Craig McClanahan
che.org/general.html#scope-provided > > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos > Sanchez > Sent: Tuesday, February 06, 2007 4:29 PM > To: Maven Users List > Subject: Re: dependencies are bloated in M2 > >

RE: dependencies are bloated in M2

2007-02-06 Thread Bashar Abdul Jawad
pache.org/general.html#scope-provided > > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos > Sanchez > Sent: Tuesday, February 06, 2007 4:29 PM > To: Maven Users List > Subject: Re: dependencies are bloated in M2 > &

Re: dependencies are bloated in M2

2007-02-06 Thread Wayne Fay
Maven Users List Subject: Re: dependencies are bloated in M2 that's not the right solution, you have to use exclusions On 2/6/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: > It will. If you don't want to include a particular dependency in your > generated package just gi

Re: dependencies are bloated in M2

2007-02-06 Thread Carlos Sanchez
] On Behalf Of Carlos Sanchez Sent: Tuesday, February 06, 2007 4:29 PM To: Maven Users List Subject: Re: dependencies are bloated in M2 that's not the right solution, you have to use exclusions On 2/6/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: > It will. If you don't wa

RE: dependencies are bloated in M2

2007-02-06 Thread Bashar Abdul Jawad
n FAQ: http://maven.apache.org/general.html#scope-provided -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Tuesday, February 06, 2007 4:29 PM To: Maven Users List Subject: Re: dependencies are bloated in M2 that's not the righ

Re: dependencies are bloated in M2

2007-02-06 Thread Carlos Sanchez
itive dependency of something else. Bashar -Original Message- From: Christian Goetze [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 2:58 PM To: Maven Users List Subject: Re: dependencies are bloated in M2 Tandon, Pankaj wrote: > > >So the questions are: >1. How ca

RE: dependencies are bloated in M2

2007-02-06 Thread Bashar Abdul Jawad
esday, February 06, 2007 2:58 PM To: Maven Users List Subject: Re: dependencies are bloated in M2 Tandon, Pankaj wrote: > > >So the questions are: >1. How can we control what get's into WEB-INF/lib. We tried all the >scopes mentioned, but that did not help. > I believe tha

Re: dependencies are bloated in M2

2007-02-06 Thread Carlos Sanchez
mvn site see the tree of dependencies use exclusions in your dependencies http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html On 2/6/07, Tandon, Pankaj <[EMAIL PROTECTED]> wrote: Hi all, We've been using Maven 1.1 for more that a year now and are looking to move

Re: dependencies are bloated in M2

2007-02-06 Thread PankajTandon
> > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/dependenc

Re: dependencies are bloated in M2

2007-02-06 Thread Christian Goetze
Tandon, Pankaj wrote: So the questions are: 1. How can we control what get's into WEB-INF/lib. We tried all the scopes mentioned, but that did not help. I believe that the scope that should work is "provided". The problem is that I don't know if maven is smart enough to remove a provided de

dependencies are bloated in M2

2007-02-06 Thread Tandon, Pankaj
Hi all, We've been using Maven 1.1 for more that a year now and are looking to move to M2. With M1 our project.xml file had dependencies specified explicitly because there was no support for transitive dependencies. As a result, the jar files we downloaded for our webapp weighed in at about 11Meg.