Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 5667 invoked from network); 23 Aug 2006 18:44:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 18:44:51 -0000 Received: (qmail 92676 invoked by uid 500); 23 Aug 2006 18:44:44 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 92620 invoked by uid 500); 23 Aug 2006 18:44:43 -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 92609 invoked by uid 99); 23 Aug 2006 18:44:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 11:44:43 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of le.du.yann@gmail.com designates 64.233.162.195 as permitted sender) Received: from [64.233.162.195] (HELO nz-out-0102.google.com) (64.233.162.195) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 11:44:43 -0700 Received: by nz-out-0102.google.com with SMTP id 12so158473nzp for ; Wed, 23 Aug 2006 11:44:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sPiW1np06zPqMxWISfv2cGi+UKv39WDQuwAnHhhSSdtU3CqjMg4qEfpEeD120RnFFjIY9nsJsw33io/hXW2lSY1SqZVbUmQv1D8fN4Ks+3uivdGhoPA/10W4JOUcsP9LJK5vWCJXR2yFXcN9WwdlDQ9vOSjNJk8FJ7tbSPRwe0U= Received: by 10.65.59.20 with SMTP id m20mr865672qbk; Wed, 23 Aug 2006 11:44:17 -0700 (PDT) Received: by 10.65.53.2 with HTTP; Wed, 23 Aug 2006 11:44:17 -0700 (PDT) Message-ID: <117228810608231144x2acdaa08w1d1bf2259850b502@mail.gmail.com> Date: Wed, 23 Aug 2006 20:44:17 +0200 From: "Yann Le Du" To: "Maven Users List" Subject: Re: Override dependency own dependency In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_64429_28331556.1156358657255" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_64429_28331556.1156358657255 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi S=E9bastien, If you add directly dependency2 into your project POM, it should override the transitive one. Does it help ? - Yann 2006/8/23, S=E9bastien Boutt=E9 : > > Hi, > > > > I would like to know how i can override a specific dependency of one of m= y > dependency : > > > > My project has a dependency on dependency1 which has a dependency on > dependency2. > > I have made some improvements/bug fixes on dependy2'jar, how can I > configure > Maven 2 to use > > My own dependency2'jar in place of the one in the default repository ? > > > > For the two cases : > > 1. Generation of war file > 2. Creation of Eclipse Workspace Libraries dependency > > > > Thanks for your help, > > > > S=E9bastien Boutt=E9 > > > ------=_Part_64429_28331556.1156358657255--