Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 36613 invoked from network); 4 Feb 2008 21:45:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 21:45:17 -0000 Received: (qmail 36449 invoked by uid 500); 4 Feb 2008 21:45:02 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 36382 invoked by uid 500); 4 Feb 2008 21:45:02 -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 36371 invoked by uid 99); 4 Feb 2008 21:45:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 13:45:02 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.146.182.13] (HELO web27808.mail.ukl.yahoo.com) (217.146.182.13) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 04 Feb 2008 21:44:44 +0000 Received: (qmail 77431 invoked by uid 60001); 4 Feb 2008 21:44:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=aP87qpGpfNMvGF5FPeYWAzRZrhXhiYM+I3msV7Q6/9PJ7+P+vzZRDVfvqPMRcuvhecJFgPs5ZyJoQazAY1Fs2666rkBXsv8KD8YH8l7Bzdbj71mpivPVOz5dgacaahh4BGUkmrMp5p37AD7kmdhByAyE7Nq3WxUejHuNOklz8Go=; X-YMail-OSG: .OlFIrgVM1lOA1SHsg2yocyWfBiRkd45TAPeAmFIts_IzDIWEhB.U7hDyDMV1qm.75d5IhrDTPeP.AopoNFP.3SJVDgw_wj76WCYB1EskrWSrGhHi_viwtmqMiE- Received: from [80.108.92.253] by web27808.mail.ukl.yahoo.com via HTTP; Mon, 04 Feb 2008 22:44:36 CET Date: Mon, 4 Feb 2008 22:44:36 +0100 (CET) From: Mark Struberg Subject: RE: maven-war-plugin To: Maven Users List In-Reply-To: <15278096.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <886074.76736.qm@web27808.mail.ukl.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org I see 2 ways to avoid this problem. 1.) I assume that war A includes a kind of 'common logic', right? If so, this may also be extracted into a separate module, thus you have no dependency to a war anymore... 2.) You can use the exclude mechanism of the maven-war-plugin. LieGr�, strub --- tadamski schrieb: > > I'm working with maven 2 and using the war plugin. In my project I have a > module that depends on another module. So if module B depends on module A, > when I run the package goal, nodule A's war structure is overlayed on module > B's war. Is there anyway to stop this from occurring? There are unnecessary > directories and files being added, bloating the war. Heute schon einen Blick in die Zukunft von E-Mails wagen? www.yahoo.de/mail --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org