In maven 1.x, if your project depends on jar A and jar A itself requires jar B, you have to manually add dependency to jar B.

In maven 2, dependencies are *transitive*, this means your project will automatically be dependent to jar B.

Maven 2 includes version conflicts algorithm so that it can manage multiple dependendecies version (for example, lot's of jars will requires commons-logging 1.0.3, some will require 1.0.4...). It also use a scope property to exclude some dependencies, that may be used only for testing and are not required at runtime.

Pilgrim, Peter a écrit :

What are transitive dependencies ?

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==============================================================================


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


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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

Reply via email to