|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
|
3 | | -<!-- |
4 | | - Copyright (c) 2009, 2012 Mountainminds GmbH & Co. KG and Contributors |
5 | | - All rights reserved. This program and the accompanying materials |
6 | | - are made available under the terms of the Eclipse Public License v1.0 |
7 | | - which accompanies this distribution, and is available at |
8 | | - http://www.eclipse.org/legal/epl-v10.html |
9 | | -
|
10 | | - Contributors: |
11 | | - Marc R. Hoffmann - initial API and implementation |
12 | | ---> |
13 | | - |
14 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
15 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | +<project> |
16 | 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | + <groupId>io.codecov</groupId> |
| 6 | + <artifactId>example-java</artifactId> |
| 7 | + <version>1.0</version> |
17 | 8 |
|
18 | | - <groupId>org.jacoco</groupId> |
19 | | - <artifactId>org.jacoco.examples.maven.java</artifactId> |
20 | | - <version>1.0-SNAPSHOT</version> |
21 | | - <packaging>jar</packaging> |
22 | | - |
23 | | - <name>JaCoCo Maven plug-in example for Java project</name> |
24 | | - <url>http://www.eclemma.org/jacoco</url> |
| 9 | + <name>Codecov example Java repository</name> |
| 10 | + <url>http://github.com/codecov/example-java</url> |
25 | 11 | <properties> |
| 12 | + <maven.compiler.release>18</maven.compiler.release> |
26 | 13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
27 | | - <maven.compiler.source>1.8</maven.compiler.source> |
28 | | - <maven.compiler.target>1.8</maven.compiler.target> |
29 | 14 | </properties> |
30 | 15 |
|
31 | 16 | <dependencies> |
32 | 17 | <dependency> |
33 | 18 | <groupId>junit</groupId> |
34 | 19 | <artifactId>junit</artifactId> |
35 | | - <version>4.13.2</version> |
| 20 | + <version>5.7.1</version> |
36 | 21 | <scope>test</scope> |
37 | 22 | </dependency> |
38 | 23 | </dependencies> |
39 | 24 |
|
40 | 25 | <build> |
41 | | - <sourceDirectory>src/main/java</sourceDirectory> |
42 | | - <plugins> |
43 | | - <plugin> |
44 | | - <groupId>org.jacoco</groupId> |
45 | | - <artifactId>jacoco-maven-plugin</artifactId> |
46 | | - <version>0.8.7</version> |
47 | | - <executions> |
48 | | - <execution> |
49 | | - <goals> |
50 | | - <goal>prepare-agent</goal> |
51 | | - </goals> |
52 | | - </execution> |
53 | | - <execution> |
54 | | - <id>report</id> |
55 | | - <phase>test</phase> |
56 | | - <goals> |
57 | | - <goal>report</goal> |
58 | | - </goals> |
59 | | - </execution> |
60 | | - </executions> |
61 | | - </plugin> |
62 | | - <plugin> |
63 | | - <groupId>org.apache.maven.plugins</groupId> |
64 | | - <artifactId>maven-compiler-plugin</artifactId> |
65 | | - <version>3.8.1</version> |
66 | | - </plugin> |
67 | | - </plugins> |
68 | | - </build> |
| 26 | + <plugin> |
| 27 | + <groupId>org.jacoco</groupId> |
| 28 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 29 | + <version>0.8.8</version> |
| 30 | + <executions> |
| 31 | + <execution> |
| 32 | + <id>prepare-agent</id> |
| 33 | + <goals> |
| 34 | + <goal>prepare-agent</goal> |
| 35 | + </goals> |
| 36 | + </execution> |
| 37 | + <execution> |
| 38 | + <id>report</id> |
| 39 | + <phase>test</phase> |
| 40 | + <goals> |
| 41 | + <goal>report</goal> |
| 42 | + </goals> |
| 43 | + </execution> |
| 44 | + </executions> |
| 45 | + </plugin> |
| 46 | + </build> |
69 | 47 |
|
70 | 48 | </project> |
0 commit comments