Francois Loriot created MNG-7109:
------------------------------------
Summary: Toolchain plugin does not show compile errors in Windows
10
Key: MNG-7109
URL: https://issues.apache.org/jira/browse/MNG-7109
Project: Maven
Issue Type: Bug
Components: Errors, Toolchains
Affects Versions: 3.6.3, 3.6.1
Environment: Windows 10 (version 1909)
Reporter: Francois Loriot
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)