<?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">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>cn.stylefeng.roses</groupId>
        <artifactId>kernel-d-log</artifactId>
        <version>7.2.0</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>log-api</artifactId>

    <packaging>jar</packaging>

    <dependencies>

        <!--auth模块的api-->
        <!--记录日志时候，有可能需要记录当前登录用户id-->
        <!--如果不要记录当前登录用户id时就不用本模块，所以optional=true-->
        <dependency>
            <groupId>cn.stylefeng.roses</groupId>
            <artifactId>auth-api</artifactId>
            <version>${roses.version}</version>
            <optional>true</optional>
        </dependency>

        <!--参数校验模块-->
        <!--包含带参数校验注解的类-->
        <dependency>
            <groupId>cn.stylefeng.roses</groupId>
            <artifactId>validator-api</artifactId>
            <version>${roses.version}</version>
        </dependency>

        <!--数据库模块 api-->
        <!--分页查询需要用到PageResult相关类-->
        <dependency>
            <groupId>cn.stylefeng.roses</groupId>
            <artifactId>db-api</artifactId>
            <version>${roses.version}</version>
        </dependency>

        <!--web-->
        <!--LogRecordFactory快速创建http类的日志参数会用到-->
        <!--如果不要记录当前请求的http接口信息，就不用本模块，所以optional=true-->
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <optional>true</optional>
        </dependency>

    </dependencies>

</project>
