ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lightguard...@gmail.com
Subject Empty version in pom issue
Date Mon, 30 Nov 2009 18:06:56 GMT
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="working@Lappy.local" force="true"
conf="compile->compile(*),master(*);runtime->runtime(*)"/>
   <dependency org="org.jboss.weld" name="weld-api" rev="working@Lappy.local" force="true"
conf="compile->compile(*),master(*);runtime->runtime(*)"/>
   <dependency org="org.jboss.weld" name="weld-spi" rev="working@Lappy.local" 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

Mime
View raw message