Hi.
Direct dependencies take precedence over transitive dependencies.
Therefore, if you declare ehcache 1.2 in your pom.xml, then any
transitive dependency of the same artifact but different version will
not go into your project's classpath.
No need to exclude if the problem is only the version. You need only to
put the artifact with the version you want in your pom.xml.
Hope that helps.
^_^
Satish wrote:
I have the following dependecies in my POM
- ecahce - 1.2
- hibernate 3.1rc1
I have one of the package which depends on ecahce 1.2, but as part of
hibernate dependency, it downloads ecache1.1. There are some method
signatures change between ecache 1.1 and 1.2 and this results in the compile
error as the end, i assume
ecache 1.1 is taking the precedence in the classpath.
any tips to resolve this.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]