apache/commons-jcs — pull request #1 by rmannibucau (2014-04-27 22:02:08+00:00)
Title: Basic JCache support (CDI excluded)

This adds support for JCache (jsr107). CDI support is not yet done but basic classes are here (they just throw UnsupportedOperationException ATM).

Here a quick tutorial to check this:

* ensure to build jcs (mvn clean install)
* run tcks: mvn clean test -f tck.xml

Current result is:

```
Results :

Failed tests:
InterceptionUsingDefaultCacheNameTest>AbstractBlogManagerInterceptionTest.test_AT_CacheResult:56 Item should still be in the cache thus not null
InterceptionUsingDefaultCacheNameTest>AbstractBlogManagerInterceptionTest.test_AT_CacheResult_UsingAt_CacheKeyParam:82 Item should still be in the cache thus not null
InterceptionCacheNameOnEachMethodTest>AbstractBlogManagerInterceptionTest.test_AT_CacheResult:56 Item should still be in the cache thus not null
InterceptionCacheNameOnEachMethodTest>AbstractBlogManagerInterceptionTest.test_AT_CacheResult_UsingAt_CacheKeyParam:82 Item should still be in the cache thus not null
InterceptionUsingCacheConfigTest>AbstractBlogManagerInterceptionTest.test_AT_CacheResult:56 Item should still be in the cache thus not null
InterceptionUsingCacheConfigTest>AbstractBlogManagerInterceptionTest.test_AT_CacheResult_UsingAt_CacheKeyParam:82 Item should still be in the cache thus not null

Tests run: 477, Failures: 6, Errors: 0, Skipped: 0
```

which shows CDI support is still TODO.

Some notes about this PR: I didn't change project structure but would be great once merge to evaluate:

* to match maven standard layout
* to move jcache impl in its own module