177 lines
6.6 KiB
XML
177 lines
6.6 KiB
XML
<?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>com.tashow.cloud</groupId>
|
||
<artifactId>tashow-framework</artifactId>
|
||
<version>${revision}</version>
|
||
</parent>
|
||
<artifactId>tashow-common</artifactId>
|
||
<packaging>jar</packaging>
|
||
|
||
<name>${project.artifactId}</name>
|
||
<description>定义基础 pojo 类、枚举、工具类等等</description>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-context</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
<!-- Spring 核心 -->
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-core</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-expression</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-aop</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.aspectj</groupId>
|
||
<artifactId>aspectjweaver</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
|
||
<!-- Web 相关 -->
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-web</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>jakarta.servlet</groupId>
|
||
<artifactId>jakarta.servlet-api</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
|
||
<!-- 监控相关 -->
|
||
<dependency>
|
||
<groupId>org.apache.skywalking</groupId>
|
||
<artifactId>apm-toolkit-trace</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 工具类相关 -->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.mapstruct</groupId>
|
||
<artifactId>mapstruct</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.mapstruct</groupId>
|
||
<artifactId>mapstruct-jdk8</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.mapstruct</groupId>
|
||
<artifactId>mapstruct-processor</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.google.guava</groupId>
|
||
<artifactId>guava</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-databind</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-core</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||
<artifactId>jackson-datatype-jsr310</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
<!-- pagehelper 分页插件 -->
|
||
<!-- <dependency>
|
||
<groupId>com.github.pagehelper</groupId>
|
||
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
||
<version>1.4.6</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.mybatis</groupId>
|
||
<artifactId>mybatis</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>-->
|
||
<!--常用工具类 -->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.tika</groupId>
|
||
<artifactId>tika-core</artifactId> <!-- 文件客户端:文件类型的识别 -->
|
||
</dependency>
|
||
|
||
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-api</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>jakarta.validation</groupId>
|
||
<artifactId>jakarta.validation-api</artifactId>
|
||
<scope>provided</scope> <!-- 设置为 provided,主要是 PageParam 使用到 -->
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>transmittable-thread-local</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.fhs-opensource</groupId> <!-- VO 数据翻译 -->
|
||
<artifactId>easy-trans-anno</artifactId> <!-- 默认引入的原因,方便 xxx-module-api 包使用 -->
|
||
</dependency>
|
||
|
||
<!-- IP地址检索 -->
|
||
<dependency>
|
||
<groupId>org.lionsoul</groupId>
|
||
<artifactId>ip2region</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Test 测试相关 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
</project>
|