, 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
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
----
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
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
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
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
>
> > 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
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
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
>
>
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
>
&
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
] 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
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
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
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
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
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/dependenc
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
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.
19 matches
Mail list logo