Hi all.

For a multi module project, eg a root, with three modules A, B and C. C is 
dependent upon A and B.

I'll written a plugin that performs the packaging of C (actually, it's a 
WebSphere Message Broker BAR file).

I have two issues in finding artifacts.

1. Currently I need install to be called so that I can locate A and B in the 
local repo. I'd prefer to use the artifact from the package phase, ie from 
target.

Can anyone suggest or point me to some code that does something similar?

2. Unwinding transitive dependencies. Currently I need to manually, in the Pom, 
explicitly list all of the deps.

Eg, if B depends on A above, currently I need to list both A and B as deps of C.

Where I shod really only have to list B and I should be able to (transitively) 
infer that I also need A as well.

Is there a helper method somewhere that will unwind all of the dep tree and 
return the list of deps in a list (or similar)?

-Chris

Sent from my iPhone
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to