- 将 mybatis-plus 版本从 3.5.15 升级到 3.5.16 - 将 undertow 版本从 2.3.20.Final 升级到 2.3.22.Final
438 lines
13 KiB
XML
438 lines
13 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>cn.odboy</groupId>
|
|
<artifactId>cutejava</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>1.5.2</version>
|
|
|
|
<modules>
|
|
<module>cutejava-framework</module>
|
|
<module>cutejava-module-system</module>
|
|
<module>cutejava-starter</module>
|
|
</modules>
|
|
|
|
<name>CuteJava 后台</name>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.7.18</version>
|
|
</parent>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
|
<java.version>11</java.version>
|
|
<logback.version>1.2.9</logback.version>
|
|
<fastjson2.version>2.0.60</fastjson2.version>
|
|
<druid.version>1.2.27</druid.version>
|
|
<commons-pool2.version>2.11.1</commons-pool2.version>
|
|
<mybatis-plus.version>3.5.16</mybatis-plus.version>
|
|
<hutool.version>5.8.43</hutool.version>
|
|
<jjwt.version>0.13.0</jjwt.version>
|
|
<!-- oshi监控需要指定jna版本, 问题详见 https://github.com/oshi/oshi/issues/1040 -->
|
|
<jna.version>5.8.0</jna.version>
|
|
<mail.version>1.4.7</mail.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- Spring boot Web容器 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<exclusions>
|
|
<!-- 去掉jackson依赖, 用fastjson -->
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-json</artifactId>
|
|
</exclusion>
|
|
<!-- 去掉tomcat容器, 用undertow -->
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.undertow</groupId>
|
|
<artifactId>undertow-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.undertow</groupId>
|
|
<artifactId>undertow-core</artifactId>
|
|
<version>2.3.18.Final</version>
|
|
</dependency>
|
|
|
|
<!-- Spring boot 测试 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!--Spring boot 安全框架-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
|
|
<!-- spring boot 验证 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
|
|
<!-- spring boot 缓存 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
</dependency>
|
|
|
|
<!--Spring boot Redis-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Spring boot websocket -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
</dependency>
|
|
|
|
<!-- mybatisplus -->
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-jsqlparser</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
<version>2.3.34</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
|
|
<!--spring boot 集成redis所需common-pool2-->
|
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-pool2 -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
<version>${commons-pool2.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.20.0</version>
|
|
</dependency>
|
|
|
|
<!--监控sql日志-->
|
|
<dependency>
|
|
<groupId>p6spy</groupId>
|
|
<artifactId>p6spy</artifactId>
|
|
<version>3.9.1</version>
|
|
</dependency>
|
|
|
|
<!-- Swagger UI 相关 -->
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
|
<version>3.0.3</version>
|
|
<exclusions>
|
|
<!-- 去掉 swagger-annotations 依赖, 避免冲突 -->
|
|
<exclusion>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
<version>1.5.22</version>
|
|
</dependency>
|
|
|
|
<!-- Mysql依赖包 -->
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
<version>9.5.0</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- druid数据源驱动 -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
<version>${druid.version}</version>
|
|
</dependency>
|
|
|
|
<!-- IP地址解析库 -->
|
|
<dependency>
|
|
<groupId>net.dreamlu</groupId>
|
|
<artifactId>mica-ip2region</artifactId>
|
|
<version>2.7.18.9</version>
|
|
</dependency>
|
|
|
|
<!-- AOP切面支持 -->
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjrt</artifactId>
|
|
<!-- <version>1.9.7</version>-->
|
|
<version>1.9.25.1</version>
|
|
</dependency>
|
|
<!-- jvm启动参数 javaagent 支持 -->
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjweaver</artifactId>
|
|
<!-- <version>1.9.7</version>-->
|
|
<version>1.9.25.1</version>
|
|
</dependency>
|
|
|
|
<!-- lombok插件 -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- 自定义配置提示 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- fastjson2 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
<artifactId>fastjson2</artifactId>
|
|
<version>${fastjson2.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
<artifactId>fastjson2-extension-spring5</artifactId>
|
|
<version>${fastjson2.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Java图形验证码 -->
|
|
<dependency>
|
|
<groupId>com.github.whvcse</groupId>
|
|
<artifactId>easy-captcha</artifactId>
|
|
<version>1.6.2</version>
|
|
</dependency>
|
|
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.apache.commons</groupId>-->
|
|
<!-- <artifactId>commons-text</artifactId>-->
|
|
<!-- <version>1.13.0</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- 提供增强的 InheritableThreadLocal, 即使用线程池组件也可以在线程之间传输值 -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>transmittable-thread-local</artifactId>
|
|
<version>2.14.5</version>
|
|
</dependency>
|
|
|
|
<!-- druid spring监控 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 工具包 -->
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
|
|
<!-- jwt -->
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-api</artifactId>
|
|
<version>${jjwt.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-impl</artifactId>
|
|
<version>${jjwt.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
<version>${jjwt.version}</version>
|
|
</dependency>
|
|
|
|
<!-- linux的管理 -->
|
|
<dependency>
|
|
<groupId>ch.ethz.ganymed</groupId>
|
|
<artifactId>ganymed-ssh2</artifactId>
|
|
<version>build210</version>
|
|
</dependency>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.jcraft</groupId>-->
|
|
<!-- <artifactId>jsch</artifactId>-->
|
|
<!-- <version>0.1.55</version>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>com.github.mwiede</groupId>
|
|
<artifactId>jsch</artifactId>
|
|
<version>2.27.7</version>
|
|
</dependency>
|
|
|
|
<!-- 获取系统信息 -->
|
|
<dependency>
|
|
<groupId>com.github.oshi</groupId>
|
|
<artifactId>oshi-core</artifactId>
|
|
<!-- <version>6.6.5</version>-->
|
|
<version>6.9.2</version>
|
|
</dependency>
|
|
|
|
<!-- 邮件依赖 -->
|
|
<dependency>
|
|
<groupId>javax.mail</groupId>
|
|
<artifactId>mail</artifactId>
|
|
<version>${mail.version}</version>
|
|
</dependency>
|
|
|
|
<!-- quartz -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-quartz</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
<artifactId>quartz</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
<artifactId>quartz</artifactId>
|
|
<!-- <version>2.5.0</version>-->
|
|
<version>2.5.2</version>
|
|
</dependency>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.mchange</groupId>-->
|
|
<!-- <artifactId>c3p0</artifactId>-->
|
|
<!--<!– <version>0.10.1</version>–>-->
|
|
<!-- <version>0.11.2</version>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>com.zaxxer</groupId>
|
|
<artifactId>HikariCP</artifactId>
|
|
<version>7.0.2</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- CIDR解析 -->
|
|
<dependency>
|
|
<groupId>commons-net</groupId>
|
|
<artifactId>commons-net</artifactId>
|
|
<!-- <version>3.11.1</version>-->
|
|
<version>3.12.0</version>
|
|
</dependency>
|
|
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>joda-time</groupId>-->
|
|
<!-- <artifactId>joda-time</artifactId>-->
|
|
<!-- <version>2.12.7</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- 拼音库 -->
|
|
<dependency>
|
|
<groupId>io.github.biezhi</groupId>
|
|
<artifactId>TinyPinyin</artifactId>
|
|
<version>2.0.3.RELEASE</version>
|
|
</dependency>
|
|
|
|
<!-- Excel导入导出 https://fast-excel.github.io/fastexcel/zh-cn/docs/quickstart/guide -->
|
|
<!-- https://mvnrepository.com/artifact/cn.idev.excel/fastexcel -->
|
|
<dependency>
|
|
<groupId>cn.idev.excel</groupId>
|
|
<artifactId>fastexcel</artifactId>
|
|
<version>1.3.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- Nashorn被弃用 -->
|
|
<!-- Expression expression = new Expression("2 + 3 * 4");-->
|
|
<!-- EvaluationValue result = expression.evaluate();-->
|
|
<!-- System.out.println(result.getNumberValue()); // 输出 14-->
|
|
<dependency>
|
|
<groupId>com.ezylang</groupId>
|
|
<artifactId>EvalEx</artifactId>
|
|
<version>3.3.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- 打包时跳过测试 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
</project>
|