-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpom.xml
More file actions
90 lines (79 loc) · 3.26 KB
/
pom.xml
File metadata and controls
90 lines (79 loc) · 3.26 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?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.yanqun</groupId>
<artifactId>microservice</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<modules>
<module>micro_common</module>
<module>micro_city</module>
<module>micro_city2</module>
<module>micro_city3</module>
<module>micro_city4</module>
<module>micro_people</module>
<module>projct_httpclient</module>
<module>micro_httpclient</module>
<module>project_jsoup</module>
<module>project_crawler</module>
<module>project-webmagic</module>
<module>project_jedis</module>
<module>project_hbase</module>
<module>project_neo4j</module>
<module>micro_eureka</module>
<module>micro_zuul</module>
<module>micro_config</module>
<module>project_myJwt</module>
</modules>
<properties>
<project.build.sourceEnding>UTF-8</project.build.sourceEnding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compile.encoding>UTF-8</maven.compile.encoding>
</properties>
<!-- 如果要使用 spring boot/spring cloud提供的版本仲裁中心。必须,将 依赖写入父工程的 <parent>或 <dependencyManagement>
否则,无法使用spring boot/spring cloud提供的 版本仲裁功能
-->
<dependencyManagement>
<dependencies>
<dependency>
<!-- 引入spring boot starter-->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.3.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- 引入spring cloud-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!--spring mvc 等依赖 不存在“版本仲裁功能”,因此无需写到dependencyManagement、或parent中-->
<dependencies>
<dependency>
<!-- 引入spring mvc-->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<!--配置Maven编译插件,及依赖的Jdk版本-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>