Package io.micronaut.build
Class DockerMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- io.micronaut.build.AbstractDockerMojo
-
- io.micronaut.build.DockerMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="docker", requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class DockerMojo extends AbstractDockerMojo
Allows using a provided Dockerfile.
WARNING: this goal is not intended to be executed directly. Instead, specify the packaging type using the
packaging
property, eg:mvn package -Dpackaging=docker
- Since:
- 1.1
- Author:
- Álvaro Sánchez-Mariscal
-
-
Field Summary
Fields Modifier and Type Field Description static String
DOCKER_PACKAGING
-
Fields inherited from class io.micronaut.build.AbstractDockerMojo
appArguments, applicationConfigurationService, dockerService, jibConfigurationService, mainClass, mavenProject, micronautRuntime, nativeImageBuildArgs, staticNativeImage
-
-
Constructor Summary
Constructors Constructor Description DockerMojo(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_PACKAGING
public static final String DOCKER_PACKAGING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DockerMojo
@Inject public DockerMojo(org.apache.maven.project.MavenProject mavenProject, JibConfigurationService jibConfigurationService, ApplicationConfigurationService applicationConfigurationService, DockerService dockerService)
-
-