maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joachim Van der Auwera <joac...@progs.be>
Subject Re: Using scope in dependencyManagement: good idea or bad?
Date Fri, 01 Jun 2012 13:40:38 GMT
In my experience a bad idea (bitten by this in the past). If the same 
dependency is mentioned in dependencyManagement in various places, then 
you may end up with the wrong scope.

I use dependencyManagement to specify the version and possibly 
exclusions. Scope is still managed in the dependency declaration itself.

Kind regards,
Joachim

On 01-06-12 15:05, Andreas Sewe wrote:
> Hi all,
>
> the subject say it all: Is declaring scopes in the dependencyManagement
> section of your parent POM a good idea or a bad idea?
>
> Best wishes,
>
> Andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message