Should be possible to change through the dependencyManagement section. /Anders
On Tue, Nov 5, 2013 at 10:47 AM, Guillaume CHAUVET < [email protected]> wrote: > Hello, > > I wondering if it is possible to change the scope of a dependency > depending on the position in the tree of dependencies ? > Here is a small example: > An artifact "A" with a dependence on a "z" artifact defined with "compile" > scope. > If I use artifact "A" in a project "B", I would like the dependency scope > of "z" becomes "runtime", in order to prevent the user to explicitly call > classes from artifact "z ". > > Do you think it is possible to have this kind of behaviour ? > Thanks in advance, > > Guillaume >
