On Mon, Nov 30, 2009 at 10:32, <[email protected]> wrote:
Here's an excerpt from a pom of a dependency I'm using: <dependency> <groupId>javax.enterprise</groupId> <artifactId>cdi-api</artifactId> </dependency> <dependency> <groupId>org.jboss.weld</groupId> <artifactId>weld-api</artifactId> </dependency> <dependency> <groupId>org.jboss.weld</groupId> <artifactId>weld-spi</artifactId> </dependency> You'll notice there aren't any versions defined here, so maven is going to use the lastest. The ivy file that's created for this section: <dependency org="javax.enterprise" name="cdi-api" rev="[email protected]" force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/> <dependency org="org.jboss.weld" name="weld-api" rev="[email protected]" force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/> <dependency org="org.jboss.weld" name="weld-spi" rev="[email protected]" force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/> The rev (version) is all messed up, and it can't find it in the repo. I'm in gradle 0.8. Is this a bug in Ivy or a bug in how Gradle is using Ivy? -- Jason Porter Real Programmers think better when playing Adventure or Rogue. PGP key id: 926CCFF5 PGP fingerprint: 64C2 C078 13A9 5B23 7738 F7E5 1046 C39B 926C CFF5 PGP key available at: keyserver.net, pgp.mit.edu
It looks like this is an Ivy issue. It may work correctly if it's using the latest version with the mavenMetaData it may work, but I'm not quite sure how to set that up. I've posted to the Ivy users mailing list and we'll see what they have to say. -- Jason Porter Real Programmers think better when playing Adventure or Rogue. PGP key id: 926CCFF5 PGP fingerprint: 64C2 C078 13A9 5B23 7738 F7E5 1046 C39B 926C CFF5 PGP key available at: keyserver.net, pgp.mit.edu
signature.asc
Description: OpenPGP digital signature
