158 lines
5.9 KiB
XML
158 lines
5.9 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>
|
||
<parent>
|
||
<groupId>com.recovery</groupId>
|
||
<artifactId>hoe-admin</artifactId>
|
||
<version>1.0.0</version>
|
||
</parent>
|
||
|
||
<artifactId>admin-boot</artifactId>
|
||
|
||
<properties>
|
||
<maven.compiler.source>17</maven.compiler.source>
|
||
<maven.compiler.target>17</maven.compiler.target>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
</properties>
|
||
<dependencies>
|
||
<!-- 配置读取 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 单元测试 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<!-- Spring Cloud & Alibaba -->
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 添加Hibernate Validator依赖 -->
|
||
<dependency>
|
||
<groupId>org.hibernate.validator</groupId>
|
||
<artifactId>hibernate-validator</artifactId>
|
||
<version>6.2.0.Final</version>
|
||
</dependency>
|
||
<!-- 添加Hibernate Validator依赖所需的依赖项 -->
|
||
<dependency>
|
||
<groupId>org.glassfish</groupId>
|
||
<artifactId>jakarta.el</artifactId>
|
||
<version>3.0.3</version>
|
||
</dependency>
|
||
|
||
<!-- 注册中心 -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 配置中心 -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Sa-Token 权限认证, 在线文档:https://sa-token.cc -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-spring-boot-starter</artifactId>
|
||
<version>1.37.0</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<!-- 配置冲突,需要排除 -->
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>javax.persistence</groupId>
|
||
<artifactId>javax.persistence-api</artifactId>
|
||
<version>2.2</version>
|
||
</dependency>
|
||
|
||
<!-- 注意一定要引入对版本,要引入spring-cloud版本seata,而不是springboot版本的seata-->
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>com.alibaba.cloud</groupId>-->
|
||
<!-- <artifactId>spring-cloud-starter-alibaba-seata</artifactId>-->
|
||
<!-- <!– 排除掉springcloud默认的seata版本,以免版本不一致出现问题–>-->
|
||
<!-- <exclusions>-->
|
||
<!-- <exclusion>-->
|
||
<!-- <groupId>io.seata</groupId>-->
|
||
<!-- <artifactId>seata-spring-boot-starter</artifactId>-->
|
||
<!-- </exclusion>-->
|
||
<!-- <exclusion>-->
|
||
<!-- <groupId>io.seata</groupId>-->
|
||
<!-- <artifactId>seata-all</artifactId>-->
|
||
<!-- </exclusion>-->
|
||
<!-- </exclusions>-->
|
||
<!-- </dependency>-->
|
||
<!-- <!– 上面排除掉了springcloud默认色seata版本,此处引入和seata-server版本对应的seata包–>-->
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>io.seata</groupId>-->
|
||
<!-- <artifactId>seata-spring-boot-starter</artifactId>-->
|
||
<!-- <version>1.4.2</version>-->
|
||
<!-- </dependency>-->
|
||
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>com.baomidou</groupId>-->
|
||
<!-- <artifactId>mybatis-plus-generator</artifactId>-->
|
||
<!-- <version>3.4.0</version>-->
|
||
<!-- <scope>test</scope>-->
|
||
<!-- </dependency>-->
|
||
|
||
<!-- JWT库 -->
|
||
<dependency>
|
||
<groupId>com.nimbusds</groupId>
|
||
<artifactId>nimbus-jose-jwt</artifactId>
|
||
<version>9.22</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.recovery</groupId>
|
||
<artifactId>common-mybatis-plus</artifactId>
|
||
<version>${hoe-version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.recovery</groupId>
|
||
<artifactId>common-web</artifactId>
|
||
<version>${hoe-version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>jakarta.validation</groupId>
|
||
<artifactId>jakarta.validation-api</artifactId>
|
||
</dependency>
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>org.springframework</groupId>-->
|
||
<!-- <artifactId>spring-webmvc</artifactId>-->
|
||
<!-- </dependency>-->
|
||
</dependencies>
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>com.spotify</groupId>
|
||
<artifactId>docker-maven-plugin</artifactId>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project> |