, 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
, 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
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
OK.. I just got the answer to my question 2a on this thread... (The rest are
still unanswered).
mvn package -X is the most useful command I found to get at the depenceny
tree. From there.. it was just a matter of excluding the extra jars.
I wish there was a top level exclusion (maybe in the
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
, 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
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
:
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
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
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
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
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
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
: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
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
, 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
/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
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
18 matches
Mail list logo