Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 60863 invoked from network); 3 Apr 2007 12:59:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2007 12:59:46 -0000 Received: (qmail 68783 invoked by uid 500); 3 Apr 2007 12:59:52 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 68755 invoked by uid 500); 3 Apr 2007 12:59:52 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 68745 invoked by uid 99); 3 Apr 2007 12:59:52 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 05:59:46 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HYiYR-0007PL-IK for ivy-user@incubator.apache.org; Tue, 03 Apr 2007 05:56:07 -0700 Message-ID: <9809708.post@talk.nabble.com> Date: Tue, 3 Apr 2007 05:56:07 -0700 (PDT) From: smu To: ivy-user@incubator.apache.org Subject: Re: Common dependencies In-Reply-To: <635a05060704022226w210459b5r2577461af0ad7655@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: saulius.sinkunas@delfi.lt References: <9694201.post@talk.nabble.com> <635a05060703270826x4dae01adtec28ffb9038e6ffa@mail.gmail.com> <9797003.post@talk.nabble.com> <635a05060704022226w210459b5r2577461af0ad7655@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, > http://www.nabble.com/ibiblio-resolver-and-optional-pom-dependencies-tf3497317.html Thanks - I will have it in mind. > This seems to be a bug. Could you give more details (like pointing to a > pom > using project.name, or pointing to a maven doc page explaining how we > should Sorry, it was my mistake. i had in mind {project.groupId} and {project.version}. When version 2.0 is going to be released? BTW is it possible to receive all posts in this forum to email? I subscribed to ivy mailing lists (using email) but still don't receive new posts. I tried to subscribe 2 times but didn't receive any response. Bye, Saulius > Saulius > > > Xavier Hanin wrote: > > > > On 3/27/07, smu wrote: > >> > >> > >> Hi, > >> > >> I'm trying to migrate to ivy from maven and have one question. Is it > >> possible to create some common dependencies for multimodule project? > >> Something like parent and child pom.xml in maven2. For example, I'm > using > >> Spring in almost all modules but don't want to declare it in every > module > >> (as in case of version change I will have to update all ivy.xml files). > >> Is > >> it possible to do with ivy? > > > > > > Ivy do not support parent/child like maven, but you can do something > very > > similar by using virtual module. A virtual module is a module which > > publishes no artifact at all (put an empty publication section in its > ivy > > file, since no publication element at all is equivalent to publishing > one > > jar artifact). > > > > Then when you declare a dependency on it, you will transitively get all > > its > > dependencies, and only its dependencies since it doesn't publish any > > artifact. > > The advantage is that you can obviously declare multiple dependencies > like > > that, so you are not limited to single level inheritance of maven > > parent/child mechanism. > > > > HTH, > > > > - Xavier > > > > Thanks, > >> Saulius > >> -- > >> View this message in context: > >> http://www.nabble.com/Common-dependencies-tf3473658.html#a9694201 > >> Sent from the ivy-user mailing list archive at Nabble.com. > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Common-dependencies-tf3473658.html#a9797003 > Sent from the ivy-user mailing list archive at Nabble.com. > > -- Learn Ivy at ApacheCon: http://www.eu.apachecon.com/ Manage your dependencies with Ivy! http://incubator.apache.org/ivy/ -- View this message in context: http://www.nabble.com/Common-dependencies-tf3473658.html#a9809708 Sent from the ivy-user mailing list archive at Nabble.com.