, 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
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
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
: [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
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
19 matches
Mail list logo