blob: fe59d50c0cb6648c9bcda8f1ef44a79c2c8ba628 [file] [log] [blame]
刘洪青f6b66112018-08-02 15:42:43 +08001<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
刘洪青2716c842018-08-21 16:45:02 +080015 <properties>
16 <start-class>com.supwisdom.leaveschool.gateway.GatewayApplication</start-class>
17 </properties>
刘洪青f6b66112018-08-02 15:42:43 +080018
19 <dependencies>
20
21 <dependency>
22 <groupId>org.springframework.boot</groupId>
23 <artifactId>spring-boot-starter</artifactId>
24 </dependency>
25
26 <!-- 微服务 健康监控 -->
刘洪青8d6ae1e2018-08-02 18:25:56 +080027 <dependency>
刘洪青f6b66112018-08-02 15:42:43 +080028 <groupId>org.springframework.boot</groupId>
29 <artifactId>spring-boot-starter-actuator</artifactId>
刘洪青8d6ae1e2018-08-02 18:25:56 +080030 </dependency>
刘洪青f6b66112018-08-02 15:42:43 +080031
32 <!-- <dependency>
33 <groupId>org.springframework.boot</groupId>
34 <artifactId>spring-boot-starter-security</artifactId>
35 </dependency> -->
36
37
38 <dependency>
39 <groupId>org.springframework.cloud</groupId>
40 <artifactId>spring-cloud-starter-gateway</artifactId>
41 </dependency>
刘洪青8d6ae1e2018-08-02 18:25:56 +080042
43 <dependency>
44 <groupId>org.springframework.cloud</groupId>
45 <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
46 </dependency>
47 <!-- <dependency>
48 <groupId>org.springframework.cloud</groupId>
49 <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
50 </dependency> -->
51
52 <!-- <dependency>
53 <groupId>io.micrometer</groupId>
54 <artifactId>micrometer-registry-prometheus</artifactId>
55 </dependency> -->
刘洪青f6b66112018-08-02 15:42:43 +080056
57
58 <!-- Test things -->
59 <dependency>
60 <groupId>org.testng</groupId>
61 <artifactId>testng</artifactId>
62 <scope>test</scope>
63 </dependency>
64
65 <dependency>
66 <groupId>org.springframework.boot</groupId>
67 <artifactId>spring-boot-starter-test</artifactId>
68 <scope>test</scope>
69 </dependency>
70
71 </dependencies>
72
73 <build>
刘洪青2716c842018-08-21 16:45:02 +080074 <finalName>${project.artifactId}</finalName>
75
刘洪青f6b66112018-08-02 15:42:43 +080076 <plugins>
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-compiler-plugin</artifactId>
80 </plugin>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-failsafe-plugin</artifactId>
84 </plugin>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-javadoc-plugin</artifactId>
88 </plugin>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-release-plugin</artifactId>
92 </plugin>
93 <plugin>
94 <groupId>org.jacoco</groupId>
95 <artifactId>jacoco-maven-plugin</artifactId>
96 </plugin>
97 </plugins>
98 </build>
99
刘洪青2716c842018-08-21 16:45:02 +0800100 <profiles>
101 <profile>
102 <id>boot</id>
103 <build>
104 <plugins>
105 <plugin>
106 <groupId>org.springframework.boot</groupId>
107 <artifactId>spring-boot-maven-plugin</artifactId>
108 </plugin>
109 </plugins>
110 </build>
111 </profile>
112 </profiles>
113
刘洪青f6b66112018-08-02 15:42:43 +0800114</project>