259 lines
8.8 KiB
XML
259 lines
8.8 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 https://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.4.RELEASE</version>
|
||
<relativePath/> <!-- lookup parent from repository -->
|
||
</parent>
|
||
<groupId>redstar</groupId>
|
||
<artifactId>auth</artifactId>
|
||
<version>1.00</version>
|
||
<name>redstar-auth</name>
|
||
<description>红星微服务认证框架</description>
|
||
|
||
<properties>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
<java.version>1.8</java.version>
|
||
<swagger2.version>2.9.2</swagger2.version>
|
||
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
|
||
<mybatisplus.version>3.3.1</mybatisplus.version>
|
||
<spring-boot.version>2.3.4.RELEASE</spring-boot.version>
|
||
<spring.cloud.version>Hoxton.SR11</spring.cloud.version>
|
||
<nacos.version>2.1.1.RELEASE</nacos.version>
|
||
</properties>
|
||
|
||
<repositories>
|
||
<repository>
|
||
<id>alimaven</id>
|
||
<url>https://maven.aliyun.com/repository/public</url>
|
||
</repository>
|
||
</repositories>
|
||
<pluginRepositories>
|
||
<pluginRepository>
|
||
<id>alimaven</id>
|
||
<url>https://maven.aliyun.com/repository/public</url>
|
||
</pluginRepository>
|
||
</pluginRepositories>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-dependencies</artifactId>
|
||
<version>${spring-boot.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>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
||
<version>${nacos.version}</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
<dependencies>
|
||
|
||
<dependency>
|
||
<groupId>redstar</groupId>
|
||
<artifactId>redstar-common</artifactId>
|
||
<version>1.00</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
|
||
|
||
<!-- mybatis-plus -->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
<version>${mybatisplus.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus</artifactId>
|
||
<version>${mybatisplus.version}</version>
|
||
</dependency>
|
||
|
||
<!-- DataBase -->
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<scope>runtime</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>p6spy</groupId>
|
||
<artifactId>p6spy</artifactId>
|
||
<version>3.7.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.github.whvcse</groupId>
|
||
<artifactId>easy-captcha</artifactId>
|
||
<version>1.6.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-pool2</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>net.logstash.logback</groupId>
|
||
<artifactId>logstash-logback-encoder</artifactId>
|
||
<version>6.1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-jdbc</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.xkcoding</groupId>
|
||
<artifactId>justauth-spring-boot-starter</artifactId>
|
||
<version>1.1.0</version>
|
||
</dependency>
|
||
|
||
|
||
<dependency>
|
||
<groupId>io.jsonwebtoken</groupId>
|
||
<artifactId>jjwt</artifactId>
|
||
<version>0.9.1</version>
|
||
<scope>compile</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-oauth2</artifactId>
|
||
</dependency>
|
||
<!-- redis -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.google.code.findbugs</groupId>
|
||
<artifactId>jsr305</artifactId>
|
||
<version>3.0.1</version>
|
||
<scope>compile</scope>
|
||
</dependency>
|
||
<!-- 1. nacos-配置管理功能依赖-->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||
<version>${nacos.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 2. nacos-服务发现功能依赖 -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
<version>${nacos.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Feign依赖,声明式开发 -->
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
</dependency>
|
||
<!-- swagger2 -->
|
||
<dependency>
|
||
<groupId>io.springfox</groupId>
|
||
<artifactId>springfox-swagger2</artifactId>
|
||
<version>${swagger2.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>io.swagger</groupId>
|
||
<artifactId>swagger-annotations</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>io.swagger</groupId>
|
||
<artifactId>swagger-models</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.github.xiaoymin</groupId>
|
||
<artifactId>swagger-bootstrap-ui</artifactId>
|
||
<version>1.9.3</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>io.swagger</groupId>
|
||
<artifactId>swagger-annotations</artifactId>
|
||
<version>1.5.22</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.swagger</groupId>
|
||
<artifactId>swagger-models</artifactId>
|
||
<version>1.5.22</version>
|
||
</dependency>
|
||
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>com.github.shalousun</groupId>
|
||
<artifactId>smart-doc-maven-plugin</artifactId>
|
||
<version>2.0.2</version>
|
||
<configuration>
|
||
<!--指定生成文档的使用的配置文件,配置文件放在自己的项目中-->
|
||
<configFile>./src/main/resources/smart-doc.json</configFile>
|
||
<!--指定项目名称-->
|
||
<projectName>redstar-auth</projectName>
|
||
<!--自1.0.8版本开始,插件提供includes支持-->
|
||
<!--smart-doc能自动分析依赖树加载所有依赖源码,原则上会影响文档构建效率,因此你可以使用includes来让插件加载你配置的组件-->
|
||
<includes>
|
||
<!--格式为:groupId:artifactId;参考如下-->
|
||
<include>com.alibaba:fastjson</include>
|
||
</includes>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<!--如果不需要在执行编译时启动smart-doc,则将phase注释掉-->
|
||
<!--<phase>compile</phase>-->
|
||
<!--<goals>
|
||
<!–smart-doc提供了html、openapi、markdown等goal,可按需配置–>
|
||
<goal>html</goal>
|
||
</goals>-->
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
</plugins>
|
||
</build>
|
||
|
||
</project>
|