Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 50455 invoked from network); 25 Feb 2010 20:33:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 20:33:50 -0000 Received: (qmail 73342 invoked by uid 500); 25 Feb 2010 20:33:50 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 73252 invoked by uid 500); 25 Feb 2010 20:33:50 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 73244 invoked by uid 99); 25 Feb 2010 20:33:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 20:33:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of csarva@gmail.com designates 209.85.223.195 as permitted sender) Received: from [209.85.223.195] (HELO mail-iw0-f195.google.com) (209.85.223.195) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 20:33:44 +0000 Received: by iwn33 with SMTP id 33so5681757iwn.23 for ; Thu, 25 Feb 2010 12:33:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=MyYvNQRU63BVzvSLUzE6J0EY9PwiJ1S4Slpac9zYR6E=; b=JTcAKSRQDCZQ1Rom4mkLP4FiDqbP6PY/NNENftsGZS+A362Cpfp6S8kNjL1lJs25ej sjc9A7ydWdUr1rDyWEM9Tv4zhuWnVlV6j9uYpj47p3sys40DTiovwkayzJH/ajD+h4k6 MgFot7PcE9Z1KN3N31LgwEbrpot2BLkAXhTLo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=YjtBP3jE3lvHhRQQtSy2arBkSxUFvF+moZ4wJRIQ0WvX4pmEu4nNy27eo2qWp2nh+a GS8EmT+03AxrUPD6aHXKGJyPKoDZP3S1DvKfZVxMCgx4QoA1IOB7eiu2w2A9S5w0gW4M p3IDeXUWgrhZz+kYyHMGNZQQ6DvXvjBobiLiE= MIME-Version: 1.0 Received: by 10.231.173.129 with SMTP id p1mr117491ibz.85.1267129999309; Thu, 25 Feb 2010 12:33:19 -0800 (PST) Date: Thu, 25 Feb 2010 15:33:19 -0500 Message-ID: <141c75fd1002251233s35608641x370b45cbba213e16@mail.gmail.com> Subject: Excluding broken/missing transitive dependencies From: Chetan Sarva To: users@buildr.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm trying to figure out how to properly exclude a transitive dependency, particularly when one of them is broken. I've got a simple test case: SPRING_WEB = transitive("org.springframework:spring-web:jar:3.0.1.RELEASE").reject { |a| a.id == "activation" } spring-web > jsp-api-2.1 > saaj-api-1.3 > activation-1.0.2 activation-1.0.2 is the broken dep, which I'm trying to reject but from what I can tell, when the Artifact instance is first created it's being added to the task chain for my project and so even though it won't eventually get included in my projects JARs, it still does try to download it. Is there a workaround for this or is it a bug or new use case? chetan