刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
| 5 | <parent> |
| 6 | <groupId>com.supwisdom.leaveschool</groupId> |
| 7 | <artifactId>samples-parent</artifactId> |
| 8 | <version>0.0.1-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | |
| 11 | <groupId>com.supwisdom.leaveschool</groupId> |
| 12 | <artifactId>sample-gateway</artifactId> |
| 13 | <packaging>jar</packaging> |
| 14 | |
| 15 | |
| 16 | <dependencies> |
| 17 | |
| 18 | <dependency> |
| 19 | <groupId>org.springframework.boot</groupId> |
| 20 | <artifactId>spring-boot-starter</artifactId> |
| 21 | </dependency> |
| 22 | |
| 23 | <!-- 微服务 健康监控 --> |
刘洪青 | 8d6ae1e | 2018-08-02 18:25:56 +0800 | [diff] [blame] | 24 | <dependency> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 25 | <groupId>org.springframework.boot</groupId> |
| 26 | <artifactId>spring-boot-starter-actuator</artifactId> |
刘洪青 | 8d6ae1e | 2018-08-02 18:25:56 +0800 | [diff] [blame] | 27 | </dependency> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 28 | |
| 29 | <!-- <dependency> |
| 30 | <groupId>org.springframework.boot</groupId> |
| 31 | <artifactId>spring-boot-starter-security</artifactId> |
| 32 | </dependency> --> |
| 33 | |
| 34 | |
| 35 | <dependency> |
| 36 | <groupId>org.springframework.cloud</groupId> |
| 37 | <artifactId>spring-cloud-starter-gateway</artifactId> |
| 38 | </dependency> |
刘洪青 | 8d6ae1e | 2018-08-02 18:25:56 +0800 | [diff] [blame] | 39 | |
| 40 | <dependency> |
| 41 | <groupId>org.springframework.cloud</groupId> |
| 42 | <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> |
| 43 | </dependency> |
| 44 | <!-- <dependency> |
| 45 | <groupId>org.springframework.cloud</groupId> |
| 46 | <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId> |
| 47 | </dependency> --> |
| 48 | |
| 49 | <!-- <dependency> |
| 50 | <groupId>io.micrometer</groupId> |
| 51 | <artifactId>micrometer-registry-prometheus</artifactId> |
| 52 | </dependency> --> |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 53 | |
| 54 | |
| 55 | <!-- Test things --> |
| 56 | <dependency> |
| 57 | <groupId>org.testng</groupId> |
| 58 | <artifactId>testng</artifactId> |
| 59 | <scope>test</scope> |
| 60 | </dependency> |
| 61 | |
| 62 | <dependency> |
| 63 | <groupId>org.springframework.boot</groupId> |
| 64 | <artifactId>spring-boot-starter-test</artifactId> |
| 65 | <scope>test</scope> |
| 66 | </dependency> |
| 67 | |
| 68 | </dependencies> |
| 69 | |
| 70 | <build> |
| 71 | <plugins> |
| 72 | <plugin> |
| 73 | <groupId>org.apache.maven.plugins</groupId> |
| 74 | <artifactId>maven-compiler-plugin</artifactId> |
| 75 | </plugin> |
| 76 | <plugin> |
| 77 | <groupId>org.apache.maven.plugins</groupId> |
| 78 | <artifactId>maven-failsafe-plugin</artifactId> |
| 79 | </plugin> |
| 80 | <plugin> |
| 81 | <groupId>org.apache.maven.plugins</groupId> |
| 82 | <artifactId>maven-javadoc-plugin</artifactId> |
| 83 | </plugin> |
| 84 | <plugin> |
| 85 | <groupId>org.apache.maven.plugins</groupId> |
| 86 | <artifactId>maven-release-plugin</artifactId> |
| 87 | </plugin> |
| 88 | <plugin> |
| 89 | <groupId>org.jacoco</groupId> |
| 90 | <artifactId>jacoco-maven-plugin</artifactId> |
| 91 | </plugin> |
| 92 | </plugins> |
| 93 | </build> |
| 94 | |
| 95 | </project> |