maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Sewe <s...@st.informatik.tu-darmstadt.de>
Subject Re: Using scope in dependencyManagement: good idea or bad?
Date Fri, 01 Jun 2012 14:40:23 GMT
Joachim Van der Auwera wrote:
> 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.

Makes sense. I was basically wondering if everyone considers this to
*always* be a bad idea or whether there are exceptions (like a
provided-scoped servlet-api, where a different scope might evne be
considered a "bug").

Best wishes,

Andreas

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


Mime
View raw message