<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <artifactId>allbs-parent</artifactId>
        <groupId>cn.allbs</groupId>
        <version>1.0.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>allbs-cache</artifactId>
    <packaging>jar</packaging>
    <name>${project.artifactId}</name>
    <description>二级缓存</description>

    <properties>
        <commons-lang.version>2.6</commons-lang.version>
        <caffeine.version>2.8.6</caffeine.version>
        <common-pool.version>2.8.1</common-pool.version>
        <fasterxml.version>2.12.3</fasterxml.version>
        <redission.version>3.13.4</redission.version>
    </properties>

    <dependencies>
        <!-- redis lettuce start -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-redis</artifactId>
            <version>${spring-boot.version}</version>
        </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>${commons-lang.version}</version>
        </dependency>
        <!-- lettuce pool 缓存连接池 使用lettuce必须加，jedis无所谓 -->
        <!-- 一级缓存caffeine-->
        <dependency>
            <groupId>com.github.ben-manes.caffeine</groupId>
            <artifactId>caffeine</artifactId>
            <version>${caffeine.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-pool2</artifactId>
            <version>${common-pool.version}</version>
        </dependency>
        <!-- redis lettuce end -->
        <dependency>
            <groupId>cn.allbs</groupId>
            <artifactId>allbs-core</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <version>${fasterxml.version}</version>
        </dependency>
        <dependency>
            <groupId>org.redisson</groupId>
            <artifactId>redisson-spring-boot-starter</artifactId>
            <scope>provided</scope>
            <version>${redission.version}</version>
        </dependency>
    </dependencies>

</project>