update ehcache dependency and handle hibernate-ehcache
The latest version of ehcache-core is 3.8.1 but has a different groupId since version 3.0 so we need to check if this is still working together.
Also we should check if cdmlib-remote dependency hibernate-ehcache is really needed. It relates to the similar library ehcache (not -core) and therefore many classes are duplicated.
Removing hibernate-ehcache from maven pom does not create any compile problems.
ref #9207 remove ehcache-core dependency from cdmlib-services as it is already in cdmlib-model
#1 Updated by Andreas Müller 24 days ago
The different versions have different sizes. The old version net.sf.ehcache-core and the very new version org.ehcache have 9MB.
Therefore we should discuss if we really want to use net.sf.ehcache. Better we migrate cdmlib-cache to org.ehcache and keep net.sf.ehcache-core as long as it is referenced by any dependent library.
org.ehcache has completely new namespaces and a couple of changes. Therefore it is not compatible to any 2.x version at all.