179 lines
7.5 KiB
XML
179 lines
7.5 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>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.3.12.RELEASE</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
<groupId>cn.zyjblogs</groupId>
|
|
<artifactId>zyjblogs-parent</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<modules>
|
|
<module>zyjblogs-oauth</module>
|
|
<module>zyjblogs-rbac</module>
|
|
<module>zyjblogs-gateway</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<!-- spring-cloud版本配置 -->
|
|
<spring-cloud.version>Hoxton.SR12</spring-cloud.version>
|
|
<lombok.version>1.18.24</lombok.version>
|
|
<jackson.version>2.13.3</jackson.version>
|
|
<jjwt.version>0.11.1</jjwt.version>
|
|
<aliyun.version>4.5.0</aliyun.version>
|
|
<spring-authorization-server.version>0.3.1</spring-authorization-server.version>
|
|
<feign-hystrix.version>11.8</feign-hystrix.version>
|
|
<feign-ribbon.version>11.8</feign-ribbon.version>
|
|
<nacos-client.version>2.0.4</nacos-client.version>
|
|
<!-- ORM -->
|
|
<mybatis-plus-boot-starter.version>3.4.3</mybatis-plus-boot-starter.version>
|
|
<mysql-jdbc.version>8.0.21</mysql-jdbc.version>
|
|
<!-- spring-cloud-alibaba版本配置 -->
|
|
<spring-cloud-alibaba.version>2.2.6.RELEASE</spring-cloud-alibaba.version>
|
|
</properties>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
<version>${spring-cloud-alibaba.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>${spring-cloud.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<!-- ORM -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql-jdbc.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>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
<version>${aliyun.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.openfeign</groupId>
|
|
<artifactId>feign-hystrix</artifactId>
|
|
<version>${feign-hystrix.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.openfeign</groupId>
|
|
<artifactId>feign-ribbon</artifactId>
|
|
<version>${feign-ribbon.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
<artifactId>nacos-client</artifactId>
|
|
<version>${nacos-client.version}</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>2.0.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
<version>${mybatis-plus-boot-starter.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
<version>2.7.0</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-oauth2-authorization-server -->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.security</groupId>-->
|
|
<!-- <artifactId>spring-security-oauth2-authorization-server</artifactId>-->
|
|
<!-- <version>${spring-authorization-server.version}</version>-->
|
|
<!-- </dependency>-->
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.security</groupId>-->
|
|
<!-- <artifactId>spring-security-oauth2-authorization-server</artifactId>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
</dependency>
|
|
<!-- JWT 依赖开始 -->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>io.jsonwebtoken</groupId>-->
|
|
<!-- <artifactId>jjwt-api</artifactId>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>io.jsonwebtoken</groupId>-->
|
|
<!-- <artifactId>jjwt-impl</artifactId>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>io.jsonwebtoken</groupId>-->
|
|
<!-- <artifactId>jjwt-jackson</artifactId>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |