Akom created SUREFIRE-1738:
------------------------------
Summary: Unable to compile maven-surefire-plugin
Key: SUREFIRE-1738
URL: https://issues.apache.org/jira/browse/SUREFIRE-1738
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 3.0.0-M4
Environment: 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
Reporter: Akom
Attachments: log.animal.sniffer.txt, log.compile.failure.txt,
log.jacoco.txt
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*: {color:#de350b}Zulu 8{color}, Oracle 8, Oracle 7, Oracle 6, Zulu 11.
*Maven*: 3.2.5, 3.3.5, 3.5.9, {color:#de350b}3.6.0{color}
I'm on commit *db16777568e87447813b2ee1b15e9b079211f098* (current master).
*Command*: {color:#0747a6}mvn test [-Danimal.sniffer.skip=true]
[-Djacoco.skip=true]{color}
*Tools used* for logs below: Zulu 8 + Maven 3.6.0
Errors encountered (separate errors, depending on what is turned off):
# Compilation error in *maven-surefire-common* module. No actual errors are
shown.
# Error in *animal.sniffer* plugin (turned off with -Danimal.sniffer.skip=true)
# Error in *jacoco* plugin (turned off with -Djacoco.skip=true)
h2. 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
h2. 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
h2. 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)