Class AbstractMergeAgentFilesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.graalvm.buildtools.maven.config.AbstractMergeAgentFilesMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
MergeAgentFilesMojo
,MetadataCopyMojo
public abstract class AbstractMergeAgentFilesMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Set this to true to ensure that native-image is found in your toolchain and not in an unrelated JDK or in your PATH.protected org.codehaus.plexus.logging.Logger
protected org.apache.maven.execution.MavenSession
protected org.apache.maven.toolchain.ToolchainManager
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
logger
@Component protected org.codehaus.plexus.logging.Logger logger -
session
@Parameter(defaultValue="${session}", readonly=true) protected org.apache.maven.execution.MavenSession session -
toolchainManager
@Component protected org.apache.maven.toolchain.ToolchainManager toolchainManager -
enforceToolchain
@Parameter(property="enforceToolchain") protected boolean enforceToolchainSet this to true to ensure that native-image is found in your toolchain and not in an unrelated JDK or in your PATH. Will fail the build in case no toolchain was found or if it does not contain native-image.
-
-
Constructor Details
-
AbstractMergeAgentFilesMojo
public AbstractMergeAgentFilesMojo()
-
-
Method Details
-
getMergerExecutable
- Throws:
org.apache.maven.plugin.MojoExecutionException
-