Ivy Dependency resolution - problems with org.eclipse.jetty.orbit

Hi!

I am trying to compile a Vaadin project from the command line, using Ant. When using the <ivy:retrieve /> task, Ivy downloads most of the dependencies correctly. However there are a few errors regarding org.eclipse.jetty.orbit:

[ivy:retrieve]
          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
          ::              FAILED DOWNLOADS            ::
[ivy:retrieve]
          :: ^ see resolution messages for details  ^ ::
[ivy:retrieve]
          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
          :: org.eclipse.jetty.orbit#javax.transaction;1.1.1.v201105210645!javax.transaction.orbit
[ivy:retrieve]
          :: org.eclipse.jetty.orbit#javax.servlet;3.0.0.v201112011016!javax.servlet.orbit
[ivy:retrieve]
          :: org.eclipse.jetty.orbit#javax.mail.glassfish;1.4.1.v201005082020!javax.mail.glassfish.orbit
[ivy:retrieve]
          :: org.eclipse.jetty.orbit#javax.activation;1.1.0.v201105071233!javax.activation.orbit
[ivy:retrieve]
          :: org.eclipse.jetty.orbit#javax.annotation;1.1.0.v201108011116!javax.annotation.orbit
[ivy:retrieve]
          :: org.eclipse.jetty.orbit#org.objectweb.asm;3.1.0.v200803061910!org.objectweb.asm.orbit
[ivy:retrieve]
          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve

This is a command line build under (Debian) Linux. Interestingly, running “ivy resolve” in Eclipse under Windows works perfectly fine.

Here’s what Ivy tries to download:

[ivy:retrieve] http://repo1.maven.org/maven2/org/eclipse/jetty/orbit/javax.activation/1.1.0.v201105071233/javax.activation-1.1.0.v201105071233.orbit When browsing through the Maven repository, it turns out that most of the directory actually exists: there is a directory
http://repo1.maven.org/maven2/org/eclipse/jetty/orbit/javax.activation/1.1.0.v201105071233/
but it only contains .jar files, .pom files and various hashes and NOT a “.orbit” file javax.activation-1.1.0.v201105071233.orbit

Is it possible that some dependencies configured in the Vaadin pom files went wrong? Is that a bug? How could I work around it?

Help would be appreciated.

Turns out, the Ivy version was too old. I had Version 2.2.0-2 installed. Downloading a local copy of version 2.4.0-rc1 fixed the issue.

Ivy is sucks! move to Maven (:

or try Alexander’s solution.