File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 <version >1.0-SNAPSHOT</version >
2121 <packaging >jar</packaging >
2222
23- <name >JaCoCo Maven plug-in example for Java project</name >
23+ <name >Cobertura Maven plug-in example for Java project</name >
2424 <url >http://www.eclemma.org/jacoco</url >
2525
2626 <dependencies >
2727 <dependency >
2828 <groupId >junit</groupId >
2929 <artifactId >junit</artifactId >
30- <version >4.10 </version >
30+ <version >4.12 </version >
3131 <scope >test</scope >
3232 </dependency >
3333 </dependencies >
3636 <sourceDirectory >src/main/java</sourceDirectory >
3737 <plugins >
3838 <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 >
5658 </plugin >
5759 </plugins >
5860 </build >
You can’t perform that action at this time.
0 commit comments