[ 
https://issues.apache.org/jira/browse/SUREFIRE-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17085876#comment-17085876
 ] 

Akom commented on SUREFIRE-1738:
--------------------------------

I was more-or-less able to run maven on the project by:
 * Setting MAVEN_OPTS as per 
[https://github.com/apache/maven-surefire#development-information]
 * Running with JDK 1.8 and Maven 3.6.1
 * Modifying compiler args in all poms with *-Xdoclint:none*

Command Line was:

{{ mvn install -Djavadoc.skip -Danimal.sniffer.skip=true -Djacoco.skip=true}}

 

I say "more-or-less" because I had to turn off a bunch of stuff

> 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
>            Priority: Major
>         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)

Reply via email to