Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 1730 invoked from network); 31 Aug 2009 15:40:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Aug 2009 15:40:29 -0000 Received: (qmail 85267 invoked by uid 500); 31 Aug 2009 15:40:29 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 85181 invoked by uid 500); 31 Aug 2009 15:40:29 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 85171 invoked by uid 99); 31 Aug 2009 15:40:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 15:40:29 +0000 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 (athena.apache.org: domain of xavier.hanin@gmail.com designates 209.85.219.224 as permitted sender) Received: from [209.85.219.224] (HELO mail-ew0-f224.google.com) (209.85.219.224) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 15:40:19 +0000 Received: by ewy24 with SMTP id 24so4177697ewy.23 for ; Mon, 31 Aug 2009 08:39:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=i9WnrxJRYdaMzyXsGh0dKeui4KlgmTcXwvVPiPWULRY=; b=TBWAKmb28y/7NsZbXIHLUY6aXQMYQe5znCXdZLgDDxZ+gONZHGkiTOk8Rn9gf8YVfb 1brpCtLsTyhYXpPOzV9uG6GObzlY6CRu9I6wIqeMkCkciTCKhbuLo19BEMaMhaeXy4+C 34y+QnD7Ct0pIFIElVA1ndKZ65ceM6iZv6PkE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mgtBVQHO4Nr/MPlGeTAgQEXuuo40HfwUCW/GenVn4OJWg2Lt48S/2xZgQCyw7WY3Nf ZrMnS0Mw8NJLF5jPrpeOzBb6UmBeIVmsokkbCTghDXM9x2SqTAjfSso5DjeuOKPxNNe1 7PKXnoQDJDwd96u87biA178La2XKEiRRPDlVw= MIME-Version: 1.0 Received: by 10.216.90.67 with SMTP id d45mr1247733wef.42.1251733197618; Mon, 31 Aug 2009 08:39:57 -0700 (PDT) In-Reply-To: <200908261430.04089.nicolas.lalevee@hibnet.org> References: <200908241124.39056.nicolas.lalevee@hibnet.org> <635a05060908250600o6f1f20b6o80e0bd18e7d61049@mail.gmail.com> <200908261430.04089.nicolas.lalevee@hibnet.org> Date: Mon, 31 Aug 2009 17:39:57 +0200 Message-ID: <635a05060908310839k1011d2dg86ea6568379be9ba@mail.gmail.com> Subject: Re: pom2ivy and transitive source retrieving From: Xavier Hanin To: Ant Developers List Content-Type: multipart/alternative; boundary=0016e6d7df78990eea047271d868 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d7df78990eea047271d868 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2009/8/26 Nicolas Lalev=E9e > On Tuesday 25 August 2009 15:00:33 Xavier Hanin wrote: > > 2009/8/24 Nicolas Lalev=E9e > > > > The problem with that is how people would get only the main jar of thei= r > > dependencies? Using an artifact type filter? That doesn't sound good IM= O. > > I thought types where meant to be used for that kind of use case. > I'd say types are meant to deal with use cases where you don't have configurations properly setup to get only the type you want. Most of the time I prefer to use only conf, with no type filter. But it's only my point of view, maybe others think differently. > > > Another suggested solution is to add a sources->sources(*) in the > > dependency conf mapping, but I see 2 problems with that: > > - it makes the sources conf always transitive > > - the fallback of * doesn't really make sense > > > > So what I find would be better is to define a transitive-sources conf, > and > > have a conf mapping of transitive-sources->transitive-sources(*), or ev= en > > better transitive-sources->transitive-sources(none) if we define 'none= ' > as > > a special fallback conf which means no dependency conf if the required > one > > does not exist. Of course we would need to do that for javadoc too. > > what about transitive-sources->transitive-sources(sources) ? > The problem is that it will fail if there is no "sources" conf. Not sure if it's a real problem, we may assume that it's mandatory to declare a sources conf if you override the metadata of a module on which m2 modules depend. S= o I'm ok for transitive-sources->transitive-sources(sources) Xavier > > Nicolas > > > > > > WDYT? > > > > Xavier > > > > > Nicolas > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > > > For additional commands, e-mail: dev-help@ant.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > > --=20 Xavier Hanin - 4SH France - http://www.4sh.fr/ BordeauxJUG creator & leader - http://www.bordeauxjug.org/ Apache Ivy Creator - http://ant.apache.org/ivy/ --0016e6d7df78990eea047271d868--