title: maven cargo plugin configuration for Jboss as 7.1.0
body: <p>I am trying to configure the maven cargo plugin for deployment on existing jboss 7.1.0 on my local machine. I am able to start the server by
  mvn cargo :run command. It is using the jboss-modules.jar to start the server. I want to configure it in such a way that it executes the standalone.bat inside the bin to start the server. I have my datasource configured in standalone.conf.bat and hence I need to execute the standalone.bat to start and deploy the war.. My configuration 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.1.2&lt;/version&gt;
          &lt;configuration&gt;
          &lt;wait&gt;true&lt;/wait&gt;
              &lt;container&gt;
                   &lt;containerId&gt;jboss7x&lt;/containerId&gt;
                   &lt;home&gt;C:/jboss-as-7.1.0.Final/&lt;/home&gt;
  
              &lt;/container&gt;
                &lt;configuration&gt;
                  &lt;type&gt;existing&lt;/type&gt;
  
                  &lt;home&gt;C:/jboss-as-7.1.0.Final/standalone&lt;/home&gt;
                &lt;/configuration&gt;
           &lt;/configuration&gt;
  </code></pre>
  
  <p>Is there any property in cargo configuration to set to call the standalone.bat to start the server?</p>
  
  <p>Thanks,</p>