diff --git a/spring-boot-samples/spring-boot-sample-cache/README.adoc b/spring-boot-samples/spring-boot-sample-cache/README.adoc index 7127d8e9ed..02cc2dcb47 100644 --- a/spring-boot-samples/spring-boot-sample-cache/README.adoc +++ b/spring-boot-samples/spring-boot-sample-cache/README.adoc @@ -79,10 +79,10 @@ the underlying `HazelcastInstance`. === Infinispan -Simply add the `org.infinispan:infinispan-spring4` dependency to enable support for -Infinispan. There is no default location that Infinispan uses to look for a config -file so if you don't specify anything it will bootstrap on a hardcoded default. You -can set the `spring.cache.infinispan.config` property to use the provided +Add the `org.infinispan:infinispan-spring4` and `org.infinispan:infinispan-spring4-embedded` +dependencies to enable support for Infinispan. There is no default location that Infinispan +uses to look for a config file so if you don't specify anything it will bootstrap on a hardcoded +default. You can set the `spring.cache.infinispan.config` property to use the provided `infinispan.xml` configuration instead. diff --git a/spring-boot-samples/spring-boot-sample-cache/pom.xml b/spring-boot-samples/spring-boot-sample-cache/pom.xml index a2dd9a0177..3b18383814 100644 --- a/spring-boot-samples/spring-boot-sample-cache/pom.xml +++ b/spring-boot-samples/spring-boot-sample-cache/pom.xml @@ -69,6 +69,10 @@ org.infinispan infinispan-spring4 + + org.infinispan + infinispan-spring4-embedded + org.infinispan infinispan-jcache