|
|
|
<?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>
|
|
|
|
<artifactId>dsRes</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<parent>
|
|
|
|
<groupId>com.dsideal</groupId>
|
|
|
|
<artifactId>dsProject</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
</parent>
|
|
|
|
<!--使用jdk21进行编译-->
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!--jfinal主框架-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jfinal</groupId>
|
|
|
|
<artifactId>jfinal</artifactId>
|
|
|
|
<version>${jfinal.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jfinal</groupId>
|
|
|
|
<artifactId>jfinal-undertow</artifactId>
|
|
|
|
<version>${jfinal-undertow.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jfinal</groupId>
|
|
|
|
<artifactId>cos</artifactId>
|
|
|
|
<version>${jfinal-cos.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.smallbun.screw</groupId>
|
|
|
|
<artifactId>screw-core</artifactId>
|
|
|
|
<version>1.0.5</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>${mysql.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/io.minio/minio -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
<version>${minio.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- JApiDocs -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.yedaxia</groupId>
|
|
|
|
<artifactId>japidocs</artifactId>
|
|
|
|
<version>1.4.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<version>2.3.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.activation</groupId>
|
|
|
|
<artifactId>activation</artifactId>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- no more than 2.3.3-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
|
|
<version>2.3.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<version>1.7.36</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<version>2.17.2</version>
|
|
|
|
</dependency>
|
|
|
|
<!--引用json库-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.json-lib</groupId>
|
|
|
|
<artifactId>json-lib</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<classifier>jdk15</classifier>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--日志logback-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>1.5.6</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
|
|
|
|
<!--安装hutool-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--引用fastjson-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--引用jsoup防止xss攻击-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
|
<version>1.17.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--引用gson-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>2.10.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.14.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-email</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>3.12.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.dom4j</groupId>
|
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
<version>2.1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
<artifactId>jedis</artifactId>
|
|
|
|
<version>${jedis.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpmime</artifactId>
|
|
|
|
<version>4.5.14</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
<version>2.20.0</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>1.18.34</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
<version>2.20.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>2.17.2</version>
|
|
|
|
</dependency>
|
|
|
|
<!--引用ssh+sftp组件-->
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.github.mwiede/jsch -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.mwiede</groupId>
|
|
|
|
<artifactId>jsch</artifactId>
|
|
|
|
<version>0.2.19</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--引用光-->
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.zaxxer/HikariCP -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
<artifactId>HikariCP</artifactId>
|
|
|
|
<version>${HikariCP.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--引用poi-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi</artifactId>
|
|
|
|
<version>${poi.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
<version>${poi.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
|
<version>${snakeyaml.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--https://blog.csdn.net/AdminGuan/article/details/100147488-->
|
|
|
|
<!--JWT,用于鉴权-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
<version>0.7.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-impl</artifactId>
|
|
|
|
<version>2.3.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-core</artifactId>
|
|
|
|
<version>2.3.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<!--不加此项,文件名中就会多出一个版本号-->
|
|
|
|
<finalName>dsRes</finalName>
|
|
|
|
<!--将resources做为资源目录拷贝到fatjar当中-->
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.10.1</version>
|
|
|
|
<configuration>
|
|
|
|
<source>21</source>
|
|
|
|
<target>21</target>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<!-- java21 保留参数名编译参数 -->
|
|
|
|
<compilerArgument>-parameters</compilerArgument>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!--打包fatjar的插件-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>3.3.0</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>com.dsideal.base.BaseApplication</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-assembly</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- 禁用默认的 jar 打包插件,防止生成额外的 jar 文件 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-jar</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|