The Apache Maven team is pleased to announce the release of the Apache Maven Toolchains Plugin, version 3.2.o
The Toolchains Plugins enable sharing tool configuration across plugins. For example, to make sure that plugins like compiler, surefire, and javadoc all use the same JDK for execution, independently from JRE used to run Maven itself. https://maven.apache.org/plugins/maven-toolchains-plugin/ You should specify the version in your project's plugin configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-toolchains-plugin</artifactId> <version>3.2.0</version> </plugin> You can download the appropriate sources etc. from the download page: https://maven.apache.org/plugins/maven-toolchains-plugin/download.cgi Release Notes - Maven Toolchains Plugin - Version 3.2.0 ** Improvement * [MTOOLCHAINS-49] - Automatic discovery of JDK toolchains ** Bug * [MTOOLCHAINS-41] - Broken link to JDK toolchain version range definitions ** Task * [MTOOLCHAINS-43] - Cleanup - Pom ** Dependency upgrade * [MTOOLCHAINS-42] - Upgrade maven-plugin parent to 37 * [MTOOLCHAINS-45] - Upgrade maven-plugin parent to 39 * [MTOOLCHAINS-50] - Upgrade to maven parent 41 * [MTOOLCHAINS-51] - Upgrade to maven 3.9.6 at compile time and 3.6.3 at runtime Enjoy, -The Apache Maven team