Need to minimize shipping non-required or provided dependencies in the uberjar.
Some ideas that need to be further refined:
- Split CDI into cdi-embedded and cdi-remote
- Add only cdi-embedded to infinispan-embedded (and cdi-remote to infinispan-remote)
- Add infinispan-client-hotrod to infinispan-embedded ? Used for RemoteCacheStore (which is an embedded use-case)
- infinispan-embedded has a compulsory dependency on javax.transaction api. We cannot change this in Infinispan <= 8.2 for backwards compatibility, but we can change it in 8.3