Package org.apache.maven.toolchain
Class DefaultToolchainsBuilder
java.lang.Object
org.apache.maven.toolchain.DefaultToolchainsBuilder
- All Implemented Interfaces:
ToolchainsBuilder
@Deprecated
@Component(role=ToolchainsBuilder.class,
hint="default")
public class DefaultToolchainsBuilder
extends Object
implements ToolchainsBuilder
Deprecated.
- Author:
- Benjamin Bentmann
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Builds the toolchains model from the configured toolchain files.
-
Constructor Details
-
DefaultToolchainsBuilder
public DefaultToolchainsBuilder()Deprecated.
-
-
Method Details
-
build
Deprecated.Description copied from interface:ToolchainsBuilder
Builds the toolchains model from the configured toolchain files.- Specified by:
build
in interfaceToolchainsBuilder
- Parameters:
userToolchainsFile
- The path to the toolchains file, may benull
to disable parsing.- Returns:
- The toolchains model or
null
if no toolchain file was configured or the configured file does not exist. - Throws:
MisconfiguredToolchainException
- If the toolchain file exists but cannot be parsed.
-
DefaultToolchainsBuilder