-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpom.xml
34 lines (34 loc) · 1.06 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<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.sample</groupId>
<artifactId>sample-spring-cloud-netflix</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>sample-spring-cloud-netflix</name>
<modules>
<module>microservice-one</module>
<module>microservice-two</module>
<module>netflix-zuul-server</module>
<module>netflix-hystrix-dashboard</module>
<module>netflix-hystrix-turbine</module>
</modules>
<properties>
<!-- Choose discovery service (eureka|consul) -->
<discoveryService>eureka</discoveryService>
</properties>
<profiles>
<profile>
<id>discoveryServiceEureka</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>netflix-eureka-server</module>
</modules>
</profile>
<profile>
<id>discoveryServiceConsul</id>
</profile>
</profiles>
</project>