HADOOP-9247. Merge r1438698 from trunk
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1439531 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1590ccc486
commit
8a20446beb
|
@ -134,6 +134,9 @@ Release 2.0.3-alpha - Unreleased
|
||||||
|
|
||||||
HADOOP-9241. DU refresh interval is not configurable (harsh)
|
HADOOP-9241. DU refresh interval is not configurable (harsh)
|
||||||
|
|
||||||
|
HADOOP-9247. Parametrize Clover "generateXxx" properties to make them
|
||||||
|
re-definable via -D in mvn calls. (Ivan A. Veselovsky via suresh)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-8866. SampleQuantiles#query is O(N^2) instead of O(N). (Andrew Wang
|
HADOOP-8866. SampleQuantiles#query is O(N^2) instead of O(N). (Andrew Wang
|
||||||
|
|
18
pom.xml
18
pom.xml
|
@ -409,6 +409,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>
|
||||||
|
@ -422,8 +434,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>
|
<alwaysReport>${cloverAlwaysReport}</alwaysReport>
|
||||||
<generateXml>true</generateXml>
|
<generateHtml>${cloverGenHtml}</generateHtml>
|
||||||
|
<generateXml>${cloverGenXml}</generateXml>
|
||||||
|
<generateHistorical>${cloverGenHistorical}</generateHistorical>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
Loading…
Reference in New Issue