You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ivan A. Veselovsky (JIRA)" <ji...@apache.org> on 2013/01/25 15:25:16 UTC

[jira] [Created] (HADOOP-9247) parametrize Clover "generateXxx" properties to make them re-definable via -D in mvn calls

Ivan A. Veselovsky created HADOOP-9247:
------------------------------------------

             Summary: parametrize Clover "generateXxx" properties to make them re-definable via -D in mvn calls
                 Key: HADOOP-9247
                 URL: https://issues.apache.org/jira/browse/HADOOP-9247
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: Ivan A. Veselovsky
            Assignee: Ivan A. Veselovsky
            Priority: Minor


The suggested parametrization is needed in order 
to be able to re-define these properties with "-Dk=v" maven options.
For some reason the expressions declared in clover 
docs like "${maven.clover.generateHtml}" (see http://docs.atlassian.com/maven-clover2-plugin/3.0.2/clover-mojo.html) do not work in that way. 
However, the parametrized properties are confirmed to work: e.g. 
-DcloverGenHtml=false switches off the Html generation, if defined <generateHtml>${cloverGenHtml}</generateHtml>.

The default values provided here exactly correspond to Clover defaults, so
the behavior is 100% backwards compatible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira