public interface ToolchainManager
| Modifier and Type | Method and Description | 
|---|---|
| Toolchain | getToolchainFromBuildContext(String type,
                            MavenSession context)Retrieve toolchain of specified type from build context. | 
| List<Toolchain> | getToolchains(MavenSession session,
             String type,
             Map<String,String> requirements)Select all toolchains available in user settings matching the type and requirements,
 independently from  maven-toolchains-plugin. | 
@Deprecated static final String ROLE
Toolchain getToolchainFromBuildContext(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-pluginList<Toolchain> getToolchains(MavenSession session, String type, Map<String,String> requirements)
maven-toolchains-plugin.session - the Maven session, must not be nulltype - the type, must not be nullrequirements - the requirements, may be nullnullCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.