|
|
|
@ -10,11 +10,14 @@
|
|
|
|
|
</parent>
|
|
|
|
|
<artifactId>dsBase</artifactId>
|
|
|
|
|
<name>dsBase</name>
|
|
|
|
|
<!--使用jdk21进行编译-->
|
|
|
|
|
|
|
|
|
|
<!-- 统一管理版本号 -->
|
|
|
|
|
<properties>
|
|
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<!-- 使用阿里 maven 库 -->
|
|
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
|
|
|
@ -30,8 +33,9 @@
|
|
|
|
|
</snapshots>
|
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!--jfinal主框架-->
|
|
|
|
|
<!-- JFinal框架 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.jfinal</groupId>
|
|
|
|
|
<artifactId>jfinal</artifactId>
|
|
|
|
@ -47,163 +51,134 @@
|
|
|
|
|
<artifactId>cos</artifactId>
|
|
|
|
|
<version>${jfinal-cos.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- JApiDocs -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.yedaxia</groupId>
|
|
|
|
|
<artifactId>japidocs</artifactId>
|
|
|
|
|
<version>${japidocs.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--https://blog.csdn.net/AdminGuan/article/details/100147488-->
|
|
|
|
|
<!--JWT,用于鉴权-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
|
<version>${jjwt.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--引入定时器组件-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>it.sauronsoftware.cron4j</groupId>
|
|
|
|
|
<artifactId>cron4j</artifactId>
|
|
|
|
|
<version>2.2.5</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--引用光-->
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.zaxxer/HikariCP -->
|
|
|
|
|
<!-- 数据库相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
|
<artifactId>HikariCP</artifactId>
|
|
|
|
|
<version>${HikariCP.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
|
<version>${postgresql.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--图片缩放-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.coobird</groupId>
|
|
|
|
|
<artifactId>thumbnailator</artifactId>
|
|
|
|
|
<version>0.4.19</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--日志logback-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
|
<version>1.4.7</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
|
|
|
|
|
<!--安装hutool-->
|
|
|
|
|
<!-- 工具类库 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
<version>5.8.24</version>
|
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--引用fastjson-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>2.0.45</version>
|
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/cn.idev.excel/fastexcel -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.idev.excel</groupId>
|
|
|
|
|
<artifactId>fastexcel</artifactId>
|
|
|
|
|
<version>1.1.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--引用jsoup防止xss攻击-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
|
|
<version>1.17.2</version>
|
|
|
|
|
<version>${jsoup.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--引用gson-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
|
<version>2.10.1</version>
|
|
|
|
|
<version>${gson.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
|
<version>2.14.0</version>
|
|
|
|
|
<version>${commons-io.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-email</artifactId>
|
|
|
|
|
<version>1.5</version>
|
|
|
|
|
<version>${commons-email.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
|
<version>3.12.0</version>
|
|
|
|
|
<version>${commons-lang3.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.dom4j</groupId>
|
|
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
|
<version>2.1.4</version>
|
|
|
|
|
<version>${dom4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
|
<artifactId>jedis</artifactId>
|
|
|
|
|
<version>5.2.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
|
|
<version>${snakeyaml.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.coobird</groupId>
|
|
|
|
|
<artifactId>thumbnailator</artifactId>
|
|
|
|
|
<version>${thumbnailator.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 日志相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
|
<version>2.20.0</version>
|
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
|
<version>2.20.0</version>
|
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
|
<version>1.7.36</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- JSON处理 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
|
<version>2.15.3</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
|
|
|
|
|
|
|
|
|
|
<!-- 其他依赖 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
|
|
<version>${snakeyaml.version}</version>
|
|
|
|
|
<groupId>io.github.yedaxia</groupId>
|
|
|
|
|
<artifactId>japidocs</artifactId>
|
|
|
|
|
<version>${japidocs.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
|
<version>${jjwt.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>it.sauronsoftware.cron4j</groupId>
|
|
|
|
|
<artifactId>cron4j</artifactId>
|
|
|
|
|
<version>${cron4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.idev.excel</groupId>
|
|
|
|
|
<artifactId>fastexcel</artifactId>
|
|
|
|
|
<version>${fastexcel.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
|
<artifactId>jedis</artifactId>
|
|
|
|
|
<version>${jedis.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
<version>1.18.38</version>
|
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
@ -214,7 +189,6 @@
|
|
|
|
|
<source>21</source>
|
|
|
|
|
<target>21</target>
|
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
|
<!-- java21 保留参数名编译参数 -->
|
|
|
|
|
<compilerArgument>-parameters</compilerArgument>
|
|
|
|
|
<compilerArgument>-Xlint:unchecked</compilerArgument>
|
|
|
|
|
</configuration>
|
|
|
|
|