Package org.graalvm.buildtools.maven
Class NativeBuildMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.graalvm.buildtools.maven.AbstractNativeMojo
-
- org.graalvm.buildtools.maven.NativeBuildMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="build", defaultPhase=PACKAGE, requiresDependencyResolution=RUNTIME, requiresDependencyCollection=RUNTIME) public class NativeBuildMojo extends AbstractNativeMojo
-
-
Field Summary
-
Fields inherited from class org.graalvm.buildtools.maven.AbstractNativeMojo
agentResourceDirectory, buildArgs, classesDirectory, classpath, configFiles, debug, defaultClassesDirectory, dryRun, environment, excludeConfig, fallback, imageClasspath, imageName, jvmArgs, logger, mainClass, metadataRepository, metadataRepositoryConfiguration, metadataRepositoryPaths, mojoExecution, NATIVE_IMAGE_DRY_RUN, NATIVE_IMAGE_META_INF, NATIVE_IMAGE_PROPERTIES_FILENAME, outputDirectory, plugin, pluginArtifacts, project, quickBuild, resourcesConfigDirectory, session, sharedLibrary, systemProperties, toolchainManager, useArgFile, verbose
-
-
Constructor Summary
Constructors Constructor Description NativeBuildMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
protected java.util.List<java.lang.String>
getDependencyScopes()
-
Methods inherited from class org.graalvm.buildtools.maven.AbstractNativeMojo
addArtifactToClasspath, addDependenciesToClasspath, buildImage, configureMetadataRepository, downloadMetadata, getBuildArgs, getClasspath, getMainBuildPath, getMetadataVersion, isArtifactExcludedFromMetadataRepository, isMetadataRepositoryEnabled, maybeAddDependencyMetadata, maybeAddGeneratedResourcesConfig, maybeAddReachabilityMetadata, populateApplicationClasspath, populateClasspath, processArtifact, unzipLocalMetadata, warnIfWrongMetaInfLayout
-
-
-
-
Method Detail
-
getDependencyScopes
protected java.util.List<java.lang.String> getDependencyScopes()
- Specified by:
getDependencyScopes
in classAbstractNativeMojo
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-