toolchains:toolchain
Full name:
org.apache.maven.plugins:maven-toolchains-plugin:3.2.0:toolchain
Description:
Check that toolchains requirements are met by currently configured toolchains in toolchains.xml
and store the selected toolchain in build context for later retrieval by other plugins.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase:
validate
.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<toolchains> |
ToolchainsRequirement |
- |
Toolchains requirements, specified by one
element for each required toolchain. |
Parameter Details
<toolchains>
Toolchains requirements, specified by one
<toolchain-type>
<param>expected value</param>
...
</toolchain-type>
element for each required toolchain.- Type:
org.apache.maven.plugins.toolchain.ToolchainsRequirement
- Required:
Yes