File tree Expand file tree Collapse file tree 1 file changed +21
-19
lines changed Expand file tree Collapse file tree 1 file changed +21
-19
lines changed Original file line number Diff line number Diff line change 20
20
<version >1.0-SNAPSHOT</version >
21
21
<packaging >jar</packaging >
22
22
23
- <name >JaCoCo Maven plug-in example for Java project</name >
23
+ <name >Cobertura Maven plug-in example for Java project</name >
24
24
<url >http://www.eclemma.org/jacoco</url >
25
25
26
26
<dependencies >
27
27
<dependency >
28
28
<groupId >junit</groupId >
29
29
<artifactId >junit</artifactId >
30
- <version >4.10 </version >
30
+ <version >4.12 </version >
31
31
<scope >test</scope >
32
32
</dependency >
33
33
</dependencies >
36
36
<sourceDirectory >src/main/java</sourceDirectory >
37
37
<plugins >
38
38
<plugin >
39
- <groupId >org.jacoco</groupId >
40
- <artifactId >jacoco-maven-plugin</artifactId >
41
- <version >0.7.7.201606060606</version >
42
- <executions >
43
- <execution >
44
- <goals >
45
- <goal >prepare-agent</goal >
46
- </goals >
47
- </execution >
48
- <execution >
49
- <id >report</id >
50
- <phase >test</phase >
51
- <goals >
52
- <goal >report</goal >
53
- </goals >
54
- </execution >
55
- </executions >
39
+ <groupId >org.apache.maven.plugins</groupId >
40
+ <artifactId >maven-compiler-plugin</artifactId >
41
+ <version >3.1</version >
42
+ <configuration >
43
+ <source >1.7</source >
44
+ <target >1.7</target >
45
+ </configuration >
46
+ </plugin >
47
+ <plugin >
48
+ <groupId >org.codehaus.mojo</groupId >
49
+ <artifactId >cobertura-maven-plugin</artifactId >
50
+ <version >2.7</version >
51
+ <configuration >
52
+ <formats >
53
+ <format >html</format >
54
+ <format >xml</format >
55
+ </formats >
56
+ <check />
57
+ </configuration >
56
58
</plugin >
57
59
</plugins >
58
60
</build >
You can’t perform that action at this time.
0 commit comments