77 <groupId >com.crossoverjie.interview</groupId >
88 <artifactId >interview</artifactId >
99 <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+
1019 <properties >
1120 <!-- 文件拷贝时的编码 -->
1221 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1726 <jdk .version>1.7</jdk .version>
1827 <spring .version>4.1.4.RELEASE</spring .version>
1928 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
29+ <springboot .version>1.5.6.RELEASE</springboot .version>
2030 </properties >
2131
2232
2333 <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+
2461 <dependency >
2562 <groupId >junit</groupId >
2663 <artifactId >junit</artifactId >
76113 </dependencies >
77114
78115 <build >
79- <sourceDirectory >src/main/java</sourceDirectory >
80116 <plugins >
81117 <plugin >
82118 <groupId >org.apache.maven.plugins</groupId >
83119 <artifactId >maven-compiler-plugin</artifactId >
84- <version >3.1 </version >
120+ <version >2.3.2 </version >
85121 <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 >
88125 </configuration >
89126 </plugin >
90127
91128 <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 >
109131 </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-
122132 </plugins >
123133 </build >
124134</project >
0 commit comments