From 81bf3867e3170d19ea71c67dd9bcfbca75bedfdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edd=C3=BA=20Mel=C3=A9ndez?= Date: Wed, 27 Apr 2016 18:24:01 +1000 Subject: [PATCH] Fix spring-boot-sample-cache Infinispan example Closes gh-5800 Closes gh-5806 --- spring-boot-samples/spring-boot-sample-cache/README.adoc | 8 ++++---- spring-boot-samples/spring-boot-sample-cache/pom.xml | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) 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