Package io.micronaut.build
Class DockerNativeMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- io.micronaut.build.AbstractDockerMojo
-
- io.micronaut.build.DockerNativeMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="docker-native", requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class DockerNativeMojo extends AbstractDockerMojo
Implementation of the
docker-native
packaging.WARNING: this goal is not intended to be executed directly. Instead, specify the packaging type using the
packaging
property, eg:mvn package -Dpackaging=docker-native
- Since:
- 1.1
- Author:
- Álvaro Sánchez-Mariscal
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_GRAAL_JVM_VERSION
static String
DOCKER_NATIVE_PACKAGING
-
Fields inherited from class io.micronaut.build.AbstractDockerMojo
appArguments, applicationConfigurationService, dockerService, jibConfigurationService, mainClass, mavenProject, micronautRuntime, nativeImageBuildArgs, staticNativeImage
-
-
Constructor Summary
Constructors Constructor Description DockerNativeMojo(org.apache.maven.project.MavenProject mavenProject, JibConfigurationService jibConfigurationService, ApplicationConfigurationService applicationConfigurationService, DockerService dockerService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class io.micronaut.build.AbstractDockerMojo
copyDependencies, getCmd, getFrom, getPort, getTags, graalVmJvmVersion, graalVmVersion, javaVersion
-
-
-
-
Field Detail
-
DOCKER_NATIVE_PACKAGING
public static final String DOCKER_NATIVE_PACKAGING
- See Also:
- Constant Field Values
-
DEFAULT_GRAAL_JVM_VERSION
public static final String DEFAULT_GRAAL_JVM_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DockerNativeMojo
@Inject public DockerNativeMojo(org.apache.maven.project.MavenProject mavenProject, JibConfigurationService jibConfigurationService, ApplicationConfigurationService applicationConfigurationService, DockerService dockerService)
-
-