Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 80345 invoked from network); 17 Mar 2009 08:48:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 08:48:36 -0000 Received: (qmail 8904 invoked by uid 500); 17 Mar 2009 08:48:28 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 8828 invoked by uid 500); 17 Mar 2009 08:48:28 -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 8817 invoked by uid 99); 17 Mar 2009 08:48:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 01:48:27 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bmathus@gmail.com designates 74.125.78.150 as permitted sender) Received: from [74.125.78.150] (HELO ey-out-1920.google.com) (74.125.78.150) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 08:48:18 +0000 Received: by ey-out-1920.google.com with SMTP id 4so844715eyg.0 for ; Tue, 17 Mar 2009 01:47:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=764H31wwz50UTW3NbHXs8TgQ65tULuAdTj+vU8EH7D0=; b=ioJ2xymqg0oLGEeEnOtv2WrXkcud/asYBtY8g4tpxZhhlDqxuMadGf3kY9Nv2sBEBc vlCSrlC20U1OhaTidqUpkPOAuf8d1Wn6zkSIEO/+sla4OToIXg+kJiWnL4MFut1N4TuU kQ876039slJt206hqgw4qdqBdx3+7Txqn7xg0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=p68E9O7h1m8tPowsyKpUbXjzLjbPkzuz1nqhms38AZV5RdVFfQ6GPumFnUlUKYuI8R 9RAVf1qGlT6TIr64GPTksvV1w8S/XVfOpEC5a737s8WtiOebEzuSEz5n+CQmV9hQEuqx beYYxWJWLEu2nWagM3mZW6xkcbSEGiDsQ87ng= MIME-Version: 1.0 Sender: bmathus@gmail.com Received: by 10.216.30.81 with SMTP id j59mr2053618wea.50.1237279678605; Tue, 17 Mar 2009 01:47:58 -0700 (PDT) In-Reply-To: <22540300.post@talk.nabble.com> References: <22500900.post@talk.nabble.com> <562346790903140258y3e95e4a7j2ff4471259708a93@mail.gmail.com> <22519847.post@talk.nabble.com> <52bab8690903150118u7b74d99ek856c5bd996c8c0c5@mail.gmail.com> <22528118.post@talk.nabble.com> <52bab8690903151424w1dee654ex503e7c5364f2465d@mail.gmail.com> <22540300.post@talk.nabble.com> Date: Tue, 17 Mar 2009 09:47:58 +0100 X-Google-Sender-Auth: 9fead2ae30eb186d Message-ID: <562346790903170147j40c67c0cr43ac94f65467c745@mail.gmail.com> Subject: Re: maven adding wrong jar files in war lib From: Baptiste MATHUS To: Maven Users List Content-Type: multipart/alternative; boundary=0016e6dd89f5bb27fe04654c9f68 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6dd89f5bb27fe04654c9f68 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit No, you don't. Scope mgmt is standard and built-in. I really can't see how sources could have an impact on the libraries in the final war file :-/. I see you're using build-helper-plugin, could you temporarily disable it to see if it changes anything? Cheers. 2009/3/16 agent59624285 > > Yes, I am using mvn clean package > > To find out where the asm dependency was coming from. I changed the scope > of > all dependency entries to provided, but I am still seeing all the jar files > (except serverlet-api) in side the lib folder in the war file. > > If provided is added to dependency, shouldn't it be not > added in the lib folder of the war file when you do "mvn clean package"? Do > you need a separate plugin for it to work? > > Thanks > -- Baptiste MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor ! --0016e6dd89f5bb27fe04654c9f68--