public class VertxGenerator extends JavaExecGenerator
Then main part of creating the base image is taken java-exec generator.
In addition this generator here adds an appropriate healthcheck when vertx-dropwizard-metrics is given as a dependency (TODO)
JavaExecGenerator.Configlog| Constructor and Description |
|---|
VertxGenerator(GeneratorContext context) |
| Modifier and Type | Method and Description |
|---|---|
List<io.fabric8.maven.docker.config.ImageConfiguration> |
customize(List<io.fabric8.maven.docker.config.ImageConfiguration> configs,
boolean isPrePackagePhase) |
protected Map<String,String> |
getEnv(boolean isPrePackagePhase) |
boolean |
isApplicable(List<io.fabric8.maven.docker.config.ImageConfiguration> configs) |
protected boolean |
isFatJar() |
addAssembly, createAssembly, detectFatJar, extractPorts, 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 Map<String,String> getEnv(boolean isPrePackagePhase) throws org.apache.maven.plugin.MojoExecutionException
getEnv in class JavaExecGeneratororg.apache.maven.plugin.MojoExecutionExceptionprotected boolean isFatJar()
throws org.apache.maven.plugin.MojoExecutionException
isFatJar in class JavaExecGeneratororg.apache.maven.plugin.MojoExecutionExceptionpublic List<io.fabric8.maven.docker.config.ImageConfiguration> customize(List<io.fabric8.maven.docker.config.ImageConfiguration> configs, boolean isPrePackagePhase) throws org.apache.maven.plugin.MojoExecutionException
customize in interface Generatorcustomize in class JavaExecGeneratororg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2016. All rights reserved.