code: public File createDockerBuildArchive(ImageConfiguration imageConfig, MojoParameters params)
              throws MojoExecutionException {
          return createDockerBuildArchive(imageConfig, params, null);
      }
docs: Create the tar file container the source for building an image. This tar can be used directly for
  uploading to a Docker daemon for creating the image
  
  @param imageConfig the image configuration
  @param params mojo params for the project
  @return file for holding the sources
  @throws MojoExecutionException if during creation of the tar an error occurs.