7
7
<groupId >com.crossoverjie.interview</groupId >
8
8
<artifactId >interview</artifactId >
9
9
<version >1.0.0-SNAPSHOT</version >
10
+ <packaging >jar</packaging >
11
+
12
+ <parent >
13
+ <groupId >org.springframework.boot</groupId >
14
+ <artifactId >spring-boot-starter-parent</artifactId >
15
+ <version >1.5.6.RELEASE</version >
16
+ <relativePath /> <!-- lookup parent from repository -->
17
+ </parent >
18
+
10
19
<properties >
11
20
<!-- 文件拷贝时的编码 -->
12
21
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
17
26
<jdk .version>1.7</jdk .version>
18
27
<spring .version>4.1.4.RELEASE</spring .version>
19
28
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
29
+ <springboot .version>1.5.6.RELEASE</springboot .version>
20
30
</properties >
21
31
22
32
23
33
<dependencies >
34
+
35
+ <dependency >
36
+ <groupId >org.springframework.boot</groupId >
37
+ <artifactId >spring-boot-configuration-processor</artifactId >
38
+ <version >${springboot.version} </version >
39
+ <optional >true</optional >
40
+ </dependency >
41
+
42
+ <dependency >
43
+ <groupId >org.springframework.boot</groupId >
44
+ <artifactId >spring-boot-devtools</artifactId >
45
+ <version >${springboot.version} </version >
46
+ <optional >true</optional >
47
+ </dependency >
48
+ <dependency >
49
+ <groupId >org.springframework.boot</groupId >
50
+ <artifactId >spring-boot-starter-aop</artifactId >
51
+ <version >${springboot.version} </version >
52
+ </dependency >
53
+
54
+ <dependency >
55
+ <groupId >org.springframework.boot</groupId >
56
+ <artifactId >spring-boot-starter-test</artifactId >
57
+ <version >${springboot.version} </version >
58
+ <scope >test</scope >
59
+ </dependency >
60
+
24
61
<dependency >
25
62
<groupId >junit</groupId >
26
63
<artifactId >junit</artifactId >
76
113
</dependencies >
77
114
78
115
<build >
79
- <sourceDirectory >src/main/java</sourceDirectory >
80
116
<plugins >
81
117
<plugin >
82
118
<groupId >org.apache.maven.plugins</groupId >
83
119
<artifactId >maven-compiler-plugin</artifactId >
84
- <version >3.1 </version >
120
+ <version >2.3.2 </version >
85
121
<configuration >
86
- <source >1.8</source >
87
- <target >1.8</target >
122
+ <source >${java.version} </source >
123
+ <target >${java.version} </target >
124
+ <encoding >${project.build.sourceEncoding} </encoding >
88
125
</configuration >
89
126
</plugin >
90
127
91
128
<plugin >
92
- <groupId >org.jacoco</groupId >
93
- <artifactId >jacoco-maven-plugin</artifactId >
94
- <version >0.7.7.201606060606</version >
95
- <executions >
96
- <execution >
97
- <goals >
98
- <goal >prepare-agent</goal >
99
- </goals >
100
- </execution >
101
- <execution >
102
- <id >report</id >
103
- <phase >test</phase >
104
- <goals >
105
- <goal >report</goal >
106
- </goals >
107
- </execution >
108
- </executions >
129
+ <groupId >org.springframework.boot</groupId >
130
+ <artifactId >spring-boot-maven-plugin</artifactId >
109
131
</plugin >
110
-
111
-
112
- <plugin >
113
- <groupId >org.eluder.coveralls</groupId >
114
- <artifactId >coveralls-maven-plugin</artifactId >
115
- <version >4.3.0</version >
116
- <configuration >
117
- <repoToken >m8Gf893OFBhzYLa17rmeuduAHscH79ghf</repoToken >
118
- </configuration >
119
- </plugin >
120
-
121
-
122
132
</plugins >
123
133
</build >
124
134
</project >
0 commit comments