private void processImageConfig(ServiceHub hub, ImageConfiguration aImageConfig) throws IOException, MojoExecutionException {
        BuildImageConfiguration buildConfig = aImageConfig.getBuildConfiguration();

        if (buildConfig != null) {
            if (buildConfig.skip() || shouldSkipPom()) {
                log.info("%s : Skipped building", aImageConfig.getDescription());
            } else {
                buildAndTag(hub, aImageConfig);
            }
        }
    }
Helper method to process an ImageConfiguration.

@param hub ServiceHub
@param aImageConfig ImageConfiguration that would be forwarded to build and tag
@throws DockerAccessException
@throws MojoExecutionException
src/main/java/io/fabric8/maven/docker/BuildMojo.java