buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin (JIRA)" <j...@apache.org>
Subject [jira] Closed: (BUILDR-9) "buildr artifacts" tries to download the jar of a pom project
Date Tue, 22 Apr 2008 00:01:21 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Assaf Arkin closed BUILDR-9.
----------------------------

    Resolution: Cannot Reproduce

I tried this example and a related bug reported on the mailing list, and can't replicate the
bug.

This might be related to bad artifact deployment, for which we need a workaround, or a genuine
bug in Buildr.  Either way, need a way to generate a repeatable test case.

> "buildr artifacts" tries to download the jar of a pom project
> -------------------------------------------------------------
>
>                 Key: BUILDR-9
>                 URL: https://issues.apache.org/jira/browse/BUILDR-9
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.2.10
>         Environment: openSuse 10.3
> buildr trunk
>            Reporter: Thomas Marek
>            Assignee: Assaf Arkin
>            Priority: Blocker
>             Fix For: 1.3
>
>         Attachments: dont_create_a_jar_artifact_if_the_pom_parent_is_a_pom_project.patch,
dont_create_a_jar_artifact_if_the_pom_parent_is_a_pom_project_02.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message