Re: dependencies are bloated in M2

2007-02-07 Thread PankajTandon
, 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 dependencies in the whole world, like servlet-api On 2/6/07, Bashar

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 container to provide it for you

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

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

Re: dependencies are bloated in M2

2007-02-06 Thread PankajTandon
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/dependencies-are-bloated-in-M2-tf3182336s177.html#a8836160 Sent from the Maven - Users mailing list archive at Nabble.com

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 Bashar Abdul Jawad
, 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 that the scope that should work

Re: dependencies are bloated in M2

2007-02-06 Thread Carlos Sanchez
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 can we control what get's into WEB

RE: dependencies are bloated in M2

2007-02-06 Thread Bashar Abdul Jawad
: 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 solution

Re: dependencies are bloated in M2

2007-02-06 Thread Carlos Sanchez
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 want to include a particular dependency in your

Re: dependencies are bloated in M2

2007-02-06 Thread Wayne Fay
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 want to include a particular dependency in your generated package just give it the provided scope

RE: dependencies are bloated in M2

2007-02-06 Thread Bashar Abdul Jawad
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: Maven Users List Subject: Re: dependencies are bloated in M2 exactly

Re: dependencies are bloated in M2

2007-02-06 Thread Craig McClanahan
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 want to include a particular dependency in your

Re: dependencies are bloated in M2

2007-02-06 Thread Carlos Sanchez
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: Maven Users List Subject: Re: dependencies are bloated in M2 exactly, that's why he needs to use exclusions, you exclude

Re: dependencies are bloated in M2

2007-02-06 Thread Carlos Sanchez
: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 want to include a particular dependency in your generated package just give

RE: dependencies are bloated in M2

2007-02-06 Thread Bashar Abdul Jawad
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 provided means the environment (read

Re: dependencies are bloated in M2

2007-02-06 Thread Carlos Sanchez
, 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 dependencies in the whole world, like servlet-api On 2/6/07, Bashar

Re: dependencies are bloated in M2

2007-02-06 Thread Edwin Punzalan
/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 solution, you have to use exclusions On 2

Re: dependencies are bloated in M2

2007-02-06 Thread Craig McClanahan
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: Maven Users List Subject: Re: dependencies are bloated in M2 exactly, that's why he needs