Six Things You Need To Know // nipafx
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
A practical guide covering six key topics for building Maven projects on Java 9 and later. Topics include minimum version requirements (Maven 3.5.0+, Maven Compiler Plugin 3.7.0+), three approaches to run Maven on Java 9 (compiler executable, toolchains, mavenrc), applying JVM flags via .mvn/jvm.config, a bash script for switching between Java 8 and 9 builds, using Maven profiles for version-specific configuration, and a gotcha with compiler arguments requiring '=' instead of spaces for multi-word flags.
Table of contents
▚ Maven Version▚ Running Maven On Java 9▚ Applying Java 9 Flags To Maven Process▚ Switching Maven's JVM Between Java 8 And 9▚ Configuring The Build For Java 8 And Java 9▚ Arguments For The Maven Compiler Plugin▚ ReflectionSort: