|
@@ -517,6 +517,18 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
|
|
<properties>
|
|
<properties>
|
|
<cloverLicenseLocation>${user.home}/.clover.license</cloverLicenseLocation>
|
|
<cloverLicenseLocation>${user.home}/.clover.license</cloverLicenseLocation>
|
|
<cloverDatabase>${project.build.directory}/clover/hadoop-coverage.db</cloverDatabase>
|
|
<cloverDatabase>${project.build.directory}/clover/hadoop-coverage.db</cloverDatabase>
|
|
|
|
+ <!-- NB: This additional parametrization is made in order
|
|
|
|
+ to be able to re-define these properties with "-Dk=v" maven options.
|
|
|
|
+ By some reason the expressions declared in clover
|
|
|
|
+ docs like "${maven.clover.generateHtml}" do not work in that way.
|
|
|
|
+ However, the below properties are confirmed to work: e.g.
|
|
|
|
+ -DcloverGenHtml=false switches off the Html generation.
|
|
|
|
+ The default values provided here exactly correspond to Clover defaults, so
|
|
|
|
+ the behavior is 100% backwards compatible. -->
|
|
|
|
+ <cloverAlwaysReport>true</cloverAlwaysReport>
|
|
|
|
+ <cloverGenHtml>true</cloverGenHtml>
|
|
|
|
+ <cloverGenXml>true</cloverGenXml>
|
|
|
|
+ <cloverGenHistorical>false</cloverGenHistorical>
|
|
</properties>
|
|
</properties>
|
|
<build>
|
|
<build>
|
|
<plugins>
|
|
<plugins>
|
|
@@ -530,8 +542,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
|
|
<cloverDatabase>${cloverDatabase}</cloverDatabase>
|
|
<cloverDatabase>${cloverDatabase}</cloverDatabase>
|
|
<targetPercentage>50%</targetPercentage>
|
|
<targetPercentage>50%</targetPercentage>
|
|
<outputDirectory>${project.build.directory}/clover</outputDirectory>
|
|
<outputDirectory>${project.build.directory}/clover</outputDirectory>
|
|
- <generateHtml>true</generateHtml>
|
|
|
|
- <generateXml>true</generateXml>
|
|
|
|
|
|
+ <alwaysReport>${cloverAlwaysReport}</alwaysReport>
|
|
|
|
+ <generateHtml>${cloverGenHtml}</generateHtml>
|
|
|
|
+ <generateXml>${cloverGenXml}</generateXml>
|
|
|
|
+ <generateHistorical>${cloverGenHistorical}</generateHistorical>
|
|
</configuration>
|
|
</configuration>
|
|
<executions>
|
|
<executions>
|
|
<execution>
|
|
<execution>
|