Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
0cfcbeb4
Commit
0cfcbeb4
authored
Apr 19, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add dependency management for Ehcache 3
Closes gh-5725
parent
96d01d67
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
pom.xml
spring-boot-dependencies/pom.xml
+6
-0
pom.xml
spring-boot-samples/spring-boot-sample-cache/pom.xml
+6
-0
ehcache3.xml
.../spring-boot-sample-cache/src/main/resources/ehcache3.xml
+12
-0
No files found.
spring-boot-dependencies/pom.xml
View file @
0cfcbeb4
...
...
@@ -69,6 +69,7 @@
<dom4j.version>
1.6.1
</dom4j.version>
<dropwizard-metrics.version>
3.1.2
</dropwizard-metrics.version>
<ehcache.version>
2.10.1
</ehcache.version>
<ehcache3.version>
3.0.0
</ehcache3.version>
<embedded-mongo.version>
1.50.2
</embedded-mongo.version>
<flyway.version>
3.2.1
</flyway.version>
<freemarker.version>
2.3.23
</freemarker.version>
...
...
@@ -1564,6 +1565,11 @@
<artifactId>
websocket-server
</artifactId>
<version>
${jetty.version}
</version>
</dependency>
<dependency>
<groupId>
org.ehcache
</groupId>
<artifactId>
ehcache
</artifactId>
<version>
${ehcache3.version}
</version>
</dependency>
<dependency>
<groupId>
org.elasticsearch
</groupId>
<artifactId>
elasticsearch
</artifactId>
...
...
spring-boot-samples/spring-boot-sample-cache/pom.xml
View file @
0cfcbeb4
...
...
@@ -49,6 +49,12 @@
</dependency>
-->
<!--
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
</dependency>
-->
<!--
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
...
...
spring-boot-samples/spring-boot-sample-cache/src/main/resources/ehcache3.xml
0 → 100644
View file @
0cfcbeb4
<config
xmlns=
'http://www.ehcache.org/v3'
xmlns:xsi=
'http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation=
"http://www.ehcache.org/v3 http://www.ehcache.org/schema/ehcache-core-3.0.xsd"
>
<cache
alias=
"countries"
>
<expiry>
<ttl
unit=
"seconds"
>
600
</ttl>
</expiry>
<heap
unit=
"entries"
>
200
</heap>
</cache>
</config>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment