Package org.graalvm.buildtools.maven
Class NativeCompileMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.graalvm.buildtools.maven.AbstractNativeMojo
-
- org.graalvm.buildtools.maven.AbstractNativeImageMojo
-
- org.graalvm.buildtools.maven.NativeCompileNoForkMojo
-
- org.graalvm.buildtools.maven.NativeCompileMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="compile", defaultPhase=PACKAGE, requiresDependencyResolution=RUNTIME, requiresDependencyCollection=RUNTIME) @Execute(phase=PACKAGE) public class NativeCompileMojo extends NativeCompileNoForkMojo
This goal builds native images. It should be invoked from the command line as a single goal (`mvn native:compile`).
-
-
Field Summary
-
Fields inherited from class org.graalvm.buildtools.maven.NativeCompileNoForkMojo
AUGMENTED_SBOM_PARAM_NAME
-
Fields inherited from class org.graalvm.buildtools.maven.AbstractNativeImageMojo
agentResourceDirectory, buildArgs, classesDirectory, classpath, configFiles, debug, defaultClassesDirectory, dryRun, environment, excludeConfig, fallback, imageClasspath, imageName, jvmArgs, mainClass, mojoExecution, NATIVE_IMAGE_DRY_RUN, NATIVE_IMAGE_META_INF, NATIVE_IMAGE_PROPERTIES_FILENAME, outputDirectory, plugin, pluginArtifacts, quickBuild, requiredVersion, resourcesConfigDirectory, session, sharedLibrary, systemProperties, toolchainManager, useArgFile, verbose
-
Fields inherited from class org.graalvm.buildtools.maven.AbstractNativeMojo
logger, mavenProject, mavenSession, metadataRepository, metadataRepositoryConfiguration, metadataRepositoryConfigurations, metadataRepositoryInitialBackoffMillis, metadataRepositoryMaxRetries, pluginManager, project, reachabilityMetadataOutputDirectory, repositorySystem
-
-
Constructor Summary
Constructors Constructor Description NativeCompileMojo()
-
Method Summary
-
Methods inherited from class org.graalvm.buildtools.maven.NativeCompileNoForkMojo
execute, getDependencyScopes
-
Methods inherited from class org.graalvm.buildtools.maven.AbstractNativeImageMojo
addArtifactToClasspath, addDependenciesToClasspath, buildImage, checkRequiredVersionIfNeeded, getBuildArgs, getClasspath, getMainBuildPath, getVersionInformation, isOracleGraalVM, maybeAddGeneratedResourcesConfig, maybeAddReachabilityMetadata, populateApplicationClasspath, populateClasspath, processArtifact, processSupportedArtifacts, warnIfWrongMetaInfLayout
-
Methods inherited from class org.graalvm.buildtools.maven.AbstractNativeMojo
configureMetadataRepository, downloadMetadata, getMetadataVersion, isArtifactExcludedFromMetadataRepository, isMetadataRepositoryEnabled, maybeAddDependencyMetadata, unzipLocalMetadata
-
-