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: Using Cocoons Maven repo
Date Fri, 23 Feb 2007 07:11:52 GMT
On 2/22/07, Ross Gardler <rgardler@apache.org> wrote:
>
> At Apache Forrest we are moving towards an ivy managed build system.
> Most of our dependencies come from Cocoon, which uses Maven2. We can
> therefore get the majority of our jars from either:
>
> http://people.apache.org/repository
> or
> http://people.apache.org/maven-snapshot-repository
>
> However, I just can't seem to set up my ivyconf correctly to use these
> repos. Can someone tell me what the resolver config should look like for
> the above two Maven2 repositories.


According to what I see in these repos, it seems that the first one is a
maven 1 repo and the second is a maven2 one. So I think you should be able
to use them like this:

<ivyconf>
  <conf defaultResolver="apache" />
  <resolvers>
    <chain name="apache">
        <ibiblio name="regular" root="http://people.apache.org/repository"
/>
        <ibiblio name="snapshot" root="
http://people.apache.org/maven-snapshot-repository" m2compatible="true" />
    </chain>
  </resolvers>
</ivyconf>

Hope this helps,

- Xavier


Thanks,
> Ross
>

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