title: maven cargo deploy to war file fails to deploy as part of teamcity
body: <p>The same deployment works correctly on windows, and on linux - but using teamcity and its built in maven I get an error.  Local deploys, and the error  is :</p>
  
  <blockquote>
    <p>the container configuration directory
    "/BuildAgent/work/68d4a71c8dc5cfd9/target/cargo/configurations/tomcat8x"
    does not exist. Please configure the container before attempting to
    perform any local deployment.</p>
  </blockquote>
  
  <p>The relevant section of pom looks like this :</p>
  
  <pre><code> &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.cargo&lt;/groupId&gt;
                  &lt;artifactId&gt;cargo-maven2-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.4.8&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;container&gt;
                          &lt;containerId&gt;tomcat8x&lt;/containerId&gt;
                          &lt;home&gt;${env.CATALINA_HOME}&lt;/home&gt;
                      &lt;/container&gt;
                      &lt;configuration&gt;
                          &lt;type&gt;existing&lt;/type&gt;
                          &lt;home&gt;${env.CATALINA_HOME}&lt;/home&gt;
                      &lt;/configuration&gt;
                      &lt;deployables&gt;
                          &lt;deployable&gt;
                              &lt;groupId&gt;com.myapp&lt;/groupId&gt;
                              &lt;artifactId&gt;ROOT&lt;/artifactId&gt;
                              &lt;type&gt;war&lt;/type&gt;
                              &lt;properties&gt;
                                  &lt;context&gt;${project.build.finalName}&lt;/context&gt;
                              &lt;/properties&gt;
                          &lt;/deployable&gt;
                      &lt;/deployables&gt;
                      &lt;deployer&gt;
                          &lt;type&gt;installed&lt;/type&gt;
                      &lt;/deployer&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>Have I missed a section of the pom that is required for ubuntu ? Does teamcity do something different to vanilla maven ? I am using same version of maven in both environments. </p>