public interface Generator extends Named
ImageConfiguration
on the fly by examining the build pom.xmlModifier and Type | Method and Description |
---|---|
List<io.fabric8.maven.docker.config.ImageConfiguration> |
customize(List<io.fabric8.maven.docker.config.ImageConfiguration> existingConfigs,
boolean prePackagePhase)
Provide additional image configurations.
|
boolean |
isApplicable(List<io.fabric8.maven.docker.config.ImageConfiguration> configs)
Check whether this generator should kick in.
|
boolean isApplicable(List<io.fabric8.maven.docker.config.ImageConfiguration> configs) throws org.apache.maven.plugin.MojoExecutionException
configs
- all configuration already availableorg.apache.maven.plugin.MojoExecutionException
List<io.fabric8.maven.docker.config.ImageConfiguration> customize(List<io.fabric8.maven.docker.config.ImageConfiguration> existingConfigs, boolean prePackagePhase) throws org.apache.maven.plugin.MojoExecutionException
existingConfigs
- the already detected and resolved configurationprePackagePhase
- if true this is called in a prepackage phase where no artifacts has been packaged in target/.org.apache.maven.plugin.MojoExecutionException
Copyright © 2021. All rights reserved.