Class SingleImageBuildConfiguration

    • Constructor Detail

      • SingleImageBuildConfiguration

        public SingleImageBuildConfiguration()
        Constructor
    • Method Detail

      • validate

        public void validate​(org.apache.maven.project.MavenProject project,
                             org.apache.maven.plugin.logging.Log log,
                             boolean failOnMissingContainerfile)
                      throws org.apache.maven.plugin.MojoExecutionException
        Validates this class by giving all null properties a default value.
        Parameters:
        project - The MavenProject used to derive some of the default values from.
        log - Access to Maven's log system for writing errors
        failOnMissingContainerfile - Whether an exception should be thrown if no Containerfile is found
        Throws:
        org.apache.maven.plugin.MojoExecutionException - In case there is no Containerfile at the specified source location or the Containerfile is empty
      • getSourceContainerFileDir

        public Path getSourceContainerFileDir()
        Returns the directory containing the original raw Containerfile
        Returns:
        A File object referencing the location of the Containerfile