[infinispan-dev] Moving JCache annotation implementation and TCK run from infinispan-cdi to infinispan-jcache

Galder Zamarreño galder at redhat.com
Wed Feb 20 11:43:24 EST 2013

Hi all,

As part of the JSR-107 TCK,  there's the possibility to run the optional JSR-107 annotation TCK.

Currently this is run as part of https://github.com/infinispan/infinispan/tree/master/cdi/tck-runner, but I'd like to integrate with the JSR-107 implementation TCK run integration project so that both TCKs are run from a single project:

Btw, I've recently discovered Maven Invoker plugin which is ideal for running integration tests for a particular project, such as TCK. The nice thing about it is that if you're building integration tests for project X, it will run them as part of the build for project X. So no need to have a separate project which you have to invokve manually (as we have now with lucene integration tests). For more info, check: http://maven.apache.org/plugins/maven-invoker-plugin/  - I discovered it looking at how Dagger was testing it's CDI implementation.

Also, I've renamed the JSR-107 module name to JCache cos that's the name of the API, and in the future there could other JSRs that deal with further improvements of JCache, so you don't really wanna be stuck in a particular JSR number. 

The other thing I'd like to do is remove the JCache annotation support from https://github.com/infinispan/infinispan/tree/master/cdi/extension and put it in the JSR-107 implementation I'm finishing.

That way, all JCache/JSR-107 related stuff is under the same umbrella (both implementation and TCK run integration tests):

This would be a trivial subtask of https://issues.jboss.org/browse/ISPN-2639

Galder Zamarreño
galder at redhat.com

Project Lead, Escalante

Engineer, Infinispan

More information about the infinispan-dev mailing list