Package org.graalvm.buildtools.maven
Class DeprecatedNativeBuildMojo
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.DeprecatedNativeBuildMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Deprecated
@Mojo(name="build",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME,
requiresDependencyCollection=RUNTIME)
public class DeprecatedNativeBuildMojo
extends NativeCompileNoForkMojo
Deprecated.
Mojo used to invoke native image building by attaching it to a phase.
Deprecated in favor of compile-no-fork goal.
-
Field Summary
Fields inherited from class org.graalvm.buildtools.maven.NativeCompileNoForkMojo
AUGMENTED_SBOM_PARAM_NAMEFields inherited from class org.graalvm.buildtools.maven.AbstractNativeImageMojo
agentResourceDirectory, buildArgs, classesDirectory, classpath, configFiles, debug, defaultClassesDirectory, dryRun, environment, excludeConfig, exclusions, fallback, imageClasspath, imageName, jvmArgs, mainClass, mojoExecution, NATIVE_IMAGE_DRY_RUN, NATIVE_IMAGE_META_INF, NATIVE_IMAGE_PROPERTIES_FILENAME, outputDirectory, plugin, pluginArtifacts, quickBuild, requiredVersion, resourcesConfigDirectory, runtimeArgs, session, sharedLibrary, systemProperties, toolchainManager, useArgFile, verboseFields inherited from class org.graalvm.buildtools.maven.AbstractNativeMojo
logger, mavenProject, mavenSession, metadataRepository, metadataRepositoryConfiguration, metadataRepositoryConfigurations, metadataRepositoryInitialBackoffMillis, metadataRepositoryMaxRetries, pluginManager, project, reachabilityMetadataOutputDirectory, repositorySystemFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.graalvm.buildtools.maven.NativeCompileNoForkMojo
getDependencyScopesMethods inherited from class org.graalvm.buildtools.maven.AbstractNativeImageMojo
addArtifactToClasspath, addDependenciesToClasspath, addInferredDependenciesToClasspath, buildImage, checkRequiredVersionIfNeeded, getBuildArgs, getClasspath, getMainBuildPath, getVersionInformation, isExcluded, isOracleGraalVM, maybeAddDependencyMetadata, maybeAddGeneratedResourcesConfig, maybeAddReachabilityMetadata, populateApplicationClasspath, populateClasspath, processArtifact, processSupportedArtifacts, warnIfWrongMetaInfLayoutMethods inherited from class org.graalvm.buildtools.maven.AbstractNativeMojo
configureMetadataRepository, downloadMetadata, getMetadataVersion, isArtifactExcludedFromMetadataRepository, isMetadataRepositoryEnabled, unzipLocalMetadataMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
DeprecatedNativeBuildMojo
public DeprecatedNativeBuildMojo()Deprecated.
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionExceptionDeprecated.- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Overrides:
executein classNativeCompileNoForkMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-