}
}
private void buildImage(ImageConfiguration imageConfig, DockerAccess dockerAccess)
throws DockerAccessException, MojoExecutionException {
MojoParameters params = new MojoParameters(session, project, archive, mavenFileFilter);
File dockerArchive = dockerArchiveCreator.create(params, imageConfig.getBuildConfiguration());
String imageName = getImageName(imageConfig.getName());
info("Creating image " + getImageDescription(imageName,imageConfig.getAlias()));
dockerAccess.buildImage(imageName, dockerArchive);
}