Package io.micronaut.maven
Class DockerPushMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.micronaut.maven.AbstractMicronautMojo
io.micronaut.maven.AbstractDockerMojo
io.micronaut.maven.DockerPushMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
Implementation of the deploy
lifecycle for pushing Docker images
WARNING: this goal is not intended to be executed directly. Instead, Execute the deploy
phase specifying the packaging type, eg:
mvn deploy -Dpackaging=docker-native
- Since:
- 1.1
- Author:
- Álvaro Sánchez-Mariscal
-
Field Summary
Fields inherited from class io.micronaut.maven.AbstractDockerMojo
appArguments, applicationConfigurationService, ARM_ARCH, baseImageRun, DEFAULT_BASE_IMAGE_GRAALVM_RUN, DEFAULT_ORACLE_LINUX_VERSION, dockerService, expressionEvaluator, GDS_DOWNLOAD_URL, jibConfigurationService, LATEST_TAG, mainClass, mavenProject, micronautRuntime, MOSTLY_STATIC_NATIVE_IMAGE_GRAALVM_FLAG, nativeImageBuildArgs, networkMode, ORACLE_CLOUD_FUNCTION_DEFAULT_CMD, oracleLinuxVersion, staticNativeImage, X86_64_ARCH
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
ConstructorDescriptionDockerPushMojo
(org.apache.maven.project.MavenProject mavenProject, JibConfigurationService jibConfigurationService, ApplicationConfigurationService applicationConfigurationService, DockerService dockerService, org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.plugin.MojoExecution mojoExecution) -
Method Summary
Methods inherited from class io.micronaut.maven.AbstractDockerMojo
copyDependencies, getBaseImage, getCmd, getFrom, getFromImage, getNetworkMode, getPorts, getTags, graalVmArch, graalVmDownloadUrl, graalVmJvmVersion, isArm, javaVersion, oracleCloudFunctionCmd
Methods inherited from class io.micronaut.maven.AbstractMicronautMojo
setLog
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setPluginContext
-
Constructor Details
-
DockerPushMojo
@Inject public DockerPushMojo(org.apache.maven.project.MavenProject mavenProject, JibConfigurationService jibConfigurationService, ApplicationConfigurationService applicationConfigurationService, DockerService dockerService, org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.plugin.MojoExecution mojoExecution)
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-