maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume CHAUVET <>
Subject Scope question
Date Tue, 05 Nov 2013 09:47:57 GMT

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,


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message