Class DefaultJavaToolChain

  • All Implemented Interfaces:
    JavaToolchain, Toolchain, ToolchainPrivate

    public class DefaultJavaToolChain
    extends DefaultToolchain
    Deprecated.
    clients that do not require compatibility with Maven 3.2.3 and earlier should link to JavaToolchainImpl instead.
    Provides backwards compatibility with Maven 3.2.3 and earlier. Clients that do not require compatibility with Maven 3.2.3 and earlier are encouraged to use JavaToolchainImpl. Note: This is an internal component whose interface can change without prior notice.
    • Field Detail

      • KEY_JAVAHOME

        public static final java.lang.String KEY_JAVAHOME
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultJavaToolChain

        public DefaultJavaToolChain​(ToolchainModel model,
                                    org.codehaus.plexus.logging.Logger logger)
        Deprecated.
    • Method Detail

      • getJavaHome

        public java.lang.String getJavaHome()
        Deprecated.
      • setJavaHome

        public void setJavaHome​(java.lang.String javaHome)
        Deprecated.
      • findTool

        public java.lang.String findTool​(java.lang.String toolName)
        Description copied from interface: Toolchain
        Gets the platform tool executable.
        Specified by:
        findTool in interface Toolchain
        Parameters:
        toolName - the tool platform independent tool name.
        Returns:
        file representing the tool executable, or null if the tool can not be found