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: Fwd: [ANNOUNCE] Archiva 1.0 Beta 1 Release
Date Thu, 06 Sep 2007 05:48:30 GMT
On 9/5/07, Nigel Charman <online@charman.net.nz> wrote:
>
>
> No, I just tried it and got the following error.  Similarly for
> latest.integration.  I find it strange that this works for ibiblio, but
> not
> for a local Maven repository.


It's because Ivy relies on directory listing to get the list of revisions,
but usually maven proxies don't list directories. We have to use maven
metadata files to make this work. There's already an issue about that, we'll
fix this before 2.0 final.

Thanks for your help.

Xavier

 Let me know if you want me to try anything
> else.
>
> [ivy:resolve]           module not found: [ junit | junit | 4.0+ ]
> [ivy:resolve]   ==== shared: tried
> [ivy:resolve]     /home/nigel/.ivy2/shared/junit/junit/4.0+/ivys/ivy.xml
> [ivy:resolve]
> /home/nigel/.ivy2/shared/junit/junit/[revision]/ivys/ivy.xml
> [ivy:resolve]     -- artifact [ junit | junit | 4.0+ ]/junit.jar[jar]:
> [ivy:resolve]     /home/nigel/.ivy2/shared/junit/junit/4.0+/jars/junit.jar
> [ivy:resolve]
> /home/nigel/.ivy2/shared/junit/junit/[revision]/jars/junit.jar
> [ivy:resolve]   ==== maven2-local: tried
> [ivy:resolve]
>
> http://localhost:2222/archiva/repository/internal/junit/junit/4.0+/junit-4.0+.pom
> [ivy:resolve]
>
> http://localhost:2222/archiva/repository/internal/junit/junit/[revision]/junit-[revision].pom
> [ivy:resolve]     -- artifact [ junit | junit | 4.0+ ]/junit.jar[jar]:
> [ivy:resolve]
>
> http://localhost:2222/archiva/repository/internal/junit/junit/4.0+/junit-4.0+.jar
> [ivy:resolve]
>
> http://localhost:2222/archiva/repository/internal/junit/junit/[revision]/junit-[revision].jar
>
>
>
> Xavier Hanin wrote:
> >
> > Interesting, thanks for sharing with us. And does it work with dynamic
> > versions, like latest.integration, or 1.0+?
> >
> > Xavier
> >
> > On 9/5/07, Nigel Charman <online@charman.net.nz> wrote:
> >>
> >>
> >> I've been using Ivy successfully with Archiva 1.0-alpha-2.  Archiva
> >> didn't
> >> quite work OOTB - I needed to fiddle a couple of settings on Archiva's
> >> proxy
> >> connector.  Maybe these are fixed in the beta.
> >>
> >> Once Archiva is setup, the Ivy configuration is straightforward and the
> >> combination works like a dream.  The relevant snippets from my ivy-conf
> >> are:
> >>
> >>    <property name="ibiblio-maven2-root"
> >> value="http://localhost:2222/archiva/repository/internal/"
> >> override="false"
> >> />
> >>    <property name="ibiblio-maven2-pattern"
> >> value="[organisation]/[module]/[revision]/[module]-[revision].[ext]"
> >> override="false" />
> >>
> >>         <resolvers>
> >>                 <ibiblio name="maven2-local"
> >> root="${ibiblio-maven2-root}"
> >> pattern="${ibiblio-maven2-pattern}" m2compatible="true"/>
> >>
> >> Cheers
> >> Nigel
> >>
> >>
> >> Gilles Scokart wrote:
> >> >
> >> > Did anyone already tried to use ivy with Archiva?
> >> >
> >> > I remember that someone mentioned it.  But I think it was a long time
> >> > ago, and would be interrested by more recent info.
> >> >
> >> > Thanks,
> >> > Gilles
> >> >
> >> >
> >> > --
> >> > Gilles SCOKART
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Fwd%3A--ANNOUNCE--Archiva-1.0-Beta-1-Release-tf4259978.html#a12490480
> >> Sent from the ivy-user mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Xavier Hanin - Independent Java Consultant
> > http://xhab.blogspot.com/
> > http://incubator.apache.org/ivy/
> > http://www.xoocode.org/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Fwd%3A--ANNOUNCE--Archiva-1.0-Beta-1-Release-tf4259978.html#a12510783
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>


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

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