After version 2.6, EhCache moved all their "core" stuff to a different module, kinda like how Spring separates modules. So if you go to Maven Central and search for a:ehcache-core
, you'll see something like:
Group ID Artifact ID Latest Version
======================= ============ ==============
net.sf.ehcache.internal ehcache-core 2.8.3
net.sf.ehcache ehcache-core 2.6.9
Since after 2.6.9 they moved all the 'core' stuff internally. This effectively means that if you had a dependency on ehcache-core
, i.e.:
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
</dependency>
...then you can upgrade only to 2.6.9 without having to change your code. If you want to use 2.7+, you'll have to modify your code to use their new API.