Package org.apache.maven.toolchain
Class DefaultToolchainsBuilder
java.lang.Object
org.apache.maven.toolchain.DefaultToolchainsBuilder
- All Implemented Interfaces:
ToolchainsBuilder
@Deprecated
@Named("default")
@Singleton
public class DefaultToolchainsBuilder
extends Object
implements ToolchainsBuilder
Deprecated.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultToolchainsBuilder
public DefaultToolchainsBuilder()Deprecated.
-
-
Method Details
-
build
public org.apache.maven.toolchain.model.PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException 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