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

Antoine Toulme resolved BUILDR-477.
-----------------------------------

    Resolution: Fixed

Fixed.

23:08:40~/w/buildr>svn ci CHANGELOG spec lib/buildr/packaging/artifact.rb -m 
"BUILDR-477 Error while parsing maven-metadata.xml"
Sending        CHANGELOG
Sending        lib/buildr/packaging/artifact.rb
Sending        spec/packaging/artifact_spec.rb
Transmitting file data ...
Committed revision 985101.

> Error while parsing maven-metadata.xml
> --------------------------------------
>
>                 Key: BUILDR-477
>                 URL: https://issues.apache.org/jira/browse/BUILDR-477
>             Project: Buildr
>          Issue Type: Bug
>          Components: Core features
>    Affects Versions: 1.4.1
>            Reporter: Alex Boisvert
>            Assignee: Antoine Toulme
>             Fix For: 1.4.2
>
>         Attachments: maven-metadata.xml
>
>
> As reported by Adam Crain on the mailing list, the following:
> repositories.remote << "http://scala-tools.org/repo-snapshots";
> LIFT_PERSISTENCE = 
> artifact("net.liftweb:lift-persistence:jar:2.0-scala280-SNAPSHOT")
> LIFT_PERSISTENCE.invoke
> leads to:
> {noformat}
> Downloading 
> http://scala-tools.org/repo-snapshots/net/liftweb/lift-persistence/2.0-scala280-SNAPSHOT/maven-metadata.xml
> maven-metadata.xml: 100% 
> |.............................................................................................|
>      324B/324B Time: 00:00:00
> Buildr aborted!
> NoMethodError : undefined method `text' for nil:NilClass
> /home/boisvert/svn/buildr-trunk/lib/buildr/packaging/artifact.rb:433:in 
> `current_snapshot_repo_url'
> /home/boisvert/svn/buildr-trunk/lib/buildr/packaging/artifact.rb:414:in 
> `download_m2_snapshot'
> /home/boisvert/svn/buildr-trunk/lib/buildr/core/transports.rb:312:in `find'
> /home/boisvert/svn/buildr-trunk/lib/buildr/packaging/artifact.rb:413:in `each'
> /home/boisvert/svn/buildr-trunk/lib/buildr/packaging/artifact.rb:413:in `find'
> /home/boisvert/svn/buildr-trunk/lib/buildr/packaging/artifact.rb:413:in 
> `download_m2_snapshot'
> /home/boisvert/svn/buildr-trunk/lib/buildr/packaging/artifact.rb:406:in 
> `download'
> /home/boisvert/svn/buildr-trunk/lib/buildr/packaging/artifact.rb:337:in 
> `initialize'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
> {noformat}

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

Reply via email to