Class SingleImageConfiguration

    • Constructor Detail

      • SingleImageConfiguration

        public SingleImageConfiguration()
    • Method Detail

      • initAndValidate

        public void initAndValidate​(org.apache.maven.project.MavenProject mavenProject,
                                    org.apache.maven.plugin.logging.Log log,
                                    boolean failOnMissingContainerfile)
                             throws org.apache.maven.plugin.MojoExecutionException
        Initializes this configuration and fills any null values with default values.
        Parameters:
        mavenProject - The MavenProject to derive some of the values from
        log - The log for logging any errors that occur during validation
        failOnMissingContainerfile - Whether an exception should be thrown if no Containerfile is found
        Throws:
        org.apache.maven.plugin.MojoExecutionException - In case validation fails.