|
249 | 249 | <finalName>${project.artifactId}</finalName>
|
250 | 250 | <outputDirectory>target/classes</outputDirectory>
|
251 | 251 | <plugins>
|
| 252 | + <plugin> |
| 253 | + <groupId>org.apache.maven.plugins</groupId> |
| 254 | + <artifactId>maven-surefire-plugin</artifactId> |
| 255 | + <version>2.14.1</version> |
| 256 | + <configuration> |
| 257 | + <argLine>${argLine} -Dfile.encoding=UTF-8</argLine> |
| 258 | + <includes> |
| 259 | + <include>**/*Test.java</include> |
| 260 | + </includes> |
| 261 | + <excludes> |
| 262 | + <exclude>**/*MainTest.java</exclude> |
| 263 | + </excludes> |
| 264 | + </configuration> |
| 265 | + </plugin> |
| 266 | + |
| 267 | + <plugin> |
| 268 | + <groupId>org.jacoco</groupId> |
| 269 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 270 | + <version>0.7.2.201409121644</version> |
| 271 | + <configuration> |
| 272 | + <excludes> |
| 273 | + <exclude>**/*Demo.class</exclude> |
| 274 | + </excludes> |
| 275 | + </configuration> |
| 276 | + <executions> |
| 277 | + <execution> |
| 278 | + <id>prepare-agent</id> |
| 279 | + <goals> |
| 280 | + <goal>prepare-agent</goal> |
| 281 | + </goals> |
| 282 | + </execution> |
| 283 | + </executions> |
| 284 | + </plugin> |
| 285 | + |
| 286 | + <plugin> |
| 287 | + <groupId>org.eluder.coveralls</groupId> |
| 288 | + <artifactId>coveralls-maven-plugin</artifactId> |
| 289 | + <version>3.1.0</version> |
| 290 | + </plugin> |
| 291 | + |
252 | 292 | <plugin>
|
253 | 293 | <groupId>org.apache.maven.plugins</groupId>
|
254 | 294 | <artifactId>maven-clean-plugin</artifactId>
|
255 | 295 | <version>2.5</version>
|
256 | 296 | <inherited>true</inherited>
|
257 | 297 | </plugin>
|
| 298 | + |
258 | 299 | <plugin>
|
259 | 300 | <groupId>org.apache.maven.plugins</groupId>
|
260 | 301 | <artifactId>maven-dependency-plugin</artifactId>
|
261 | 302 | <version>2.8</version>
|
262 | 303 | <inherited>true</inherited>
|
263 | 304 | </plugin>
|
| 305 | + |
264 | 306 | <plugin>
|
265 | 307 | <groupId>org.apache.maven.plugins</groupId>
|
266 | 308 | <artifactId>maven-compiler-plugin</artifactId>
|
|
276 | 318 | <showWarnings>true</showWarnings>
|
277 | 319 | </configuration>
|
278 | 320 | </plugin>
|
| 321 | + |
279 | 322 | <plugin>
|
280 | 323 | <groupId>org.apache.maven.plugins</groupId>
|
281 | 324 | <artifactId>maven-jar-plugin</artifactId>
|
|
288 | 331 | </includes>
|
289 | 332 | </configuration>
|
290 | 333 | </plugin>
|
| 334 | + |
291 | 335 | <plugin>
|
292 | 336 | <groupId>org.apache.maven.plugins</groupId>
|
293 | 337 | <artifactId>maven-source-plugin</artifactId>
|
|
302 | 346 | </execution>
|
303 | 347 | </executions>
|
304 | 348 | </plugin>
|
305 |
| - <plugin> |
306 |
| - <groupId>org.apache.maven.plugins</groupId> |
307 |
| - <artifactId>maven-surefire-plugin</artifactId> |
308 |
| - <version>2.17</version> |
309 |
| - <inherited>true</inherited> |
310 |
| - <configuration> |
311 |
| - <skip>true</skip> |
312 |
| - </configuration> |
313 |
| - </plugin> |
| 349 | + |
314 | 350 | <plugin>
|
315 | 351 | <groupId>org.apache.maven.plugins</groupId>
|
316 | 352 | <artifactId>maven-install-plugin</artifactId>
|
317 | 353 | <version>2.5.1</version>
|
318 | 354 | <inherited>true</inherited>
|
319 | 355 | </plugin>
|
| 356 | + |
320 | 357 | <plugin>
|
321 | 358 | <groupId>org.apache.maven.plugins</groupId>
|
322 | 359 | <artifactId>maven-deploy-plugin</artifactId>
|
|
326 | 363 | <updateReleaseInfo>true</updateReleaseInfo>
|
327 | 364 | </configuration>
|
328 | 365 | </plugin>
|
| 366 | + |
| 367 | + <plugin> |
| 368 | + <groupId>org.apache.maven.plugins</groupId> |
| 369 | + <artifactId>maven-release-plugin</artifactId> |
| 370 | + <version>2.5</version> |
| 371 | + </plugin> |
329 | 372 | </plugins>
|
330 | 373 | </build>
|
331 | 374 |
|
|
0 commit comments