ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Tharp <joshua-th...@alumni.calpoly.edu>
Subject Re: Depedencies in shared repository
Date Tue, 04 Aug 2009 18:40:24 GMT
You need one resolver configured in your ivysettings.xml file for each
repository you want to pull from. In your example, if you include a resolver
for IBIBLIO then you can get all the apache commons artifacts. The Ivy
documentation describes setting up resolvers pretty well. Take a look there.

On Tue, Aug 4, 2009 at 11:34 AM, Paul Grenyer <paul.grenyer@gmail.com>wrote:

> Hi
>
> Perhaps it would be better if I explain what I'm actually trying to do?
>
> I have a JAR net.purpletube.goodmusic-0.1.jar and, obviously, it's not
> in the mvn repository, so I want to put it in a shred repository,
> which I've managed to do by installing apache web server and using
> ivy:install.
>
> However, net.purpletube.goodmusic-0.1.jar depends on
> commons-lang-2.0.jar, which is available in the mvn repository. So I
> want to be able to configure my shared repository so that when I make
> net.purpletube.goodmusic-0.1.jar a dependency in a project:
>
> <dependencies>
>    <dependency org="net.purpletube" name="goodmusic" rev="0.1"
> conf="default"/>
> </dependencies>
>
> Ivy also goes and gets commons-lang-2.0.jar from mvn automatically,
> much like spring or hibernate downloading its dependencies.
>
> Does that make my issue easier to understand?
>
> Thanks!
> Paul
>
> --
> Thanks
> Paul
>
> Paul Grenyer
> e: paul.grenyer@gmail.com
> w: http://www.marauder-consulting.co.uk
> b: paulgrenyer.blogspot.com
>

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