235 lines
7.9 KiB
XML
235 lines
7.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>3.3.2</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
<groupId>{{ cookiecutter.mvn_group_id }}</groupId>
|
|
<artifactId>{{ cookiecutter.mvn_artifact_id }}</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>{{ cookiecutter.mvn_group_id }}</name>
|
|
<description>{{ cookiecutter.project_name }}</description>
|
|
<properties>
|
|
<java.version>17</java.version>
|
|
<org.mapstruct.version>1.5.5.Final</org.mapstruct.version>
|
|
<org.projectlombok.version>1.18.30</org.projectlombok.version>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/cn.dev33/sa-token-spring-boot3-starter -->
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-spring-boot3-starter</artifactId>
|
|
<version>1.39.0</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/cn.dev33/sa-token-jwt -->
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-jwt</artifactId>
|
|
<version>1.39.0</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/cn.dev33/sa-token-redis-jackson -->
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-redis-jackson</artifactId>
|
|
<version>1.39.0</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-pool2 -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
<version>2.12.0</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.springdoc/springdoc-openapi-starter-webmvc-ui -->
|
|
<dependency>
|
|
<groupId>org.springdoc</groupId>
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
<version>2.6.0</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-spring-boot3-starter -->
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
|
|
<version>3.5.8</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.dromara.hutool/hutool-all -->
|
|
<dependency>
|
|
<groupId>org.dromara.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
<version>6.0.0-M13</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.hibernate.validator/hibernate-validator -->
|
|
<dependency>
|
|
<groupId>org.hibernate.validator</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
<version>8.0.1.Final</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba/transmittable-thread-local -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>transmittable-thread-local</artifactId>
|
|
<version>2.14.5</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.mapstruct/mapstruct -->
|
|
<dependency>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct</artifactId>
|
|
<version>${org.mapstruct.version}</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/io.github.biezhi/TinyPinyin -->
|
|
<dependency>
|
|
<groupId>io.github.biezhi</groupId>
|
|
<artifactId>TinyPinyin</artifactId>
|
|
<version>2.0.3.RELEASE</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>5.2.5</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.github.ben-manes.caffeine/caffeine -->
|
|
<dependency>
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
<artifactId>caffeine</artifactId>
|
|
<version>3.1.8</version>
|
|
</dependency>
|
|
{% if cookiecutter.platform == "postgis" -%}
|
|
<!-- 私有包 mybatis 的 GIS 对象处理 -->
|
|
<dependency>
|
|
<groupId>ltd.llvy</groupId>
|
|
<artifactId>handler</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
{% elif cookiecutter.platform == "mysql" -%}
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
{% endif %}
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${org.projectlombok.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>central</id>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
{% if cookiecutter.platform == "postgis" -%}
|
|
<repository>
|
|
<id>gitea</id>
|
|
<url>https://www.llvy.ltd/api/packages/llvy.ltd/maven</url>
|
|
</repository>
|
|
{% endif %}
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>central</id>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
{% if cookiecutter.platform == "postgis" -%}
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>gitea</id>
|
|
<url>https://www.llvy.ltd/api/packages/llvy.ltd/maven</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>gitea</id>
|
|
<url>https://www.llvy.ltd/api/packages/llvy.ltd/maven</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
{% endif %}
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>17</source>
|
|
<target>17</target>
|
|
<annotationProcessorPaths>
|
|
<path>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
<version>${org.mapstruct.version}</version>
|
|
</path>
|
|
<path>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${org.projectlombok.version}</version>
|
|
</path>
|
|
<path>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok-mapstruct-binding</artifactId>
|
|
<version>0.2.0</version>
|
|
</path>
|
|
</annotationProcessorPaths>
|
|
<compilerArgs>
|
|
<arg>
|
|
-Amapstruct.defaultComponentModel=spring
|
|
</arg>
|
|
<arg>
|
|
-Amapstruct.defaultInjectionStrategy=constructor
|
|
</arg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|