2013-12-23 20:28:24 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-06-01 05:15:58 +08:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-03-17 00:01:11 +08:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2013-12-23 20:28:24 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<!-- Your own application should inherit from spring-boot-starter-parent -->
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-samples</artifactId>
|
2017-06-01 05:15:58 +08:00
|
|
|
<version>${revision}</version>
|
2013-12-23 20:28:24 +08:00
|
|
|
</parent>
|
|
|
|
<artifactId>spring-boot-sample-data-redis</artifactId>
|
2014-04-01 16:10:51 +08:00
|
|
|
<name>Spring Boot Data Redis Sample</name>
|
|
|
|
<description>Spring Boot Data Redis Sample</description>
|
2013-12-23 20:28:24 +08:00
|
|
|
<properties>
|
|
|
|
<main.basedir>${basedir}/../..</main.basedir>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
2016-12-31 03:46:24 +08:00
|
|
|
<!-- Compile -->
|
2013-12-23 20:28:24 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2016-01-26 15:31:34 +08:00
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
2013-12-23 20:28:24 +08:00
|
|
|
</dependency>
|
2016-12-31 03:46:24 +08:00
|
|
|
<!-- Test -->
|
2014-01-17 17:07:46 +08:00
|
|
|
<dependency>
|
2014-03-07 21:41:24 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
2014-01-17 17:07:46 +08:00
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-12-23 20:28:24 +08:00
|
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>production</id>
|
|
|
|
<dependencies>
|
2014-04-01 16:38:03 +08:00
|
|
|
<!-- This sample is a test for the autoconfig when commons-pool is *absent*.
|
2013-12-23 20:28:24 +08:00
|
|
|
In production it would be useful to enable pooling by using this dependency. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-pool</groupId>
|
|
|
|
<artifactId>commons-pool</artifactId>
|
|
|
|
<type>pom.lastUpdated</type>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|