@Mojo(name="toolchain",
defaultPhase=VALIDATE,
configurator="toolchains-requirement-configurator",
threadSafe=true)
public class ToolchainMojo
extends org.apache.maven.plugin.AbstractMojo
toolchains.xml and
store the selected toolchain in build context for later retrieval by other plugins.| Constructor and Description |
|---|
ToolchainMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected String |
getToolchainRequirementAsString(String type,
Map<String,String> params) |
protected boolean |
selectToolchain(String type,
Map<String,String> params) |
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected String getToolchainRequirementAsString(String type, Map<String,String> params)
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.