Apache

Docs Plugins

Toolchains Plugin 3.3.0 · Other versions

The Toolchains Plugins allows to share configuration across plugins. For example to make sure the plugins like compiler, surefire, javadoc, webstart etc. all use the same JDK for execution.

Source
Generated from the code
Wrong?
Report a problem

toolchains:toolchain

Full name:

org.apache.maven.plugins:maven-toolchains-plugin:3.3.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
  <toolchain-type>
    <param>expected value</param>
    ...
  </toolchain-type>
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.