Hello Mark.
Feel free to let me know if your situation is as follows:
-- forked build (i.e. not in process)
-- when disabling the fork and enabling "-e" or running the build with
javac directly outside of Maven, suddenly error messages appear at
the end of the build
-- optionally (not necessarily) using a JDK locale other than English
(e.g. javac in JDK 21 comes with localised messages in Chinese,
Japanese, German)
-- optionally (not necessarily) using an annotation processor
I recently had the symptom of build errors with forked compiler
swallowing error messages and scratched my own itch by adding a PR to
Plexus Javac which for me solves the problem. If your problem happens to
be the same category, you would be the perfect sentient test particle
for https://github.com/codehaus-plexus/plexus-compiler/pull/337. I can
advise you how to get that running in your project.
Regards
--
Alexander Kriegisch
https://scrum-master.de
[email protected] schrieb am 20.12.2023 05:27 (GMT +07:00):
> Indeed, if there were ACTUAL error messages from the java compiler,
> this would be far less mysterious :) The trouble is that there are NOT
> any error messages coming from the Java compiler. There are a few
> warnings (from javac), followed soon after by "Compilation failure"
> (from maven, NOT from javac)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]