Hi Laird,

Thanks for your answer! It's funny because I already tried your piece of
code, but couldn't get it running. That's the reason why I went on another
direction :-)

Can you please provide a complete example? Because I have problems when it
comes to retrieve MavenProject objects with the buildFromRepository method.
It throws some exceptions. I suspect that my artifacts are not always
resolved when I call this method.

Thank you so much!
Jérémy

On Mon, Nov 7, 2011 at 6:44 PM, Laird Nelson <ljnel...@gmail.com> wrote:

> On Mon, Nov 7, 2011 at 12:29 PM, Jérémy <mer...@gmail.com> wrote:
>
> > I'm trying to sort the dependencies expressed in the pom.xml (including
> the
> > transitive ones) in a topological way.
> >
>
> Hello; I faced the same problem and found a solution.  Given that most of
> the classes involved were undocumented, it remains hard to know if this is
> the proper way to do it, but it works for me.
>
>
> http://maven.40175.n5.nabble.com/Topologically-sorting-dependencies-td3384898.html
>
> Best,
> Laird
>
> --
> http://about.me/lairdnelson
>

Reply via email to