Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 75287 invoked from network); 12 Jul 2010 15:06:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Jul 2010 15:06:23 -0000 Received: (qmail 1653 invoked by uid 500); 12 Jul 2010 15:06:23 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 1548 invoked by uid 500); 12 Jul 2010 15:06:22 -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 Delivered-To: moderator for users@buildr.apache.org Received: (qmail 74781 invoked by uid 99); 12 Jul 2010 10:37: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: local policy) X-Virus-Scanned: amavisd-new at dotsystems.pl Message-ID: <4C3AF04B.9040201@dotsystems.pl> Date: Mon, 12 Jul 2010 12:36:59 +0200 From: Jacek Sokulski User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: users@buildr.apache.org Subject: transitive() fails with POM variables Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi when using transitive for maven artifacts buildr fails in case when POM uses maven variables example buildfile: repositories.remote << "http://repository.jboss.com/maven2/" transitive("org.hibernate:hibernate-ehcache:jar:3.3.1.GA") POM contains dependency: ${groupId} hibernate-core ${version} and the trace is: Downloading :hibernate-core:pom: Buildr aborted! RuntimeError : Failed to download :hibernate-core:pom:, tried the following repositories: http://repository.jboss.com/maven2// /opt/workspaceSMM/smm-web/gui/buildfile:14 /usr/lib/ruby/gems/1.8/gems/buildr-1.4.1/lib/buildr/core/application.rb:398:in `raw_load_buildfile' /usr/lib/ruby/gems/1.8/gems/buildr-1.4.1/lib/buildr/core/application.rb:218:in `load_buildfile' /usr/lib/ruby/gems/1.8/gems/buildr-1.4.1/lib/buildr/core/application.rb:213:in `load_buildfile' So it seems that ${groupId} and ${version} variables are not resolved Jacek