On Wed, Dec 2, 2009 at 14:26, Maarten Coene <[email protected]> wrote:
Seems like a bug to me, please create a JIRA issue for this. If possible, also attach the pom (or it's URL) containing dependencies without versions. Maarten ----- Original Message ---- From: "[email protected]" <[email protected]> To: [email protected] Sent: Mon, November 30, 2009 7:06:56 PM Subject: Empty version in pom issue 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(*)"/> In the ivy.xml file I have <dependency org="org.jboss.weld" name="weld-core" rev="1.0.0" /> Settings file: <ivysettings> <settings defaultResolver="seam"/> <include url="${ivy.default.settings.dir}/ivysettings.xml"/> <resolvers> <ibiblio name="jboss" m2compatible="true" usepoms="true" root="http://repository.jboss.org/maven2/" pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"/> <chain name="seam" dual="true"> <resolver ref="public"/> <resolver ref="jboss"/> </chain> </resolvers> </ivysettings> Is there a way to fix this? -- 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
https://issues.apache.org/jira/browse/IVY-1146 -- 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
