Return-Path: Delivered-To: apmail-incubator-buildr-commits-archive@locus.apache.org Received: (qmail 88455 invoked from network); 4 Feb 2008 12:29:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 12:29:41 -0000 Received: (qmail 20792 invoked by uid 500); 4 Feb 2008 12:29:33 -0000 Delivered-To: apmail-incubator-buildr-commits-archive@incubator.apache.org Received: (qmail 20766 invoked by uid 500); 4 Feb 2008 12:29:33 -0000 Mailing-List: contact buildr-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: buildr-dev@incubator.apache.org Delivered-To: mailing list buildr-commits@incubator.apache.org Received: (qmail 20757 invoked by uid 99); 4 Feb 2008 12:29:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 04:29:33 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 12:29:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B171A714079 for ; Mon, 4 Feb 2008 04:29:08 -0800 (PST) Message-ID: <5149570.1202128148724.JavaMail.jira@brutus> Date: Mon, 4 Feb 2008 04:29:08 -0800 (PST) From: "David Peterson (JIRA)" To: buildr-commits@incubator.apache.org Subject: [jira] Issue Comment Edited: (BUILDR-2) Buildr fails to download Axis 1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BUILDR-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565332#action_12565332 ] dhpeterson edited comment on BUILDR-2 at 2/4/08 4:28 AM: ------------------------------------------------------------- Thomas - Not to leave you in the lurch, here's a simple workaround. * Create the file "axis-jaxrpc-1.4.pom" with the following contents: 4.0.0 axis axis-jaxrpc 1.4 * Create the directory: M2_REPO/repository/axis/axis-jaxrpc/1.4/ * Move the POM file to this directory * Re-run your Rakefile and the 1.4 JAR will now be pulled by buildr. Hope this helps. was (Author: dhpeterson): Thomas - Not to leave you in the lurch, here's a simple workaround. * Create the file "axis-jaxrpc-1.4.pom" with the following contents: 4.0.0 axis axis-jaxrpc 1.34 * Create the directory: M2_REPO/repository/axis/axis-jaxrpc/1.4/ * Move the POM file to this directory * Re-run your Rakefile and the 1.4 JAR will now be pulled by buildr. Hope this helps. > Buildr fails to download Axis 1.4 > --------------------------------- > > Key: BUILDR-2 > URL: https://issues.apache.org/jira/browse/BUILDR-2 > Project: Buildr > Issue Type: Bug > Components: Dependency management > Affects Versions: 1.2.10 > Reporter: Thomas Leonard > Assignee: Assaf Arkin > Fix For: 1.3 > > Attachments: Rakefile, Rakefile2 > > > We have a Maven 2 project with 76 pom.xml files. Due to random build failures, we're looking at alternatives. However, buildr fails to even create the buildfile. It seems that it doesn't like Axis 1.4. > Steps to reproduce: > 1. Create a new directory, containing a single pom.xml file: > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> > 4.0.0 > test-buildr > test-buildr > jar > Test Buildr > Test Buildr. > 1.0 > > > axis > axis > 1.4 > > > > 2. Run "buildr". > The output is: > To use Buildr you need a buildfile. Do you want me to create one?: > 1. From maven2 pom file > 2. From directory structure > 3. Skip > ? 1 > Downloading axis:axis-jaxrpc:pom:1.4 > rake aborted! > Failed to download axis:axis-jaxrpc:pom:1.4, tried the following repositories: > http://www.ibiblio.org/maven2// > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/artifact.rb:363:in `fail_download' > (See full trace by running task with --trace) > Creating a buildfile manually has the same effect. With --trace: > ** Invoke generate (first_time) > ** Execute generate > To use Buildr you need a buildfile. Do you want me to create one?: > 1. From maven2 pom file > 2. From directory structure > 3. Skip > ? 1 > Loading m2 pom file from /home/tal/tmp/test-buildr/pom.xml > ** Invoke /home/tal/.m2/repository/axis/axis/1.4/axis-1.4.pom (first_time, not_needed) > Loading m2 pom file from /home/tal/.m2/repository/axis/axis/1.4/axis-1.4.pom > ** Invoke /home/tal/.m2/repository/axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom (first_time) > ** Execute /home/tal/.m2/repository/axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom > Downloading axis:axis-jaxrpc:pom:1.4 > Downloading axis:axis-jaxrpc:pom:1.4 > Requesting http://www.ibiblio.org/maven2/axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom > Redirected to http://mirrors.ibiblio.org/pub/mirrors/maven2/axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom > Requesting http://mirrors.ibiblio.org/pub/mirrors/maven2/axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom > rake aborted! > Failed to download axis:axis-jaxrpc:pom:1.4, tried the following repositories: > http://www.ibiblio.org/maven2// > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/artifact.rb:363:in `fail_download' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/artifact.rb:328:in `download' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/artifact.rb:258:in `initialize' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:27:in `call' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:27:in `execute' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:27:in `each' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:27:in `execute' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:13:in `invoke' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:6:in `synchronize' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:6:in `invoke' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/pom.rb:30:in `load' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/pom.rb:27:in `load' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/pom.rb:83:in `dependencies' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/pom.rb:72:in `map' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/pom.rb:72:in `dependencies' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/pom.rb:83:in `dependencies' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/pom.rb:72:in `map' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/java/pom.rb:72:in `dependencies' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/generate.rb:145:in `from_maven2_pom' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/generate.rb:11 > /var/lib/gems/1.8/gems/highline-1.4.0/lib/highline/menu.rb:314:in `call' > /var/lib/gems/1.8/gems/highline-1.4.0/lib/highline/menu.rb:314:in `select' > /var/lib/gems/1.8/gems/highline-1.4.0/lib/highline.rb:309:in `choose' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/generate.rb:8 > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:27:in `call' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:27:in `execute' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:27:in `each' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:27:in `execute' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:13:in `invoke' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:6:in `synchronize' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/rake_ext.rb:6:in `invoke' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/application.rb:102:in `find_buildfile' > /usr/lib/ruby/1.8/fileutils.rb:121:in `chdir' > /usr/lib/ruby/1.8/fileutils.rb:121:in `chdir' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/application.rb:102:in `find_buildfile' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/application.rb:52:in `run' > /var/lib/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling' > /var/lib/gems/1.8/gems/buildr-1.2.10/lib/core/application.rb:51:in `run' > /var/lib/gems/1.8/gems/buildr-1.2.10/bin/buildr:7 > /usr/local/bin/buildr:16:in `load' > /usr/local/bin/buildr:16 > However, doing "mvn install" in the directory downloads and runs everything fine. It seems that "http://repo1.maven.org/maven2/axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom" doesn't exist. This isn't a problem for maven (it treats it as having no dependencies), but it seems to be a problem for buildr. > Any idea how we can fix or work around this (without giving up transitive dependencies)? > Thanks, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.