|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 |
|
3 | 3 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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> |
| 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> |
6 | 6 |
|
7 |
| - <groupId>com.codacy.app</groupId> |
8 |
| - <artifactId>coverage-example-java</artifactId> |
9 |
| - <version>1.0-SNAPSHOT</version> |
| 7 | + <groupId>com.codacy.app</groupId> |
| 8 | + <artifactId>coverage-example-java</artifactId> |
| 9 | + <version>1.0-SNAPSHOT</version> |
10 | 10 |
|
11 |
| - <name>coverage-example-java</name> |
| 11 | + <name>coverage-example-java</name> |
12 | 12 |
|
13 |
| - <properties> |
14 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 |
| - <maven.compiler.source>1.7</maven.compiler.source> |
16 |
| - <maven.compiler.target>1.7</maven.compiler.target> |
17 |
| - </properties> |
| 13 | + <properties> |
| 14 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 16 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 17 | + </properties> |
18 | 18 |
|
19 |
| - <dependencies> |
20 |
| - <dependency> |
21 |
| - <groupId>junit</groupId> |
22 |
| - <artifactId>junit</artifactId> |
23 |
| - <version>4.11</version> |
24 |
| - <scope>test</scope> |
25 |
| - </dependency> |
26 |
| - </dependencies> |
| 19 | + <dependencies> |
| 20 | + <dependency> |
| 21 | + <groupId>junit</groupId> |
| 22 | + <artifactId>junit</artifactId> |
| 23 | + <version>4.11</version> |
| 24 | + <scope>test</scope> |
| 25 | + </dependency> |
| 26 | + </dependencies> |
27 | 27 |
|
28 |
| - <build> |
29 |
| - <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> |
30 |
| - <plugins> |
31 |
| - <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> |
32 |
| - <plugin> |
33 |
| - <artifactId>maven-clean-plugin</artifactId> |
34 |
| - <version>3.1.0</version> |
35 |
| - </plugin> |
36 |
| - <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
37 |
| - <plugin> |
38 |
| - <artifactId>maven-resources-plugin</artifactId> |
39 |
| - <version>3.0.2</version> |
40 |
| - </plugin> |
41 |
| - <plugin> |
42 |
| - <artifactId>maven-compiler-plugin</artifactId> |
43 |
| - <version>3.8.0</version> |
44 |
| - </plugin> |
45 |
| - <plugin> |
46 |
| - <artifactId>maven-surefire-plugin</artifactId> |
47 |
| - <version>2.22.1</version> |
48 |
| - </plugin> |
49 |
| - <plugin> |
50 |
| - <artifactId>maven-jar-plugin</artifactId> |
51 |
| - <version>3.0.2</version> |
52 |
| - </plugin> |
53 |
| - <plugin> |
54 |
| - <artifactId>maven-install-plugin</artifactId> |
55 |
| - <version>2.5.2</version> |
56 |
| - </plugin> |
57 |
| - <plugin> |
58 |
| - <artifactId>maven-deploy-plugin</artifactId> |
59 |
| - <version>2.8.2</version> |
60 |
| - </plugin> |
61 |
| - <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> |
62 |
| - <plugin> |
63 |
| - <artifactId>maven-site-plugin</artifactId> |
64 |
| - <version>3.7.1</version> |
65 |
| - </plugin> |
66 |
| - <plugin> |
67 |
| - <artifactId>maven-project-info-reports-plugin</artifactId> |
68 |
| - <version>3.0.0</version> |
69 |
| - </plugin> |
70 |
| - </plugins> |
71 |
| - </pluginManagement> |
72 |
| - </build> |
| 28 | + <build> |
| 29 | + <plugins> |
| 30 | + <plugin> |
| 31 | + <groupId>org.jacoco</groupId> |
| 32 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 33 | + <version>0.8.7</version> |
| 34 | + <executions> |
| 35 | + <execution> |
| 36 | + <goals> |
| 37 | + <goal>prepare-agent</goal> |
| 38 | + </goals> |
| 39 | + </execution> |
| 40 | + <execution> |
| 41 | + <id>report</id> |
| 42 | + <phase>test</phase> |
| 43 | + <goals> |
| 44 | + <goal>report</goal> |
| 45 | + </goals> |
| 46 | + </execution> |
| 47 | + </executions> |
| 48 | + </plugin> |
| 49 | + </plugins> |
| 50 | + </build> |
73 | 51 | </project>
|
0 commit comments