mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-20 10:39:37 +00:00
Use Jacoco rather than cobertura
This commit is contained in:
parent
73c9ac5acb
commit
60105d5d9a
1 changed files with 12 additions and 25 deletions
37
pom.xml
37
pom.xml
|
@ -27,7 +27,7 @@
|
||||||
<webjars-jquery.version>2.2.4</webjars-jquery.version>
|
<webjars-jquery.version>2.2.4</webjars-jquery.version>
|
||||||
<wro4j.version>1.8.0</wro4j.version>
|
<wro4j.version>1.8.0</wro4j.version>
|
||||||
|
|
||||||
<cobertura.version>2.7</cobertura.version>
|
<jacoco.version>0.8.1</jacoco.version>
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
@ -134,17 +134,20 @@
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.jacoco</groupId>
|
||||||
<artifactId>cobertura-maven-plugin</artifactId>
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
<version>${cobertura.version}</version>
|
<version>${jacoco.version}</version>
|
||||||
<configuration>
|
|
||||||
<check />
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>clean</goal>
|
<goal>prepare-agent</goal>
|
||||||
<goal>check</goal>
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>report</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>report</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
@ -201,22 +204,6 @@
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<reporting>
|
|
||||||
<plugins>
|
|
||||||
<!-- integrate maven-cobertura-plugin to project site -->
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
|
||||||
<artifactId>cobertura-maven-plugin</artifactId>
|
|
||||||
<version>${cobertura.version}</version>
|
|
||||||
<configuration>
|
|
||||||
<formats>
|
|
||||||
<format>html</format>
|
|
||||||
</formats>
|
|
||||||
<check />
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</reporting>
|
|
||||||
|
|
||||||
<!-- Apache 2 license -->
|
<!-- Apache 2 license -->
|
||||||
<licenses>
|
<licenses>
|
||||||
|
|
Loading…
Reference in a new issue