Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 90431 invoked from network); 10 Jun 2009 13:32:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 13:32:17 -0000 Received: (qmail 37129 invoked by uid 500); 10 Jun 2009 13:32:28 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 37078 invoked by uid 500); 10 Jun 2009 13:32:28 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 37068 invoked by uid 99); 10 Jun 2009 13:32:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 13:32:28 +0000 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: domain of Kirby.Files@masergy.com designates 64.47.23.36 as permitted sender) Received: from [64.47.23.36] (HELO mtxexch01.masergy.com) (64.47.23.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 13:32:17 +0000 Received: from [64.47.104.72] ([64.47.104.72]) by mtxexch01.masergy.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 10 Jun 2009 08:31:56 -0500 Message-ID: <4A2FB5CB.8090202@masergy.com> Date: Wed, 10 Jun 2009 09:31:55 -0400 From: Kirby Files User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: ivy-user@ant.apache.org Subject: Re: Using ivy to retrieve only required deps and the sources of the required deps References: <8eba58930906100516p447c0210tc4d3f9b3051cc37@mail.gmail.com> In-Reply-To: <8eba58930906100516p447c0210tc4d3f9b3051cc37@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Jun 2009 13:31:56.0322 (UTC) FILETIME=[D2F01020:01C9E9CF] X-Virus-Checked: Checked by ClamAV on apache.org Richard Hauswald wrote on 06/10/2009 08:16 AM: > Hello list, > I'm new to ivy and have my problems understanding all the required > concepts. The examples helped me a lot :-) What I try to do is to > configure ivy that it loads only the required dependencies and their > sources... I managed to get all dependencies (incl optionals) with > sources and only the required ones without sources :-) > org="net.sourceforge.stripes" > name="stripes" > rev="1.5.1" > transitive="true" conf="*->default"/> I'm not an expert with the way Ivy maps Maven goals to ivy configurations (if you find documentation on this, let me know), but I'd try: conf="compile,sources->default" or, if you just want the runtime dependencies: conf="runtime,sources->default" That should prevent you from getting any optional configurations, and give you the dependent jars and any sources as well. For the record, if I do an ivy:install of stripes from the maven repo, here are the configurations Ivy generates from the pom: Thanks, --- Kirby Files Software Architect Masergy Communications kfiles@masergy.com