toolchains:display-discovered-jdk-toolchains
Full name:
org.apache.maven.plugins:maven-toolchains-plugin:3.2.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:
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 versioncurrent
: prefer the current JDKenv
: prefer JDKs defined usingJAVA\{xx\
_HOME} environment variablesversion
: prefer JDK with higher versionsvendor
: 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