﻿<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>io.gitee.smartunity</groupId>
        <artifactId>rocks-platform</artifactId>
        <version>1.0.0</version>
    </parent>


    <properties>
        <maven.deploy.skip>false</maven.deploy.skip>
    </properties>

    <artifactId>rocks-log</artifactId>
    <packaging>jar</packaging>

    <name>Rock-Log</name>
    <description>操作日志模块（AOP 注解驱动）</description>

    <dependencies>
        <dependency>
            <groupId>io.gitee.smartunity</groupId>
            <artifactId>rocks-common</artifactId>
        </dependency>

        <dependency>
            <groupId>io.gitee.smartunity</groupId>
            <artifactId>rocks-db-adaptor</artifactId>
        </dependency>

        <!-- AOP（aspectjweaver 在 classpath 上时 Spring Boot 自动启用 AOP） -->
        <dependency>
            <groupId>org.aspectj</groupId>
            <artifactId>aspectjweaver</artifactId>
        </dependency>

        <!-- Web（HttpServletRequest、RequestContextHolder） -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <optional>true</optional>
        </dependency>

        <!-- Security（SecurityContextHolder 获取当前用户） -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-security</artifactId>
            <optional>true</optional>
        </dependency>

        <!-- Swagger 注解（@Tag, @Operation） -->
        <dependency>
            <groupId>io.swagger.core.v3</groupId>
            <artifactId>swagger-annotations-jakarta</artifactId>
        </dependency>

        <!-- 测试 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

</project>
