From 347ec7b6e77acf72d59bd212033deba8eb914b49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20Boutemy?=
The default location for the toolchains file is ~/.m2/toolchains.xml
A Toolchain is a preconfigured object that Maven plugins can use for tool configuration retrieval (location and other information).
+The toolchains-plugin can read available toolchains on the user's computer
+ and match them against the toolchain requirements of the project (as configured in pom.xml
):
+ if match is found, the toolchain instance is made available to other Maven plugins.
With jdk
toolchain, for example, instead of being stuck with the JDK used to run Maven, all plugins can use
+ the same other JDK instance without hardcoding absolute paths into the pom.xml
+ and without configuring every plugin that require path to JDK tools.
See the Guide to Using Toolchains for + more information.
]]> +jdk
for
+ JDK Standard Toolchain,Actual content structure is completely open: each toochain type will define its own format and semantics.
+In general, this is a properties format: <name>value</name>
with
+ predefined properties names.
Actual content structure is completely open: each toochain type will define its own format and semantics.
+In general, this is a properties format: <name>value</name>
wih
+ predefined properties names.