title: Maven dockerfile plugin not able to tag the image
body: <p>I am trying to integrate maven dockerfile plugin with my project. I have multiple modules under my maven project. I have modified the <strong>pom.xml</strong> for the module I want to build and tag images as below. Running <code>mvn dockerfile:build</code> command builds a creates a <code>docker-info.jar</code> under the target folder. I am not sure where the images are being built and when I try to run the <code>mvn dockerfile:tag</code> command I see the below error.</p>
  
  <blockquote>
    <p>Failed to execute goal com.spotify:dockerfile-maven-plugin:1.4.4:tag
    (default-cli) on project drs-web: The parameters 'repository' for goal
    com.spotify:dockerfile-maven-plugin:1.4.4:tag are missing or invalid</p>
  </blockquote>
  
  <p>Pom.xml:</p>
  
  <pre class="lang-xml prettyprint-override"><code>    &lt;plugin&gt;
                  &lt;groupId&gt;com.spotify&lt;/groupId&gt;
                  &lt;artifactId&gt;dockerfile-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;${docker.maven.plugin.version}&lt;/version&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;id&gt;build&lt;/id&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;build&lt;/goal&gt;
                              &lt;/goals&gt;
                              &lt;configuration&gt;
                                  &lt;buildArgs&gt;
                                      &lt;WAR_FILE&gt;${project.build.finalName}.war&lt;/WAR_FILE&gt;
                                  &lt;/buildArgs&gt;
                              &lt;/configuration&gt;
                          &lt;/execution&gt;
                          &lt;execution&gt;
                              &lt;id&gt;tag&lt;/id&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;tag&lt;/goal&gt;
                              &lt;/goals&gt;
                              &lt;configuration&gt;
                                  &lt;repository&gt;XXX/XXX-api&lt;/repository&gt;
                                  &lt;tag&gt;${project.version}&lt;/tag&gt;
                              &lt;/configuration&gt;
                          &lt;/execution&gt;
                      &lt;/executions&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>Dockerfile:</p>
  
  <pre><code>FROM tomcat:9.0.10-jre8-slim
  ENV CATALINA_HOME /usr/local/tomcat
  MAINTAINER XXX
  EXPOSE 8080
  ADD target/${WAR_FILE} ${CATALINA_HOME}/webapps/XXX-api.war
  </code></pre>