On 6/30/06, Graham Lea <[EMAIL PROTECTED]> wrote:

Say I am using SickWebFramework 1, which relies on commons-logging 1.0,
and BasicTemplateEngine 2.0, which relies on commons-logging 2.3.
How will Maven know which version to use?
Would I need to tell it?

Maven builds a dependency graph and picks the "nearest definition".
(This is why anything you declare in your own project's pom will
override a transitive version.)

If you have two different versions at the same "depth" though... I
don't know, I'd have to experiment with it.  I'm going with
"undefined" for now.

http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to