36
36
37
37
<properties >
38
38
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
39
+
40
+ <compileSource >1.6</compileSource >
41
+ <testCompileSource >1.8</testCompileSource >
42
+
39
43
<jackson .version>2.9.7</jackson .version>
44
+ <junit .version>5.3.1</junit .version>
40
45
</properties >
41
46
42
47
<build >
43
48
<plugins >
44
49
<plugin >
45
50
<groupId >org.apache.maven.plugins</groupId >
46
51
<artifactId >maven-compiler-plugin</artifactId >
47
- <version >2.3.1 </version >
52
+ <version >3.8.0 </version >
48
53
<configuration >
49
- <source >1.6</source >
50
- <target >1.6</target >
54
+ <source >${compileSource} </source >
55
+ <target >${compileSource} </target >
56
+ <testSource >${testCompileSource} </testSource >
57
+ <testTarget >${testCompileSource} </testTarget >
51
58
<showDeprecation >true</showDeprecation >
52
59
<showWarnings >true</showWarnings >
53
60
</configuration >
54
61
</plugin >
62
+ <plugin >
63
+ <groupId >org.apache.maven.plugins</groupId >
64
+ <artifactId >maven-surefire-plugin</artifactId >
65
+ <version >2.22.1</version >
66
+ <configuration >
67
+ <forkCount >3</forkCount >
68
+ <reuseForks >true</reuseForks >
69
+ <argLine >-Xmx1024m -XX:MaxPermSize=256m</argLine >
70
+ </configuration >
71
+ </plugin >
55
72
<plugin >
56
73
<groupId >org.apache.maven.plugins</groupId >
57
74
<artifactId >maven-source-plugin</artifactId >
139
156
<version >2.4</version >
140
157
</dependency >
141
158
<dependency >
159
+ <groupId >org.junit.jupiter</groupId >
160
+ <artifactId >junit-jupiter-engine</artifactId >
161
+ <version >${junit.version} </version >
162
+ <scope >test</scope >
163
+ </dependency >
164
+ <dependency >
165
+ <groupId >org.junit.jupiter</groupId >
166
+ <artifactId >junit-jupiter-params</artifactId >
167
+ <version >${junit.version} </version >
168
+ <scope >test</scope >
169
+ </dependency >
170
+ <dependency >
171
+ <groupId >org.junit.vintage</groupId >
172
+ <artifactId >junit-vintage-engine</artifactId >
173
+ <version >${junit.version} </version >
142
174
<scope >test</scope >
143
- <groupId >junit</groupId >
144
- <artifactId >junit</artifactId >
145
- <version >4.12</version >
146
175
</dependency >
147
176
</dependencies >
148
177
<distributionManagement >
155
184
<url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
156
185
</repository >
157
186
</distributionManagement >
158
- </project >
187
+ </project >
0 commit comments