public class VertxGenerator extends JavaExecGenerator
Then main part of creating the base image is taken java-exec generator.
It detects whether or not it's a Vert.x project by looking if there is the vertx-core dependency associated by the Maven Shader Plugin or if the project use the Vert.x Maven Plugin. To avoid the issue to write file in the current working directory the `cacheDirBase` is configured to `/tmp`.
JavaExecGenerator.Configlog| Constructor and Description |
|---|
VertxGenerator(GeneratorContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
extractPorts() |
protected List<String> |
getExtraJavaOptions() |
boolean |
isApplicable(List<io.fabric8.maven.docker.config.ImageConfiguration> configs) |
protected boolean |
isFatJar() |
addAssembly, addPortIfValid, createAssembly, customize, detectFatJar, getEnv, hasMainClassaddLatestTagIfSnapshot, getAlias, getConfig, getConfig, getConfig, getContext, getFrom, getImageName, getName, getProject, shouldAddImageConfigurationpublic VertxGenerator(GeneratorContext context)
public boolean isApplicable(List<io.fabric8.maven.docker.config.ImageConfiguration> configs) throws org.apache.maven.plugin.MojoExecutionException
isApplicable in interface GeneratorisApplicable in class JavaExecGeneratororg.apache.maven.plugin.MojoExecutionExceptionprotected List<String> getExtraJavaOptions()
getExtraJavaOptions in class JavaExecGeneratorprotected boolean isFatJar()
throws org.apache.maven.plugin.MojoExecutionException
isFatJar in class JavaExecGeneratororg.apache.maven.plugin.MojoExecutionExceptionprotected List<String> extractPorts()
extractPorts in class JavaExecGeneratorCopyright © 2017. All rights reserved.