|
@@ -0,0 +1,144 @@
|
|
|
|
+<?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>
|
|
|
|
+
|
|
|
|
+ <groupId>com.diagbot</groupId>
|
|
|
|
+ <artifactId>diagbotman-service</artifactId>
|
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
|
+ <packaging>jar</packaging>
|
|
|
|
+
|
|
|
|
+ <name>diagbotman-service</name>
|
|
|
|
+ <description>Diagbotman Service for Spring Boot</description>
|
|
|
|
+
|
|
|
|
+ <parent>
|
|
|
|
+ <groupId>com.diagbot</groupId>
|
|
|
|
+ <artifactId>diagbotcloud</artifactId>
|
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
|
+ </parent>
|
|
|
|
+
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.diagbot</groupId>
|
|
|
|
+ <artifactId>common</artifactId>
|
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
|
+ </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-config</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- 开启web-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- 开启feign-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- dashboard -->
|
|
|
|
+ <!-- actuator-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!--hystrix-dashboard-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!--hystrix -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- zipkin-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-zipkin</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!--swagger-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
|
+ <artifactId>springfox-swagger2</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
|
+ <artifactId>springfox-swagger-ui</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!--database-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>mysql</groupId>
|
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
|
+ <scope>runtime</scope>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!--<dependency>-->
|
|
|
|
+ <!--<groupId>org.springframework.boot</groupId>-->
|
|
|
|
+ <!--<artifactId>spring-boot-starter-data-jpa</artifactId>-->
|
|
|
|
+ <!--</dependency>-->
|
|
|
|
+
|
|
|
|
+ <!--security-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-oauth2</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- mq -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-amqp</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
|
+ <optional>true</optional>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- mybatis-plus begin -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
+ <version>${mybatis-plus-boot-starter.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!-- mybatis-plus end -->
|
|
|
|
+
|
|
|
|
+ <!-- 阿里巴巴druid数据库连接池 -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
|
+ <artifactId>druid-spring-boot-starter</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- springboot整合mybatis(核心就这一个) -->
|
|
|
|
+ <!-- 注意顺序,这个一定要放在最下面 -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
+ <artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
+ <version>${mybatis-spring-boot.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ </dependencies>
|
|
|
|
+
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
|
|
+
|
|
|
|
+</project>
|