Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9247

parametrize Clover "generateXxx" properties to make them re-definable via -D in mvn calls

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.3-alpha, 0.23.6, 3.0.0-alpha1
    • 2.0.3-alpha, 0.23.7
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HADOOP-9247-trunk.patch
          2 kB
          Ivan A. Veselovsky

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            iveselovsky Ivan A. Veselovsky
            iveselovsky Ivan A. Veselovsky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment