public class OpenLibertyGenerator extends JavaExecGenerator
JavaExecGenerator.Config| Modifier and Type | Field and Description |
|---|---|
protected static String |
JAVA_APP_JAR |
protected static String |
LIBERTY_RUNNABLE_JAR |
protected static String |
LIBERTY_SELF_EXTRACTOR |
FABRIC8_GENERATOR_ALIAS, FABRIC8_GENERATOR_FROM, FABRIC8_GENERATOR_FROM_MODE, FABRIC8_GENERATOR_NAME, FABRIC8_GENERATOR_REGISTRY, log| Constructor and Description |
|---|
OpenLibertyGenerator(GeneratorContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAssembly(io.fabric8.maven.docker.config.AssemblyConfiguration.Builder builder) |
protected io.fabric8.maven.docker.config.AssemblyConfiguration |
createAssembly() |
protected List<String> |
extractPorts() |
protected Map<String,String> |
getEnv(boolean prePackagePhase) |
boolean |
isApplicable(List<io.fabric8.maven.docker.config.ImageConfiguration> configs) |
addPortIfValid, customize, detectFatJar, getExtraJavaOptions, hasMainClass, isFatJaraddFrom, addLatestTagIfSnapshot, getAlias, getConfig, getConfig, getConfigWithFallback, getContext, getFromAsConfigured, getImageName, getName, getProject, getRegistry, shouldAddImageConfigurationprotected static final String LIBERTY_SELF_EXTRACTOR
protected static final String LIBERTY_RUNNABLE_JAR
protected static final String JAVA_APP_JAR
public OpenLibertyGenerator(GeneratorContext context)
public boolean isApplicable(List<io.fabric8.maven.docker.config.ImageConfiguration> configs)
isApplicable in interface GeneratorisApplicable in class JavaExecGeneratorprotected List<String> extractPorts()
extractPorts in class JavaExecGeneratorprotected Map<String,String> getEnv(boolean prePackagePhase) throws org.apache.maven.plugin.MojoExecutionException
getEnv in class JavaExecGeneratororg.apache.maven.plugin.MojoExecutionExceptionprotected io.fabric8.maven.docker.config.AssemblyConfiguration createAssembly()
throws org.apache.maven.plugin.MojoExecutionException
createAssembly in class JavaExecGeneratororg.apache.maven.plugin.MojoExecutionExceptionprotected void addAssembly(io.fabric8.maven.docker.config.AssemblyConfiguration.Builder builder)
throws org.apache.maven.plugin.MojoExecutionException
addAssembly in class JavaExecGeneratororg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2022. All rights reserved.