358 lines
13 KiB
XML
358 lines
13 KiB
XML
<?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>cn.odboy</groupId>
|
||
<artifactId>kenaito-config</artifactId>
|
||
<packaging>pom</packaging>
|
||
<version>1.0</version>
|
||
|
||
<modules>
|
||
<module>kenaito-common</module>
|
||
<module>kenaito-tools</module>
|
||
<module>kenaito-system</module>
|
||
<module>kenaito-config-core</module>
|
||
<module>kenaito-config-service</module>
|
||
</modules>
|
||
|
||
<name>Kenaito Config</name>
|
||
<url>https://blog.odboy.cn/%E4%BB%8E%E9%9B%B6%E6%89%93%E9%80%A0%E8%BF%90%E7%BB%B4%E5%B9%B3%E5%8F%B0/</url>
|
||
|
||
<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>
|
||
<log4j2.version>2.17.0</log4j2.version>
|
||
<logback.version>1.2.9</logback.version>
|
||
<log4jdbc.version>1.16</log4jdbc.version>
|
||
<fastjson.version>1.2.83</fastjson.version>
|
||
<druid.version>1.2.19</druid.version>
|
||
<commons-pool2.version>2.11.1</commons-pool2.version>
|
||
<mybatis-plus.version>3.5.6</mybatis-plus.version>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<!-- Spring boot Web容器 -->
|
||
<!-- fix: ch.qos.logback:logback-classic:1.2.9 -->
|
||
<!-- fix: ch.qos.logback:logback-core:1.2.9 -->
|
||
<!-- fix: org.springframework:spring-core:5.3.31 -->
|
||
<!-- fix: org.springframework:spring-web:5.3.31 -->
|
||
<!-- fix: org.springframework:spring-webmvc:5.3.31 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>ch.qos.logback</groupId>
|
||
<artifactId>logback-classic</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>ch.qos.logback</groupId>
|
||
<artifactId>logback-core</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-core</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-web</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-webmvc</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<!-- 如果使用Spring Boot 2及以下,建议选择Slf4j 1.7.x + Logback 1.2.x -->
|
||
<!-- 如果使用Spring Boot 3,建议选择Slf4j 2.0.x + Logback 1.4.x(本篇发表时 Spring官方还没做好Logback 1.5.x的适配)-->
|
||
<dependency>
|
||
<groupId>ch.qos.logback</groupId>
|
||
<artifactId>logback-classic</artifactId>
|
||
<version>1.2.13</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>ch.qos.logback</groupId>
|
||
<artifactId>logback-core</artifactId>
|
||
<version>1.2.13</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-core</artifactId>
|
||
<version>5.3.36</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-web</artifactId>
|
||
<version>5.3.36</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-webmvc</artifactId>
|
||
<version>5.3.36</version>
|
||
</dependency>
|
||
|
||
<!-- fix: io.undertow:undertow-core:2.2.28.Final -->
|
||
<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.17.Final</version>
|
||
</dependency>
|
||
|
||
<!-- Spring boot 测试 -->
|
||
<!-- fix: com.jayway.jsonpath:json-path:2.7.0 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>com.jayway.jsonpath</groupId>
|
||
<artifactId>json-path</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.jayway.jsonpath</groupId>
|
||
<artifactId>json-path</artifactId>
|
||
<version>2.9.0</version>
|
||
</dependency>
|
||
|
||
<!-- Spring boot 安全框架 -->
|
||
<!-- fix: org.springframework.security:spring-security-core:5.7.11 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-security</artifactId>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.springframework.security</groupId>
|
||
<artifactId>spring-security-core</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.security</groupId>
|
||
<artifactId>spring-security-core</artifactId>
|
||
<version>5.8.12</version>
|
||
</dependency>
|
||
|
||
<!-- Spring boot AOP(druid spring监控支持) -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</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>
|
||
|
||
<!-- 自定义配置提示 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
</dependency>
|
||
|
||
<!-- mybatis-plus -->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-boot-starter</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>
|
||
</dependency>
|
||
|
||
<!--监控sql日志-->
|
||
<dependency>
|
||
<groupId>org.bgee.log4jdbc-log4j2</groupId>
|
||
<artifactId>log4jdbc-log4j2-jdbc4.1</artifactId>
|
||
<version>${log4jdbc.version}</version>
|
||
</dependency>
|
||
|
||
<!--Mysql依赖包-->
|
||
<dependency>
|
||
<groupId>com.mysql</groupId>
|
||
<artifactId>mysql-connector-j</artifactId>
|
||
<version>8.3.0</version>
|
||
</dependency>
|
||
|
||
<!-- druid数据源驱动 -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>druid-spring-boot-starter</artifactId>
|
||
<version>${druid.version}</version>
|
||
</dependency>
|
||
|
||
<!-- https://mvnrepository.com/artifact/net.dreamlu/mica-ip2region -->
|
||
<dependency>
|
||
<groupId>net.dreamlu</groupId>
|
||
<artifactId>mica-ip2region</artifactId>
|
||
<version>2.7.12</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.aspectj</groupId>
|
||
<artifactId>aspectjrt</artifactId>
|
||
<version>1.9.7</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.aspectj</groupId>
|
||
<artifactId>aspectjweaver</artifactId>
|
||
<version>1.9.7</version>
|
||
</dependency>
|
||
|
||
<!--lombok插件-->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
|
||
<!-- excel工具 -->
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi</artifactId>
|
||
<version>5.2.0</version>
|
||
</dependency>
|
||
<!-- fix: org.apache.commons:commons-compress:1.21 -->
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml</artifactId>
|
||
<version>5.2.0</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-compress</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-compress</artifactId>
|
||
<version>1.26.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>xerces</groupId>
|
||
<artifactId>xercesImpl</artifactId>
|
||
<version>2.12.2</version>
|
||
</dependency>
|
||
|
||
<!-- fastjson -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>${fastjson.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.10.0</version>
|
||
</dependency>
|
||
|
||
<!-- 提供增强的 InheritableThreadLocal,即使使用线程池组件也可以在线程之间传输值 -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>transmittable-thread-local</artifactId>
|
||
<version>2.14.5</version>
|
||
</dependency>
|
||
|
||
<!-- 校验bean -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-validation</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.google.guava</groupId>
|
||
<artifactId>guava</artifactId>
|
||
<version>33.2.0-jre</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>http://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>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</pluginRepository>
|
||
</pluginRepositories>
|
||
</project>
|