Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1738

Unable to compile maven-surefire-plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.0.0-M4
    • None
    • Maven Surefire Plugin
    • JDKs: Zulu 8, Oracle 8, Oracle 7, Oracle 6, Zulu 11.
      Maven: 3.2.5, 3.3.5, 3.5.9,3.6.0
      Ubuntu Linux

    Description

      I was trying to put together a PR but realized that I can't compile master even without any of my changes. 

      I've tried many combinations of :

      JDKs: Zulu 8, Oracle 8, Oracle 7, Oracle 6, Zulu 11.

      Maven: 3.2.5, 3.3.5, 3.5.9, 3.6.0

      I'm on commit db16777568e87447813b2ee1b15e9b079211f098 (current master).

      Command: mvn test  [-Danimal.sniffer.skip=true] [-Djacoco.skip=true]

      Tools used for logs below: Zulu 8 + Maven 3.6.0

      Errors encountered (separate errors, depending on what is turned off): 

      1. Compilation error in maven-surefire-common module.  No actual errors are shown. 
      2. Error in animal.sniffer plugin (turned off with -Danimal.sniffer.skip=true)
      3. Error in jacoco plugin (turned off with -Djacoco.skip=true)

      Compilation Error Detail

      log.compile.failure.txt

      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project maven-surefire-common: Compilation failure

      Animal Sniffer Error Detail

       

      log.animal.sniffer.txt

      [ERROR] Bad class file /home/thisuser/workspace/maven-surefire/surefire-extensions-api/target/classes/org/apache/maven/surefire/extensions/StatelessTestsetInfoConsoleReportEventListener.class

      Jacoco Error Detail

      log.jacoco.txt

      [ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.8.5:instrument (jacoco-instrumentation) on project surefire-extensions-api: Unable to instrument file.: Error while instrumenting /home/thisuser/workspace/maven-surefire/surefire-extensions-api/target/classes/org/apache/maven/surefire/extensions/StatelessTestsetInfoConsoleReportEventListener.class.

      Attachments

        1. log.animal.sniffer.txt
          13 kB
          Akom
        2. log.jacoco.txt
          10 kB
          Akom
        3. log.compile.failure.txt
          50 kB
          Akom

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              akomakom Akom
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: