Hadoop Common
  1. Hadoop Common
  2. HADOOP-9247

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha, 0.23.6, 3.0.0
    • Fix Version/s: 2.0.3-alpha, 0.23.7
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Activity

        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Suresh Srinivas made changes -
        Fix Version/s 2.0.3-alpha [ 12323273 ]
        Fix Version/s 0.23.7 [ 12323956 ]
        Fix Version/s 3.0.0 [ 12320357 ]
        Suresh Srinivas made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 3.0.0 [ 12320357 ]
        Resolution Fixed [ 1 ]
        Ivan A. Veselovsky made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 3.0.0 [ 12320357 ]
        Affects Version/s 2.0.3-alpha [ 12323273 ]
        Affects Version/s 0.23.6 [ 12323504 ]
        Ivan A. Veselovsky made changes -
        Field Original Value New Value
        Attachment HADOOP-9247-trunk.patch [ 12566513 ]
        Ivan A. Veselovsky created issue -

          People

          • Assignee:
            Ivan A. Veselovsky
            Reporter:
            Ivan A. Veselovsky
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development