title: How to configure maven cargo to download deploy Wildfly 10 and add a test user?
body: <p>I found this setting on maven cargo:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;inherited&gt;false&lt;/inherited&gt;
      &lt;groupId&gt;org.codehaus.cargo&lt;/groupId&gt;
      &lt;artifactId&gt;cargo-maven3-plugin&lt;/artifactId&gt;
      &lt;configuration&gt;
          &lt;container&gt;
              &lt;containerId&gt;wildfly10x&lt;/containerId&gt;
              &lt;zipUrlInstaller&gt;
                  &lt;url&gt;http://download.jboss.org/wildfly/10.1.0.Final/wildfly-10.1.0.Final.zip&lt;/url&gt;
                  &lt;downloadDir&gt;${project.basedir}/.cargo/downloads&lt;/downloadDir&gt;
                  &lt;extractDir&gt;${project.basedir}
                      /.cargo/extracts&lt;/extractDir&gt;
              &lt;/zipUrlInstaller&gt;
          &lt;/container&gt;
      &lt;/configuration&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;id&gt;install-cargo&lt;/id&gt;
              &lt;phase&gt;process-test-resources&lt;/phase&gt;
              &lt;goals&gt;
                  &lt;goal&gt;install&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>But this does not seem to work.</p>
  
  <p>Can anyone provide me the correct configuration.</p>
  
  <p>Also I want to add a user. How to do that?</p>