ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lightguard...@gmail.com
Subject Re: Empty version in pom issue
Date Thu, 03 Dec 2009 14:10:05 GMT


On Wed, Dec 2, 2009 at 14:26, Maarten Coene <maarten_coene@yahoo.com> 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: "lightguard.jp@gmail.com" <lightguard.jp@gmail.com>
> To: ivy-user@ant.apache.org
> 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="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
>
>
>
>

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

Mime
View raw message