-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Francois Loriot opened MTOOLCHAINS-37 and commented
I have recently tried to build some java projects on Windows 10 using the toolchain plugin, but I see that when there are java compilation errors, the output of the build does not list the errors. The same build with identical setup on Windows 7 correctly shows the errors. I'm running Maven with Oracle JDK 1.8 (I have also tried Open JDK 1.8 and Oracle 9) and the toolchain for the compilation points to IBM SDK 1.6 (I have also tried SDK 1.6 and 1.8).
I'm using the default/latest toolchain and compiler plugins.
I have also noticed that every time the compiler is being called during the build, it briefly pops up a command prompt window with some output. I'm thinking the actual error description in case of java errors goes in these windows, instead of the build output.
I can reproduce the same behavior running the maven goals from within JetBrains Intelli J.
I have confirmed the same behavior with other developers in my company.
Running with -X or -e did not help either.
Here is an example:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project ebill-webcommon: Compilation failure -> ===== MISSING THE ERRORS HERE ======= [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :ebill-webcommon
No further details from MTOOLCHAINS-37