|
|
<?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>
|
|
|
<groupId>dsideal</groupId>
|
|
|
<artifactId>dsssoserver</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
<!--https://blog.csdn.net/duchao123duchao/article/details/71480106-->
|
|
|
<!-- 使用阿里 maven 库 -->
|
|
|
<repositories>
|
|
|
<repository>
|
|
|
<id>ali-maven</id>
|
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
|
|
|
<releases>
|
|
|
<enabled>true</enabled>
|
|
|
</releases>
|
|
|
<snapshots>
|
|
|
<enabled>true</enabled>
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
|
</snapshots>
|
|
|
</repository>
|
|
|
</repositories>
|
|
|
<!--使用jdk21进行编译-->
|
|
|
<properties>
|
|
|
<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>5.1.9</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.jfinal</groupId>
|
|
|
<artifactId>jfinal-undertow</artifactId>
|
|
|
<version>3.5</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.jfinal</groupId>
|
|
|
<artifactId>cos</artifactId>
|
|
|
<version>2022.2</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.github.icecooly</groupId>
|
|
|
<artifactId>FastHttpClient</artifactId>
|
|
|
<version>1.10</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--引用json库-->
|
|
|
<dependency>
|
|
|
<groupId>net.sf.json-lib</groupId>
|
|
|
<artifactId>json-lib</artifactId>
|
|
|
<version>2.4</version>
|
|
|
<classifier>jdk15</classifier>
|
|
|
</dependency>
|
|
|
|
|
|
<!--引用druid-->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>druid</artifactId>
|
|
|
<version>1.2.20</version>
|
|
|
</dependency>
|
|
|
<!--日志logback-->
|
|
|
<dependency>
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
<version>1.4.7</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--引用fastjson!-->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
<version>2.0.32</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--引用jsoup防止xss攻击-->
|
|
|
<dependency>
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
<version>1.15.4</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!--强制升级httpclient和httpcore-->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
<version>4.5.14</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
<version>4.4.15</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--引用gson-->
|
|
|
<dependency>
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
<artifactId>gson</artifactId>
|
|
|
<version>2.8.8</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
<version>42.6.0</version>
|
|
|
</dependency>
|
|
|
<!--安装hutool-->
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
<version>5.8.20</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>dom4j</groupId>
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
<version>1.6.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>redis.clients</groupId>
|
|
|
<artifactId>jedis</artifactId>
|
|
|
<version>5.0.0</version>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>3.11.0</version>
|
|
|
<configuration>
|
|
|
<source>21</source>
|
|
|
<target>21</target>
|
|
|
<encoding>UTF-8</encoding>
|
|
|
<!-- java21 保留参数名编译参数 -->
|
|
|
<compilerArgument>-parameters</compilerArgument>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</project> |