On 10/10/07, Maarten Coene <[EMAIL PROTECTED]> wrote:
>
> Couldn't we use the <ivy:listmodules> task for this?


We would have to first fix it for maven 2 repo then:
https://issues.apache.org/jira/browse/IVY-503

Repository listing doesn't work with m2compatible repos, because of the
nested directories which make it difficult for Ivy to deduce the list of
organizations from the directory listing.

Xavier

--
> Maarten
>
> ----- Original Message ----
> From: Xavier Hanin <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Wednesday, October 10, 2007 7:51:48 PM
> Subject: Re: testing ivy by walking the repository
>
>
> On 10/10/07, Gilles Scokart <[EMAIL PROTECTED]> wrote:
> >
> >
> > I already thinked to something like that.   And to be complete, the
> test
> > should also do a resolve using maven libraries
> > and compare that resulting jars.
>
>
> It would be an interesting test, at least it would allow to say exactly
> how
> much we are compatible with maven 2 (50%, 80%, ...). ATM we now that
> there
> are several remaining problems, I think the most important ones are
> error in
> parsing (as slf4j's case). Then we have many other issues but which may
> not
> be that much important in frequency of use:
> - dependency management section (recently reported by a user)
> - parent pom handling
> - profiles (which would require conditional configurations or
> dependencies).
>
> Xavier
>
> However, that would make really a lot of download  :-)
> >
> > Gilles
> >
> >
> > > -----Original Message-----
> > > From: Steve Loughran [mailto:[EMAIL PROTECTED]
> > > Sent: mercredi 10 octobre 2007 14:08
> > > To: [email protected]
> > > Subject: testing ivy by walking the repository
> > >
> > >
> > >
> > > Ivy 2.0.0-alpha-2 isnt working  with slf4j:
> > >
> > > <dependency org="org.slf4j"
> > >          name="slf4j-jcl"
> > >          rev="1.4.3"
> > >          conf="redist->default"/>
> > >
> > > [ivy:resolve] :::: WARNINGS
> > > [ivy:resolve]
> ::::::::::::::::::::::::::::::::::::::::::::::
> > > [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES
> ::
> > > [ivy:resolve]
> ::::::::::::::::::::::::::::::::::::::::::::::
> > > [ivy:resolve]           :: [ org.slf4j | slf4j-jcl | 1.4.3 ]:
> > > java.text.ParseException: inconsistent module descriptor file found
> in
> > > '
> >
>
> http://repo1.maven.org/maven2/org/slf4j/slf4j-jcl/1.4.3/slf4j-jcl-1.4.3.pom
> > ':
> > > bad revision: expected='1.4.3' found='${parent.version}';
> > > [ivy:resolve]
> ::::::::::::::::::::::::::::::::::::::::::::::
> > > [ivy:resolve] :::: ERRORS
> > > [ivy:resolve]           maven2: bad revision found in
> > >
> >
>
> http://repo1.maven.org/maven2/org/slf4j/slf4j-jcl/1.4.3/slf4j-jcl-1.4.3.pom
> > :
> > > expected='1.4.3 found='${parent.version}'
> > > [ivy:resolve]
> > >
> > >
> > > This has made me think of an interesting little field test:
> enumerating
> > > the entire ibiblio m2 repository, and having ivy try and parse
> every
> > > single pom file there.  Has anyone tried this? We'd need something
> to
> > > autogenerate the ivy.xml files, then throw then one by one at ivy,
> > > presumably creating a junit test suite on the fly to do this...
> > >
> > > --
> > > Steve Loughran
>   http://www.1060.org/blogxter/publish/5
> > > Author: Ant in Action           http://antbook.org/
> >
> >
>
>
> --
> Xavier Hanin - Independent Java Consultant
> http://xhab.blogspot.com/
> http://incubator.apache.org/ivy/
> http://www.xoocode.org/
>
>
>
>
>
>
>
> ____________________________________________________________________________________
> Need a vacation? Get great deals
> to amazing places on Yahoo! Travel.
> http://travel.yahoo.com/
>



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

Reply via email to