Package io.micronaut.maven.jib
Class JibMicronautExtension
java.lang.Object
io.micronaut.maven.jib.JibMicronautExtension
- All Implemented Interfaces:
com.google.cloud.tools.jib.maven.extension.JibMavenPluginExtension<Void>
,com.google.cloud.tools.jib.plugins.extension.JibPluginExtension
public class JibMicronautExtension
extends Object
implements com.google.cloud.tools.jib.maven.extension.JibMavenPluginExtension<Void>
Jib extension to support building Docker images.
- Since:
- 1.1
- Author:
- Álvaro Sánchez-Mariscal
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
determineBaseImage
(String jdkVersion, DockerBuildStrategy buildStrategy) static String
determineProjectFnVersion
(String javaVersion) com.google.cloud.tools.jib.api.buildplan.ContainerBuildPlan
extendContainerBuildPlan
(com.google.cloud.tools.jib.api.buildplan.ContainerBuildPlan buildPlan, Map<String, String> properties, Optional<Void> extraConfig, com.google.cloud.tools.jib.maven.extension.MavenData mavenData, com.google.cloud.tools.jib.plugins.extension.ExtensionLogger logger) static String
getJdkVersion
(org.apache.maven.project.MavenProject project)
-
Field Details
-
DEFAULT_JAVA17_BASE_IMAGE
- See Also:
-
DEFAULT_JAVA21_BASE_IMAGE
- See Also:
-
-
Constructor Details
-
JibMicronautExtension
public JibMicronautExtension()
-
-
Method Details
-
getExtraConfigType
- Specified by:
getExtraConfigType
in interfacecom.google.cloud.tools.jib.maven.extension.JibMavenPluginExtension<Void>
-
extendContainerBuildPlan
public com.google.cloud.tools.jib.api.buildplan.ContainerBuildPlan extendContainerBuildPlan(com.google.cloud.tools.jib.api.buildplan.ContainerBuildPlan buildPlan, Map<String, String> properties, Optional<Void> extraConfig, com.google.cloud.tools.jib.maven.extension.MavenData mavenData, com.google.cloud.tools.jib.plugins.extension.ExtensionLogger logger) - Specified by:
extendContainerBuildPlan
in interfacecom.google.cloud.tools.jib.maven.extension.JibMavenPluginExtension<Void>
-
buildProjectFnEntrypoint
-
determineProjectFnVersion
-
determineBaseImage
-
getJdkVersion
-