killbill-memoizeit

util: add ehcache-clustered jar as runtime dependency This

3/27/2017 8:28:12 AM

Details

util/pom.xml 5(+5 -0)

diff --git a/util/pom.xml b/util/pom.xml
index 3769272..71e3612 100644
--- a/util/pom.xml
+++ b/util/pom.xml
@@ -154,6 +154,11 @@
             <artifactId>ehcache</artifactId>
         </dependency>
         <dependency>
+            <groupId>org.ehcache</groupId>
+            <artifactId>ehcache-clustered</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
             <groupId>org.ehcache.integrations.shiro</groupId>
             <artifactId>shiro-ehcache3</artifactId>
         </dependency>
diff --git a/util/src/main/resources/ehcache.xml b/util/src/main/resources/ehcache.xml
index faf95e5..f6a2d7c 100644
--- a/util/src/main/resources/ehcache.xml
+++ b/util/src/main/resources/ehcache.xml
@@ -21,10 +21,13 @@
 <ehcache:config xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
                 xmlns:ehcache='http://www.ehcache.org/v3'
                 xmlns:jsr107='http://www.ehcache.org/v3/jsr107'
+                xmlns:terracotta='http://www.ehcache.org/v3/clustered'
                 xsi:schemaLocation="http://www.ehcache.org/v3
-                                    http://www.ehcache.org/schema/ehcache-core-3.0.xsd
+                                    http://www.ehcache.org/schema/ehcache-core-3.3.xsd
                                     http://www.ehcache.org/v3/jsr107
-                                    http://www.ehcache.org/schema/ehcache-107-ext-3.0.xsd">
+                                    http://www.ehcache.org/schema/ehcache-107-ext-3.3.xsd
+                                    http://www.ehcache.org/v3/clustered
+                                    http://www.ehcache.org/schema/ehcache-clustered-ext-3.3.xsd">
     <ehcache:service>
         <jsr107:defaults default-template="defaultCacheConfiguration" enable-management="true" enable-statistics="true"/>
     </ehcache:service>