ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: exclude dependency but resolve *its* dependencies
Date Mon, 21 Apr 2008 15:55:55 GMT
On Mon, Apr 21, 2008 at 4:31 PM, Clements Mark <clements@ofac.ch> wrote:

> Hi,
>
> I would like to be able to define a dependency in ivy.xml something like
> this:
>
>  <dependency  name="OFACOF" rev="HEAD" conf="compile,run"
> changing="true" >
>     <exclude name="OFACOF"/>
>  </dependency>
>
> ie resolving and retrieving the dependencies of OFACOF, but not have
> OFACOF itself available from Ivy (I want to supply it from a local
> project in Eclipse).
>
> Without publishing my integration version of OFACOF to a local
> repository, is it possible to do this? If I've missed something obvious
> in the docs could someone please point me to it?


The exclude you use should work, Ivy should exclude the dependencies only if
you exclude the whole module, not the artifacts. Which artifact(s) does
OFACOF publish?

Xavier


>
> Thanks very much,
>
> Mark
>



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message