title: Where is Cargo generating context XML for Jetty 6.x?
body: <p>I am trying to implement the solution mentioned in <a href="https://stackoverflow.com/questions/4039655/how-to-specify-jetty-env-xml-file-for-maven-cargo-plugin-for-jetty">How to specify jetty-env.xml file for Maven Cargo plugin for Jetty?</a></p>
  
  <p>However I am facing something even more fundamental: My Cargo is simply not generating any context xml.</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.2.1&lt;/version&gt;
      &lt;configuration&gt;
          &lt;!-- Container configuration --&gt;
          &lt;container&gt;
              &lt;containerId&gt;jetty6x&lt;/containerId&gt;
              &lt;type&gt;embedded&lt;/type&gt;
          &lt;/container&gt;
          &lt;!-- Configuration to use with the container or the deployer --&gt;
          &lt;configuration&gt;
              &lt;properties&gt;
                  &lt;cargo.servlet.port&gt;${itest.webapp.port}&lt;/cargo.servlet.port&gt;
                  &lt;cargo.jetty.createContextXml&gt;true&lt;/cargo.jetty.createContextXml&gt;
              &lt;/properties&gt;
              &lt;deployables&gt;
                  &lt;deployable&gt;
                      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
                      &lt;artifactId&gt;myApp-web&lt;/artifactId&gt;
                      &lt;type&gt;war&lt;/type&gt;
                      &lt;properties&gt;
                          &lt;context&gt;/myApp&lt;/context&gt;
                      &lt;/properties&gt;
                  &lt;/deployable&gt;
              &lt;/deployables&gt;
  &lt;!--
              &lt;configfiles&gt;
                  &lt;configfile&gt;
                      &lt;file&gt;${project.build.outputDirectory}/jetty-env.xml&lt;/file&gt;
                      &lt;todir&gt;contexts&lt;/todir&gt;
                      &lt;tofile&gt;${jetty6.context}.xml&lt;/tofile&gt;
                  &lt;/configfile&gt;
              &lt;/configfiles&gt;
  --&gt;
          &lt;/configuration&gt;
      &lt;/configuration&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;id&gt;start-container&lt;/id&gt;
              &lt;phase&gt;pre-integration-test&lt;/phase&gt;
              &lt;goals&gt;
                  &lt;goal&gt;start&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
          &lt;execution&gt;
              &lt;id&gt;stop-container&lt;/id&gt;
              &lt;phase&gt;post-integration-test&lt;/phase&gt;
              &lt;goals&gt;
                  &lt;goal&gt;stop&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>The basic idea is, we are providing the a custom context.xml to replace the one generated.  However, when I am trying out, I cannot find any context XML generated by Cargo (Please note that I have remarked the custom config files, and with cargo.jetty.createContextXml being true)</p>
  
  <p>I am not sure if it is my problem in setting causing the context not generated, or the context is generated somewhere I overlooked.  I have checked under target/cargo/ and the temp directory that cargo expanded my WAR, neither place contains the context xml.</p>
  
  <p>(I am using Maven 2.2.1, Cargo 1.2.1, JDK 6)</p>