Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 80612 invoked from network); 17 Jan 2011 13:47:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jan 2011 13:47:24 -0000 Received: (qmail 18535 invoked by uid 500); 17 Jan 2011 13:47:21 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 17272 invoked by uid 500); 17 Jan 2011 13:47:18 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 16697 invoked by uid 99); 17 Jan 2011 13:47:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 13:47:17 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wsmoak@gmail.com designates 209.85.161.43 as permitted sender) Received: from [209.85.161.43] (HELO mail-fx0-f43.google.com) (209.85.161.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 13:47:10 +0000 Received: by fxm18 with SMTP id 18so5817026fxm.30 for ; Mon, 17 Jan 2011 05:46:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=Va/5VZSiOf2Q6DEFx+wn2rbyGZ1Qczc7UJPdYoUuFBk=; b=HXUc/phnE6Z9ySOCNM6LD3w4Sh+fa0XgobZ7Pq1qvn4G5PzANf2lAibxGQ0z5f4iud L5d4izOwqtxmdTaTjH1Oz0wPikOgvGRKEE6SOGdkTk+5hlx1z8FyYXCPE/MZBV1UWdaJ r7vPBUv+gFMxTyqvoBKY2BQUqSEiJabX26wc4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=cLejzmJKgbkgSwV5v2EOMoLSzbsIk1m4lHH631ZuaODyWmlD9X8Lh4KBD0yT2tJ3RC VGT8UZi3a0VVWsYrAK2nBvi/fDRMkSOWB2xYK2yxi7cbto76Cb/ISnNKGnExKrzY+KFK Ffn8w8Bhm0N8ttzaQKkX2K2DH7Io921bCbs1Q= Received: by 10.223.86.193 with SMTP id t1mr4787375fal.147.1295272009580; Mon, 17 Jan 2011 05:46:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.4.215 with HTTP; Mon, 17 Jan 2011 05:46:29 -0800 (PST) In-Reply-To: References: <8CD8442FB5A548F-1884-26868@webmail-d049.sysops.aol.com> From: Wendy Smoak Date: Mon, 17 Jan 2011 08:46:29 -0500 Message-ID: Subject: Re: General exclusion of a dependency To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 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. http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org