This is not really related to m2eclipse, but you can add your ehcache to Dependency Management section and force required version in there. Also, if you add ehcache into dependencies, Maven will resolve conflicts.

Note that Maven / Add dependency action does not allow to add dependency if it is already present in the Maven project (including parent and transitive dependencies). This had been already fixed in the trunk, but in a mean time you should be able to use the pom editor to make required changes.

 regards,
 Eugene


miro wrote:
eclipse does not let me change version of ehcache becasue its hibernate dependency ,and I cannot change hibernate pom , if i can please tell me
how ?


Eugene Kuleshov wrote:
If you already have dependency declared you need to open pom.xml in the pom editor and simply change version of that dependency in there.

  regards,
  Eugene


miro wrote:
My project is using hibernate 3  and added this dependency through maven
so maven bought all dependencies for hibernate like ehcache1.2.3 etc. I
am
having trouble with ehcache  .
Now I want to implement security to my application , for which i have
choosen spring acegi security.
This needs ehcache1.2.4(+)   now how can I get   ehcache1.2.4(+)  for my
project ? I tried to add this dependency but I cannot add this because its
already in my project and  maven2eclipse dose not let me do this ,  i
cannot
even remove this , please help me how to handle this ?
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email







---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to