Re: maven-dependency-tree reactor resolution

2014-03-26 Thread William Ferguson
Thanks Herve, I have started down the path of ITs within maven-dep-tree. As a first step I have submitted a patch to enable all 3 of the existing ITs http://jira.codehaus.org/browse/MSHARED-326 Next step is to ass in new ones to highlight the missing func and then hopefully I can fill that space.

Re: maven-dependency-tree reactor resolution

2014-03-24 Thread Hervé BOUTEMY
you hit the problem I faced when doing magic for multi-Maven versions compatibility: I didn't figure out how to have tests inside the component itself or it would need ITs (through m-invoker-p), but requires to write a plugin that uses the API then a pom that uses the plugin: too much the way I

Re: maven-dependency-tree reactor resolution

2014-03-24 Thread William Ferguson
Herve, I'm looking at trying to add this functionality to maven-dependency-tree but I want to start with a unit test showing the failure. But there doesn't seem to be any unit tests for the DependencyGraphBuilder (for any environment). What's the best way to create a unit test that sets up the en

Re: maven-dependency-tree reactor resolution

2014-03-20 Thread Hervé BOUTEMY
I don't really know: that's a precise feature that I didn't sudy dependency-tree is used in Maven plugins in contexts where components are already installed: so there is not much difference between reactor resolution and local repository resolution you're probably right: if reactor resolution is

Re: maven-dependency-tree reactor resolution

2014-03-20 Thread William Ferguson
Herve, I didn't think I was asking for any extra flexibility out of dependency-tree that it didn't already give. Are you saying that it doesn't support resolution of projects in the current reactor? William On Thu, Mar 20, 2014 at 5:16 PM, Hervé BOUTEMY wrote: > maven-dependency-tree offers a

Re: maven-dependency-tree reactor resolution

2014-03-20 Thread Hervé BOUTEMY
maven-dependency-tree offers a really simple API: that's its objective. The drawback is that it is not very flexible The value is that it hides Maven 2, Maven 3.0.x and Maven 3.1.x+ implementations, which are completely different (initial Maven 2 is made of listeners, Maven 3 uses Aether and Mave

Re: maven-dependency-tree reactor resolution

2014-03-19 Thread William Ferguson
Here's the direct links for both POMs morseflash-lib/pom.xml morseflash-app/pom.xml

Re: maven-dependency-tree reactor resolution

2014-03-19 Thread William Ferguson
Martin, https://github.com/jayway/maven-android-plugin-samples In particular the morseflash module which has: - morse-flash-lib - morse-flash-app (which is dependent on morse-flash-lib) William On Thu, Mar 20, 2014 at 10:28 AM, Martin Gainty wrote: > William- > > Can you show us the

RE: maven-dependency-tree reactor resolution

2014-03-19 Thread Martin Gainty
William- Can you show us the pom for both: Parent (X?) Dependency (Y?) > Date: Thu, 20 Mar 2014 09:55:31 +1000 > Subject: maven-dependency-tree reactor resolution > From: william.fergu...@xandar.com.au > To: users@maven.apache.org > CC: mosa...@gmail.com > > Hi, > > I have a plugin that