Skip to content

Conversation

@desruisseaux
Copy link
Contributor

MCOMPILER-346 (#554) was testing a workaround for an issue which was fixed in Java 15. Since Maven 4 requires Java 17 or later, workaround is not needed anymore (unless toolchains or forked compilers are used). Furthermore, the actual fix was in Plexus Compiler, which is not used anymore by the Maven plugin. Finally, the test was expecting a build failure with an error message that tends to vary between different versions of Maven Core, because the errors seem to be sometime detected earlier during dependencies collection.

It was testing a workaround for an issue which was fixed in Java 15.
Since Maven 4 requires Java 17 or later, workaround is not needed anymore
(unless toolchains or forked compilers are used). Furthermore, the actual
fix was in Plexus Compiler, which is not used anymore by the Maven plugin.
Finally, the test was expecting a build failure with an error message that
tends to vary between different versions of Maven Core, because the errors
seem to be sometime detected earlier during dependencies collection.

apache#554
@desruisseaux desruisseaux merged commit 3b46223 into apache:master Nov 20, 2025
20 checks passed
@desruisseaux desruisseaux deleted the remove/MCOMPILER-346 branch November 20, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants