DefaultToolchainManager, DefaultToolchainManagerPrivatepublic interface ToolchainManager
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
ROLE |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
Toolchain |
getToolchainFromBuildContext(java.lang.String type,
MavenSession context) |
Retrieve toolchain of specified type from build context.
|
java.util.List<Toolchain> |
getToolchains(MavenSession session,
java.lang.String type,
java.util.Map<java.lang.String,java.lang.String> requirements) |
Select all toolchains available in user settings matching the type and requirements,
independently from
maven-toolchains-plugin. |
Toolchain getToolchainFromBuildContext(java.lang.String type, MavenSession context)
maven-toolchains-plugin contains the configuration to select the appropriate
toolchain and is executed at the beginning of the build.type - the type, must not be nullcontext - the Maven session, must not be nullmaven-toolchains-pluginjava.util.List<Toolchain> getToolchains(MavenSession session, java.lang.String type, java.util.Map<java.lang.String,java.lang.String> requirements)
maven-toolchains-plugin.session - the Maven session, must not be nulltype - the type, must not be nullrequirements - the requirements, may be nullnull