DefaultToolchainsBuilder@Deprecated @Named(value="default") @Singleton public class DefaultToolchainsBuilder extends Object implements ToolchainsBuilder
| Constructor and Description |
|---|
DefaultToolchainsBuilder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.api.toolchain.PersistedToolchains |
build(File userToolchainsFile)
Deprecated.
Builds the toolchains model from the configured toolchain files.
|
public org.apache.maven.api.toolchain.PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException
ToolchainsBuilderbuild in interface ToolchainsBuilderuserToolchainsFile - The path to the toolchains file, may be null to disable parsing.null if no toolchain file was configured or the configured file does
not exist.MisconfiguredToolchainException - If the toolchain file exists but cannot be parsed.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.