2
2
3
3
<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
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 >
5
+ <modelVersion >4.0.0</modelVersion >
6
6
7
- <groupId >com.xkcoding</groupId >
8
- <artifactId >spring-boot-demo</artifactId >
9
- <version >0.0.1-SNAPSHOT</version >
10
- <modules >
11
- <module >spring-boot-demo-helloworld</module >
12
- <module >spring-boot-demo-properties</module >
13
- <module >spring-boot-demo-actuator</module >
14
- <module >spring-boot-demo-admin-client</module >
15
- <module >spring-boot-demo-admin-server</module >
16
- <module >spring-boot-demo-logback</module >
17
- <module >spring-boot-demo-log-aop</module >
18
- <module >spring-boot-demo-exception-handler</module >
19
- <module >spring-boot-demo-template-freemarker</module >
20
- <module >spring-boot-demo-template-thymeleaf</module >
21
- <module >spring-boot-demo-template-beetl</module >
22
- <module >spring-boot-demo-template-enjoy</module >
23
- </modules >
24
- <packaging >pom</packaging >
7
+ <groupId >com.xkcoding</groupId >
8
+ <artifactId >spring-boot-demo</artifactId >
9
+ <version >0.0.1-SNAPSHOT</version >
10
+ <modules >
11
+ <module >spring-boot-demo-helloworld</module >
12
+ <module >spring-boot-demo-properties</module >
13
+ <module >spring-boot-demo-actuator</module >
14
+ <module >spring-boot-demo-admin-client</module >
15
+ <module >spring-boot-demo-admin-server</module >
16
+ <module >spring-boot-demo-logback</module >
17
+ <module >spring-boot-demo-log-aop</module >
18
+ <module >spring-boot-demo-exception-handler</module >
19
+ <module >spring-boot-demo-template-freemarker</module >
20
+ <module >spring-boot-demo-template-thymeleaf</module >
21
+ <module >spring-boot-demo-template-beetl</module >
22
+ <module >spring-boot-demo-template-enjoy</module >
23
+ <module >spring-boot-demo-orm-jdbctemplate</module >
24
+ </modules >
25
+ <packaging >pom</packaging >
25
26
26
- <name >spring-boot-demo</name >
27
- <url >http://xkcoding.com</url >
27
+ <name >spring-boot-demo</name >
28
+ <url >http://xkcoding.com</url >
28
29
29
- <properties >
30
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
31
- <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
32
- <java .version>1.8</java .version>
33
- <maven .compiler.source>1.8</maven .compiler.source>
34
- <maven .compiler.target>1.8</maven .compiler.target>
35
- <spring .boot.version>2.0.5.RELEASE</spring .boot.version>
36
- <hutool .version>4.1.17</hutool .version>
37
- <user .agent.version>1.20</user .agent.version>
38
- </properties >
30
+ <properties >
31
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
32
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
33
+ <java .version>1.8</java .version>
34
+ <maven .compiler.source>1.8</maven .compiler.source>
35
+ <maven .compiler.target>1.8</maven .compiler.target>
36
+ <spring .boot.version>2.0.5.RELEASE</spring .boot.version>
37
+ <hutool .version>4.1.17</hutool .version>
38
+ <user .agent.version>1.20</user .agent.version>
39
+ </properties >
39
40
40
- <dependencyManagement >
41
- <dependencies >
42
- <dependency >
43
- <groupId >org.springframework.boot</groupId >
44
- <artifactId >spring-boot-dependencies</artifactId >
45
- <version >${spring.boot.version} </version >
46
- <type >pom</type >
47
- <scope >import</scope >
48
- </dependency >
49
- <!-- hutool工具类 -->
50
- <dependency >
51
- <groupId >cn.hutool</groupId >
52
- <artifactId >hutool-all</artifactId >
53
- <version >${hutool.version} </version >
54
- </dependency >
55
- <!-- 解析 UserAgent 信息 -->
56
- <dependency >
57
- <groupId >eu.bitwalker</groupId >
58
- <artifactId >UserAgentUtils</artifactId >
59
- <version >${user.agent.version} </version >
60
- </dependency >
61
- </dependencies >
62
- </dependencyManagement >
41
+ <dependencyManagement >
42
+ <dependencies >
43
+ <dependency >
44
+ <groupId >org.springframework.boot</groupId >
45
+ <artifactId >spring-boot-dependencies</artifactId >
46
+ <version >${spring.boot.version} </version >
47
+ <type >pom</type >
48
+ <scope >import</scope >
49
+ </dependency >
50
+ <!-- hutool工具类 -->
51
+ <dependency >
52
+ <groupId >cn.hutool</groupId >
53
+ <artifactId >hutool-all</artifactId >
54
+ <version >${hutool.version} </version >
55
+ </dependency >
56
+ <!-- 解析 UserAgent 信息 -->
57
+ <dependency >
58
+ <groupId >eu.bitwalker</groupId >
59
+ <artifactId >UserAgentUtils</artifactId >
60
+ <version >${user.agent.version} </version >
61
+ </dependency >
62
+ </dependencies >
63
+ </dependencyManagement >
63
64
64
- <build >
65
- <pluginManagement >
66
- <plugins >
67
- <plugin >
68
- <artifactId >maven-clean-plugin</artifactId >
69
- <version >3.0.0</version >
70
- </plugin >
71
- <plugin >
72
- <artifactId >maven-resources-plugin</artifactId >
73
- <version >3.0.2</version >
74
- </plugin >
75
- <plugin >
76
- <artifactId >maven-compiler-plugin</artifactId >
77
- <version >3.7.0</version >
78
- </plugin >
79
- <plugin >
80
- <artifactId >maven-surefire-plugin</artifactId >
81
- <version >2.20.1</version >
82
- </plugin >
83
- <plugin >
84
- <artifactId >maven-jar-plugin</artifactId >
85
- <version >3.0.2</version >
86
- </plugin >
87
- <plugin >
88
- <artifactId >maven-install-plugin</artifactId >
89
- <version >2.5.2</version >
90
- </plugin >
91
- <plugin >
92
- <artifactId >maven-deploy-plugin</artifactId >
93
- <version >2.8.2</version >
94
- </plugin >
95
- <plugin >
96
- <groupId >org.springframework.boot</groupId >
97
- <artifactId >spring-boot-maven-plugin</artifactId >
98
- <version >${spring.boot.version} </version >
99
- <executions >
100
- <execution >
101
- <goals >
102
- <goal >repackage</goal >
103
- </goals >
104
- </execution >
105
- </executions >
106
- </plugin >
107
- </plugins >
108
- </pluginManagement >
109
- </build >
65
+ <build >
66
+ <pluginManagement >
67
+ <plugins >
68
+ <plugin >
69
+ <artifactId >maven-clean-plugin</artifactId >
70
+ <version >3.0.0</version >
71
+ </plugin >
72
+ <plugin >
73
+ <artifactId >maven-resources-plugin</artifactId >
74
+ <version >3.0.2</version >
75
+ </plugin >
76
+ <plugin >
77
+ <artifactId >maven-compiler-plugin</artifactId >
78
+ <version >3.7.0</version >
79
+ </plugin >
80
+ <plugin >
81
+ <artifactId >maven-surefire-plugin</artifactId >
82
+ <version >2.20.1</version >
83
+ </plugin >
84
+ <plugin >
85
+ <artifactId >maven-jar-plugin</artifactId >
86
+ <version >3.0.2</version >
87
+ </plugin >
88
+ <plugin >
89
+ <artifactId >maven-install-plugin</artifactId >
90
+ <version >2.5.2</version >
91
+ </plugin >
92
+ <plugin >
93
+ <artifactId >maven-deploy-plugin</artifactId >
94
+ <version >2.8.2</version >
95
+ </plugin >
96
+ <plugin >
97
+ <groupId >org.springframework.boot</groupId >
98
+ <artifactId >spring-boot-maven-plugin</artifactId >
99
+ <version >${spring.boot.version} </version >
100
+ <executions >
101
+ <execution >
102
+ <goals >
103
+ <goal >repackage</goal >
104
+ </goals >
105
+ </execution >
106
+ </executions >
107
+ </plugin >
108
+ </plugins >
109
+ </pluginManagement >
110
+ </build >
110
111
</project >
0 commit comments