Uploaded image for project: 'Buildr'
  1. Buildr
  2. BUILDR-9

"buildr artifacts" tries to download the jar of a pom project

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.10
    • Fix Version/s: 1.3
    • Component/s: Dependency management
    • Labels:
      None
    • Environment:
      openSuse 10.3
      buildr trunk

      Description

      Buildfile:
      repositories.remote << "http://mirrors.ibiblio.org/pub/mirrors/maven2"

      desc "The Buildr-test project"
      define "buildr-test" do
      project.version = "1.0.0"
      project.group = "buildr-test"

      compile.with transitive("org.hibernate:hibernate:jar:3.2.5.ga")
      end

      Output:
      tmak@noname:~public_html/buildr-test> buildr artifacts --trace
      (in /home/tmak/public_html/buildr-test)

        • Invoke buildr:initialize (first_time)
        • Execute buildr:initialize
        • Invoke buildr-test (first_time)
        • Execute buildr-test
        • Invoke /home/tmak/.m2/repository/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.pom
        • Invoke /home/tmak/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom
        • Invoke /home/tmak/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
        • Invoke /home/tmak/.m2/repository/commons-collections/commons-collections/2.1/commons-collections-2.1.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/commons-collections/commons-collections/2.1/commons-collections-2.1.pom
        • Invoke /home/tmak/.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom
        • Invoke /home/tmak/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.pom
        • Invoke /home/tmak/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom
        • Invoke /home/tmak/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom
        • Invoke /home/tmak/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.pom
        • Invoke /home/tmak/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.pom
        • Invoke /home/tmak/.m2/repository/asm/asm/1.5.3/asm-1.5.3.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/asm/asm/1.5.3/asm-1.5.3.pom
        • Invoke /home/tmak/.m2/repository/asm/asm/1.5.3/asm-1.5.3.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.pom
        • Invoke /home/tmak/.m2/repository/ant/ant/1.6.5/ant-1.6.5.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/ant/ant/1.6.5/ant-1.6.5.pom
        • Invoke /home/tmak/.m2/repository/org/apache/apache/4/apache-4.pom (first_time, not_needed)
          Loading m2 pom file from /home/tmak/.m2/repository/org/apache/apache/4/apache-4.pom
        • Invoke buildr-test
        • Invoke artifacts (first_time)
        • Invoke /home/tmak/.m2/repository/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/commons-collections/commons-collections/2.1/commons-collections-2.1.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/commons-collections/commons-collections/2.1/commons-collections-2.1.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/asm/asm/1.5.3/asm-1.5.3.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar (first_time, not_needed)
        • Invoke /home/tmak/.m2/repository/ant/ant/1.6.5/ant-1.6.5.pom (not_needed)
        • Invoke /home/tmak/.m2/repository/org/apache/apache/4/apache-4.jar (first_time)
        • Execute /home/tmak/.m2/repository/org/apache/apache/4/apache-4.jar
          Downloading org.apache:apache:jar:4
          Downloading org.apache:apache:jar:4
          Requesting http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/apache/4/apache-4.jar
          rake aborted!
          Failed to download org.apache:apache:jar:4, tried the following repositories:
          http://mirrors.ibiblio.org/pub/mirrors/maven2/
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/java/artifact.rb:363:in `fail_download'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/java/artifact.rb:328:in `download'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/java/artifact.rb:258:in `initialize'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:27:in `call'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:27:in `execute'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:27:in `each'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:27:in `execute'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:13:in `invoke'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:6:in `synchronize'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:6:in `invoke'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:31:in `invoke_prerequisites'
          /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each'
          /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `send'
          /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:31:in `invoke_prerequisites'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:12:in `invoke'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:6:in `synchronize'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/rake_ext.rb:6:in `invoke'
          /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'
          /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'
          /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'
          /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'
          /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/application.rb:54:in `run'
          /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/lib/core/application.rb:51:in `run'
          /usr/lib/ruby/gems/1.8/gems/buildr-1.2.11/bin/buildr:7
          /usr/bin/buildr:19:in `load'
          /usr/bin/buildr:19

        Attachments

          Activity

            People

            • Assignee:
              assafarkin Assaf Arkin
              Reporter:
              tmak Thomas Marek
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: