Shakun,
 
try using  <dependency>
<exclusions>
...
</exclusions>
</dependency>
 
on one of them.
 
mvn dependency:tree will give you details of all dependencies for your project.

________________________________

From: Shakun Gupta [mailto:[EMAIL PROTECTED]
Sent: Mon 25/08/2008 6:30 AM
To: Maven Users List
Subject: Dependency issue



Hi,
I am using two dependencies, both are dependent upon
apache-comons-collections, but of different versions. So, my final jar /
war contains two versions of commons-collections, is there a way to stop
this.
Regards,
Shakun

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






____________________________________________________________________________________________________
This electronic mail (including any attachments) may contain information that 
is privileged, confidential, and/or otherwise protected from disclosure to 
anyone other than its intended recipient(s). Any dissemination or use of this 
electronic email or its contents (including any attachments) by persons other 
than the intended recipient(s) is strictly prohibited. If you have received 
this message in error, please notify us immediately by reply email so that we 
may correct our internal records. Please then delete the original message 
(including any attachments) in its entirety. Thank you.

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

Reply via email to