maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Re: General exclusion of a dependency
Date Mon, 17 Jan 2011 13:46:29 GMT
On Mon, Jan 17, 2011 at 7:59 AM, Jesse Farinacci <> wrote:

> The scope=provided instructs Maven to not actually bring that
> dependency into the classpath, thus, it behaves as a global exclude.

My understanding of 'provided' is that it *does* go on the classpath
for compilation, but it is not transitive (and does not get packaged).

The typical use is for the Servlet API in your .war file -- you need
it to compile, but you don't want it in WEB-INF/lib because the
container will provide it.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message