Migrate ehcache.xml to the Ehcache 3 format

Proprietary

Rewrites each Ehcache 2 configuration, an XML document whose root is <ehcache>, in the Ehcache 3 XML format that Ehcache 3's JCache provider reads. Each cache keeps its name, its heap size in entries or bytes, and its time to live, time to idle or eternity. <defaultCache> becomes the template the JCache provider creates caches from that the file does not configure. Disk overflow, eviction policies and Ehcache 2's other tuning have no Ehcache 3 counterpart and are dropped, with a comment where a cache overflowed to disk. A configuration that uses replication, Terracotta, transactions, search, or listener, loader or other extension classes is left as it is.

io.moderne.java.ehcache.MigrateEhcacheXmlConfiguration
mod run . --recipe=io.moderne.java.ehcache.MigrateEhcacheXmlConfiguration

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.