Ehcache-JCache For Ehcache 2.x.
(JSR107 support is built directly into Ehcache 3.x)
ehcache-jcache is a full implementation of the API and SPI from JSR-107 (aka JCache). It provides a wrapper around an Ehcache cache that allows allows you to use Ehcache as the caching provider using only JSR-107 APIs.
More detailed information about how to use this is found under the ehcache-jcache module
- ehcache-jcache This contains the ehcache-jcache implementation
- jcache-tck-runner This runs the JSR107 TCK suite against the ehcache-jcache implementation to verify compliance with the spec.
Just run the following command line (provided you have maven 3 already installed) :
mvn clean install
You may want to disable the run-tck profile (if you don't have the TCK in your local maven repository since it's not published to a maven repository) :
mvn clean install -P -run-tck
Active development of the ehcache-jcache module follows changes to the spec. There will be no attempt to maintain backwards compatibility between release versions; the focus of each release will be compliance with the latest JSR107 spec.
Following releases of the JSR107 spec APIs, an updated release milestone will be released and the latest stable release code will sit on the master branch of the ehcache-jcache github repository.
Please log issues to: https://github.com/Terracotta-OSS/ehcache-jcache/issues
This software is provided under an Apache 2 open source license, read the
LICENSE.txt file for details.
This free, open source software was made possible by Terracotta, Inc.. See the
CONTRIBUTORS.markdown file for details.
Copyright (c) Terracotta
Releases are available from Maven Central.
Snapshots are available from the Sonatype OSS snapshot repository. In order to access the snapshots, you need to add the following repository to your pom.xml:
<repository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository>