<?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>toolkit-parent</artifactId>
        <groupId>com.siashan</groupId>
        <version>1.2.2</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>toolkit-lock4j</artifactId>
    <packaging>pom</packaging>
    <name>toolkit-lock4j</name>
    <description>锁组件，支持单机，分布式锁,支持redis，redissson实现</description>
    <modules>
        <module>toolkit-lock4j-core</module>
        <module>toolkit-lock4j-starter</module>
        <module>toolkit-lock4j-redis-spring-boot-starter</module>
        <module>toolkit-lock4j-redisson-spring-boot-starter</module>
    </modules>

    <properties>
        <main.basedir>${basedir}/..</main.basedir>
        <redisson.version>3.13.6</redisson.version>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.siashan</groupId>
                <artifactId>toolkit-lock4j-core</artifactId>
                <version>${revision}</version>
            </dependency>
            <dependency>
                <groupId>com.siashan</groupId>
                <artifactId>toolkit-lock4j-starter</artifactId>
                <version>${revision}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
            <optional>true</optional>
        </dependency>
        <!-- SpringBoot Web容器 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-autoconfigure</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-aop</artifactId>
        </dependency>

        <dependency>
            <groupId>com.siashan</groupId>
            <artifactId>toolkit-core</artifactId>
        </dependency>

        <dependency>
            <groupId>com.alibaba.fastjson2</groupId>
            <artifactId>fastjson2</artifactId>
        </dependency>
    </dependencies>


</project>