Author: ggregory
Date: Sat Nov 26 06:18:15 2016
New Revision: 1771406
URL: http://svn.apache.org/viewvc?rev=1771406&view=rev
Log:
Configure Jacoco from plugin management section.
Modified:
commons/proper/commons-parent/trunk/pom.xml
Modified: commons/proper/commons-parent/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1771406&r1=1771405&r2=1771406&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Sat Nov 26 06:18:15 2016
@@ -978,74 +978,6 @@ Version 39:
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${commons.jacoco.version}</version>
- <!-- Note that since JaCoCo relies on an agent to perform tests,
- it changes the surefire arguments line. If a component also
- needs to change the argument line of maven-surefire-plugin,
- then it must add ${argLine} property (which is set by JaCoCo)
- in the argLine configuration element of maven-surefire-plugin
- to preserve JaCoCo settings. -->
- <executions>
- <execution>
- <id>prepare-agent</id>
- <phase>process-test-classes</phase>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- </execution>
- <execution>
- <id>report</id>
- <phase>site</phase>
- <goals>
- <goal>report</goal>
- </goals>
- </execution>
- <execution>
- <id>check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <rules>
- <rule>
- <element>BUNDLE</element>
- <limits>
- <limit>
- <counter>CLASS</counter>
- <value>COVEREDRATIO</value>
- <minimum>${commons.jacoco.classRatio}</minimum>
- </limit>
- <limit>
- <counter>INSTRUCTION</counter>
- <value>COVEREDRATIO</value>
- <minimum>${commons.jacoco.instructionRatio}</minimum>
- </limit>
- <limit>
- <counter>METHOD</counter>
- <value>COVEREDRATIO</value>
- <minimum>${commons.jacoco.methodRatio}</minimum>
- </limit>
- <limit>
- <counter>BRANCH</counter>
- <value>COVEREDRATIO</value>
- <minimum>${commons.jacoco.branchRatio}</minimum>
- </limit>
- <limit>
- <counter>LINE</counter>
- <value>COVEREDRATIO</value>
- <minimum>${commons.jacoco.lineRatio}</minimum>
- </limit>
- <limit>
- <counter>COMPLEXITY</counter>
- <value>COVEREDRATIO</value>
- <minimum>${commons.jacoco.complexityRatio}</minimum>
- </limit>
- </limits>
- </rule>
- </rules>
-
<haltOnFailure>${commons.jacoco.haltOnFailure}</haltOnFailure>
- </configuration>
- </execution>
- </executions>
</plugin>
</plugins>
</build>