1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+
7+ <groupId >com.fd</groupId >
8+ <artifactId >zuul</artifactId >
9+ <version >1.0-SNAPSHOT</version >
10+ <modules >
11+ <module >customer-service</module >
12+ <module >zuul-proxy</module >
13+ <module >eureka-server</module >
14+ </modules >
15+ <packaging >pom</packaging >
16+
17+ <properties >
18+ <java-version >1.8</java-version >
19+ <maven .compiler.source>1.8</maven .compiler.source>
20+ <maven .compiler.target>1.8</maven .compiler.target>
21+
22+ <spring .boot.version>2.0.5.RELEASE</spring .boot.version>
23+ <spring .cloud.starter.hystrix.version>1.4.5.RELEASE</spring .cloud.starter.hystrix.version>
24+ <hamcrest-version >1.3</hamcrest-version >
25+ <lombok-version >1.18.2</lombok-version >
26+ <mapstruct .version>1.2.0.Final</mapstruct .version>
27+ <hibernate .jpamodelgen-version>5.3.2.Final</hibernate .jpamodelgen-version>
28+ <jaxb .version>2.3.0</jaxb .version>
29+
30+ <maven .plugin.compiler.version>3.7.0</maven .plugin.compiler.version>
31+ <maven .plugin.build-helper.version>3.0.0</maven .plugin.build-helper.version>
32+ <maven .plugin.processor.version>3.2.0</maven .plugin.processor.version>
33+
34+ </properties >
35+
36+ <dependencyManagement >
37+ <dependencies >
38+ <dependency >
39+ <groupId >org.springframework.cloud</groupId >
40+ <artifactId >spring-cloud-dependencies</artifactId >
41+ <version >Finchley.RELEASE</version >
42+ <type >pom</type >
43+ <scope >import</scope >
44+ </dependency >
45+
46+ <dependency >
47+ <groupId >org.springframework.boot</groupId >
48+ <artifactId >spring-boot-starter-parent</artifactId >
49+ <version >${spring.boot.version} </version >
50+ <type >pom</type >
51+ <scope >import</scope >
52+ </dependency >
53+
54+ </dependencies >
55+ </dependencyManagement >
56+
57+ <dependencies >
58+ <dependency >
59+ <groupId >org.projectlombok</groupId >
60+ <artifactId >lombok</artifactId >
61+ <version >${lombok-version} </version >
62+ </dependency >
63+
64+ <dependency >
65+ <groupId >org.hamcrest</groupId >
66+ <artifactId >hamcrest-all</artifactId >
67+ <version >${hamcrest-version} </version >
68+ <scope >test</scope >
69+ </dependency >
70+
71+ <dependency >
72+ <groupId >org.apache.logging.log4j</groupId >
73+ <artifactId >log4j-core</artifactId >
74+ </dependency >
75+
76+ <dependency >
77+ <groupId >org.apache.logging.log4j</groupId >
78+ <artifactId >log4j-slf4j-impl</artifactId >
79+ </dependency >
80+ </dependencies >
81+
82+ <build >
83+ <plugins >
84+ <!-- MAVEN COMPILER PLUGIN -->
85+ <plugin >
86+ <groupId >org.apache.maven.plugins</groupId >
87+ <artifactId >maven-compiler-plugin</artifactId >
88+ <version >${maven.plugin.compiler.version} </version >
89+ <configuration >
90+ <source >${java-version} </source >
91+ <target >${java-version} </target >
92+ <encoding >UTF-8</encoding >
93+
94+ <annotationProcessorPaths >
95+ <path >
96+ <groupId >org.mapstruct</groupId >
97+ <artifactId >mapstruct-processor</artifactId >
98+ <version >${mapstruct.version} </version >
99+ </path >
100+ <path >
101+ <groupId >org.projectlombok</groupId >
102+ <artifactId >lombok</artifactId >
103+ <version >${lombok-version} </version >
104+ </path >
105+ </annotationProcessorPaths >
106+ </configuration >
107+ </plugin >
108+
109+ <!-- MAVEN ADD GENERATED-SOURCES TO CLASSPATH -->
110+ <plugin >
111+ <groupId >org.codehaus.mojo</groupId >
112+ <artifactId >build-helper-maven-plugin</artifactId >
113+ <version >${maven.plugin.build-helper.version} </version >
114+ <executions >
115+ <execution >
116+ <phase >generate-sources</phase >
117+ <goals >
118+ <goal >add-source</goal >
119+ </goals >
120+ <configuration >
121+ <sources >
122+ <source >target/generated-sources/annotations</source >
123+ </sources >
124+ </configuration >
125+ </execution >
126+ </executions >
127+ </plugin >
128+
129+ <plugin >
130+ <groupId >org.springframework.boot</groupId >
131+ <artifactId >spring-boot-maven-plugin</artifactId >
132+ <version >${spring.boot.version} </version >
133+ </plugin >
134+ </plugins >
135+ </build >
136+
137+ </project >
0 commit comments