The inheritent is for reuse purpose.  So place all your common deps in the
parent.
-D


On 10/18/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote:

Dear Maven Users.



As far as I know in multi-module projects, either we can declare
dependencies in parent pom or child pom (to which dependency belongs to) -
both ways it works, but I would like to know the recommended practice for
dependencies declaration.



1.Should it be declared in the corresponding child pom only to which it
belongs to or stack up all dependencies in the parent pom (which I think
is
not a recommended practice, but I am not sure).



Thanks for your help!



Regards.



-J







Reply via email to