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:display-discovered-jdk-toolchains

Full name:

org.apache.maven.plugins:maven-toolchains-plugin:3.3.0:display-discovered-jdk-toolchains

Description:

Discover the JDK toolchains and print them to the console.

Attributes:

  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Since version: 3.2.0.

Optional Parameters

Name Type Since Description
<comparator> String - Comparator used to sort JDK toolchains for selection. This property is a comma separated list of values which may contains:
  • lts: prefer JDK with LTS version
  • current: prefer the current JDK
  • env: prefer JDKs defined using JAVA\{xx\_HOME} environment variables
  • version: prefer JDK with higher versions
  • vendor: order JDK by vendor name (usually as a last comparator to ensure a stable order)

Default: lts,current,env,version,vendor
User Property: toolchain.jdk.comparator

Parameter Details

<comparator>

Comparator used to sort JDK toolchains for selection. This property is a comma separated list of values which may contains:
  • lts: prefer JDK with LTS version
  • current: prefer the current JDK
  • env: prefer JDKs defined using JAVA\{xx\_HOME} environment variables
  • version: prefer JDK with higher versions
  • vendor: order JDK by vendor name (usually as a last comparator to ensure a stable order)
  • Type: java.lang.String
  • Required: No
  • User Property: toolchain.jdk.comparator
  • Default: lts,current,env,version,vendor