124 lines
4.6 KiB
XML
124 lines
4.6 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>
|
|
|
|
<artifactId>oauth</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>ms-oauth</name>
|
|
<description>ms-oauth</description>
|
|
|
|
<parent>
|
|
<groupId>com.micro.fast</groupId>
|
|
<artifactId>ms</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.micro.fast</groupId>
|
|
<artifactId>boot-starter-security-oauth</artifactId>
|
|
<version>${micro.fast.version}</version>
|
|
</dependency>
|
|
<!--监控-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
<!--配置中心客户端-->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-config</artifactId>
|
|
</dependency>
|
|
<!--服务注册,服务提供-->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
|
</dependency>
|
|
<!--服务消费-->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
</dependency>
|
|
<!--熔断,断的是这个服务调用其他服务时失败的时候断-->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
|
|
</dependency>
|
|
<!--调用其他服务的时候熔断情况的图形化展示-->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
|
|
</dependency>
|
|
<!--配置客户端配置刷新-->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-bus-amqp</artifactId>
|
|
</dependency>
|
|
<!--检测生成服务调用数据-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.springframework.cloud</groupId>-->
|
|
<!--<artifactId>spring-cloud-starter-zipkin</artifactId>-->
|
|
<!--</dependency>-->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-sleuth-zipkin-stream</artifactId>
|
|
</dependency>
|
|
<!--请求重试-->
|
|
<dependency>
|
|
<groupId>org.springframework.retry</groupId>
|
|
<artifactId>spring-retry</artifactId>
|
|
</dependency>
|
|
<!--aop-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
<!--测试-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.micro.fast</groupId>
|
|
<artifactId>mybatis-generator-extend-maven-plugin</artifactId>
|
|
<version>${micro.fast.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
<!--生成mybatis dao 层 sql mapper的插件-->
|
|
<plugin>
|
|
<groupId>org.mybatis.generator</groupId>
|
|
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
|
<configuration>
|
|
<!--冗余的-->
|
|
<verbose>true</verbose>
|
|
<overwrite>false</overwrite>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.spotify</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
<finalName>ms-oauth</finalName>
|
|
</build>
|
|
</project>
|