<?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">
|
<parent>
|
<artifactId>kidgrow-springcloud</artifactId>
|
<groupId>com.kidgrow</groupId>
|
<version>1.0</version>
|
</parent>
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>kidgrow-springcloud-zuul</artifactId>
|
|
<dependencies>
|
<!-- <dependency>-->
|
<!-- <groupId>com.kidgrow</groupId>-->
|
<!-- <artifactId>kidgrow-usercenter-api</artifactId>-->
|
<!-- </dependency>-->
|
<dependency>
|
<groupId>com.kidgrow</groupId>
|
<artifactId>kidgrow-config</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.kidgrow</groupId>
|
<artifactId>kidgrow-common-spring-boot-starter</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.kidgrow</groupId>
|
<artifactId>kidgrow-authclient-spring-boot-starter</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.kidgrow</groupId>
|
<artifactId>kidgrow-ribbon-spring-boot-starter</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.kidgrow</groupId>
|
<artifactId>kidgrow-jwt-spring-boot-starter</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.security</groupId>
|
<artifactId>spring-security-oauth2-resource-server</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.kidgrow</groupId>
|
<artifactId>kidgrow-swagger2-spring-boot-starter</artifactId>
|
</dependency>
|
<!--负载均衡-->
|
<dependency>
|
<groupId>org.springframework.cloud</groupId>
|
<artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
|
</dependency>
|
<!--声明式接口调用-->
|
<!--zuul网关-->
|
<dependency>
|
<groupId>org.springframework.cloud</groupId>
|
<artifactId>spring-cloud-starter-netflix-zuul</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
<optional>true</optional>
|
</dependency>
|
<!--网关限流模块-->
|
<dependency>
|
<groupId>com.marcosbarbero.cloud</groupId>
|
<artifactId>spring-cloud-zuul-ratelimit</artifactId>
|
</dependency>
|
<!--web 模块-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
<exclusions>
|
<!--排除tomcat依赖-->
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<!--undertow容器-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
</dependency>
|
<!-- <dependency>-->
|
<!-- <groupId>org.springframework.security.oauth</groupId>-->
|
<!-- <artifactId>spring-security-oauth2</artifactId>-->
|
<!-- </dependency>-->
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-extension</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.squareup.okhttp3</groupId>
|
<artifactId>okhttp</artifactId>
|
</dependency>
|
<!--数据可视化-->
|
<dependency>
|
<groupId>io.micrometer</groupId>
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>eu.bitwalker</groupId>
|
<artifactId>UserAgentUtils</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.github.xiaoymin</groupId>
|
<artifactId>swagger-bootstrap-ui</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.zyplayer</groupId>
|
<artifactId>swagger-mg-ui</artifactId>
|
</dependency>
|
<!-- swagger -->
|
<dependency>
|
<groupId>com.github.zlt2000</groupId>
|
<artifactId>swagger-butler-core</artifactId>
|
</dependency>
|
<!-- redis-->
|
<dependency>
|
<groupId>com.kidgrow</groupId>
|
<artifactId>kidgrow-redis-spring-boot-starter</artifactId>
|
</dependency>
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-deploy-plugin</artifactId>
|
<configuration>
|
<skip>true</skip>
|
</configuration>
|
</plugin>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<executions>
|
<execution>
|
<goals>
|
<goal>repackage</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
<plugin>
|
<groupId>com.spotify</groupId>
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
<configuration>
|
<!-- Dockerfile目录指定 -->
|
<dockerfile>Dockerfile</dockerfile>
|
<repository>${docker.repostory}/${docker.image.prefix}/${project.artifactId}</repository>
|
<!-- 生成镜像标签 如不指定 默认为latest -->
|
<tag>1.0.1</tag>
|
<!--<tag>${project.version}</tag>-->
|
<buildArgs>
|
<JAR_FILE>./target/${project.build.finalName}.jar</JAR_FILE>
|
</buildArgs>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
</project>
|