Class DefaultJavaToolchainFactory
java.lang.Object
org.apache.maven.impl.DefaultJavaToolchainFactory
- All Implemented Interfaces:
 ToolchainFactory
@Named("jdk")
@Singleton
public class DefaultJavaToolchainFactory
extends Object
implements ToolchainFactory
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionCreates a default toolchain instance using system defaults.createToolchain(ToolchainModel model) Creates a toolchain instance from the provided model configuration. 
- 
Field Details
- 
KEY_JAVAHOME
- See Also:
 
 
 - 
 - 
Constructor Details
- 
DefaultJavaToolchainFactory
 
 - 
 - 
Method Details
- 
createToolchain
Description copied from interface:ToolchainFactoryCreates a toolchain instance from the provided model configuration.- Specified by:
 createToolchainin interfaceToolchainFactory- Parameters:
 model- The toolchain configuration model- Returns:
 - A configured toolchain instance
 
 - 
createDefaultToolchain
Description copied from interface:ToolchainFactoryCreates a default toolchain instance using system defaults.- Specified by:
 createDefaultToolchainin interfaceToolchainFactory- Returns:
 - Optional containing the default toolchain if available
 
 
 -