title: maven - Failed to execute cargo:start
body: <p>I'm trying to configure <code>cargo</code> automatic deployment in my servlet project and I have these in <code>pom.xml</code> file:</p>
  
  <pre><code>    &lt;dependency&gt;
        &lt;groupId&gt;org.codehaus.cargo&lt;/groupId&gt;
        &lt;artifactId&gt;cargo-core-api-module&lt;/artifactId&gt;
        &lt;version&gt;1.4.3&lt;/version&gt;
      &lt;/dependency&gt;
       &lt;!--
       &lt;dependency&gt;
         &lt;groupId&gt;org.codehaus.cargo&lt;/groupId&gt;
         &lt;artifactId&gt;cargo-core-container-tomcat&lt;/artifactId&gt;
         &lt;version&gt;1.4.2-SNAPSHOT&lt;/version&gt;
      &lt;/dependency&gt;
          --&gt;     
      &lt;dependency&gt;         
          &lt;groupId&gt;org.codehaus.cargo&lt;/groupId&gt;
          &lt;artifactId&gt;cargo-maven2-plugin&lt;/artifactId&gt;
          &lt;version&gt;1.4.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;build&gt;
       &lt;plugins&gt;
         &lt;!-- cargo plugin  --&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.cargo&lt;/groupId&gt;
      &lt;artifactId&gt;cargo-maven2-plugin&lt;/artifactId&gt;
      &lt;configuration&gt;
          &lt;container&gt;
              &lt;containerId&gt;tomcat6x&lt;/containerId&gt;
              &lt;type&gt;remote&lt;/type&gt;
              &lt;systemProperties&gt;
                  &lt;cargo.jvmargs&gt;-XX:MaxPermSize=256M -Xmx1024m&lt;/cargo.jvmargs&gt;
              &lt;/systemProperties&gt;
          &lt;/container&gt;
          &lt;configuration&gt;
              &lt;type&gt;runtime&lt;/type&gt;
              &lt;properties&gt;
                  &lt;cargo.hostname&gt;${remote.hostname}&lt;/cargo.hostname&gt;
                  &lt;cargo.protocol&gt;${remote.protocol}&lt;/cargo.protocol&gt;
                  &lt;cargo.servlet.port&gt;9000&lt;/cargo.servlet.port&gt;
                  &lt;cargo.tomcat.manager.url&gt;http://localhost:9000/manager&lt;/cargo.tomcat.manager.url&gt;
                  &lt;cargo.remote.username&gt;user&lt;/cargo.remote.username&gt;
                  &lt;cargo.remote.password&gt;pass&lt;/cargo.remote.password&gt;
              &lt;/properties&gt;
          &lt;/configuration&gt;
          &lt;deployer&gt;
              &lt;type&gt;remote&lt;/type&gt;
              &lt;deployables&gt;
                  &lt;deployable&gt;
                      &lt;groupId&gt;${groupId}&lt;/groupId&gt;
                      &lt;artifactId&gt;${artifactId}&lt;/artifactId&gt;
                      &lt;type&gt;war&lt;/type&gt;
                      &lt;properties&gt;
                          &lt;context&gt;latest&lt;/context&gt;
                      &lt;/properties&gt;
                  &lt;/deployable&gt;
              &lt;/deployables&gt;
          &lt;/deployer&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  &lt;!-- End cargo plugin --&gt;
       &lt;/plugins&gt;
       &lt;build&gt;&gt;
  </code></pre>
  
  <p>When I try to start cargo via <code>mvn clean cargo:start</code> I get BUILD FAILURE:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.3:start (default-cli) on project my-app: Unable to parse configuration of mojo org.codehaus.cargo:cargo-maven2-plugin:1.4.3:start for parameter deployables: Cannot find 'deployables' in class org.codehaus.cargo.maven2.configuration.Deployer -&gt; [Help 1]
  </code></pre>
  
  <p>any idea? tnx.</p>