Double instrumentation error when running 'mvn site' on JDK8

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 4.0.1
    • Affects Version/s: 3.2.0
    • Component/s: Maven plugin
    • None
    • Environment:

      JDK 1.8, Maven 2.2.1, Clover 3.2 or abovesmv

      Run 'mvn clean site' on the src/it/setTestFailureIgnore project using the JDK8 and Maven 2.2.1. It fails with an error:

      [INFO] Processing files at 1.8 source level.
      [INFO] Instrumentation error
      com.atlassian.clover.api.CloverException: Double instrumentation detected: f:\Work\release\release-maven-clover2-plugin-hg\src\it\setTestFailureIgnore\target\clover\src-instrumented\com\atlassian\maven\plugin\clover\samples\setTestFailureIgnore\Simple.java appears to have already been instrumented by Clover.
      	at com.atlassian.clover.instr.java.CloverTokenStreamFilter.guardAgainstDoubleInstrumentation(CloverTokenStreamFilter.java:66)
      ...
      

      The same site goal works correctly under JDK7.

            Assignee:
            Marek Parfianowicz
            Reporter:
            Marek Parfianowicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: