Class ToolchainMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.toolchain.ToolchainMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="toolchain",
defaultPhase=VALIDATE,
configurator="toolchains-requirement-configurator")
public class ToolchainMojo
extends org.apache.maven.plugin.AbstractMojo
Check that toolchains requirements are met by currently configured toolchains and
store the selected toolchains in build context for later retrieval by other plugins.
- Author:
- mkleint
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ToolchainMojo
public ToolchainMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getToolchainRequirementAsString
-
selectToolchain
-