Java Mailing List Archive

http://www.java2.5341.com/

Home » Maven Users List »

DependencyManagement to force scope

softwarepills

2008-10-02

Replies: Find Java Web Hosting

Author LoginPost Reply

I usually think in DependencyManagement as a "by default" section, i mean,
the version and scope you set in DependencyManagement is the version and
scope you get if ommited in the real dependency in the POM and child POMs.

But, i have found that if i insert provided scope in the
DependencyManagement section, any compile dependency and transitive compile
dependency will be "upgraded" to provided.

Is this correct? Is this the intended behavior? If yes, this is a
inetresting tool to exclude artifacts form being packaged, right?


--
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.