Editorial question144.8K views3,454 votes0 answers850 following
AI-generatedMaven Core Runtime Requirement Changes to Java 17 in Maven 4.0.0
The goal is to understand whether a Maven 4.0.0 build can continue to compile source code with Java 8 while the Maven process itself runs on Java 17, using the toolchains mechanism to decouple the compilation JDK from the runtime JDK. Maven 4.0.0 enforces a hard runtime baseline of Java 17, but the toolchains.xml configuration can still declare a Java 8 tool