title: Problem with merging WARs using uberwar (cargo-maven2-plugin)
body: <p>I've just started using cargo-maven2-plugin to merge WAR artifacts during build process and I encountered problem with uberwar mojo.
  Merging works fine but resulting web.xml file contains extra "xmlns" attributes that cause error when deploying on Jboss.</p>
  
  <p>For example original context-param element looks like this:</p>
  
  <pre><code>&lt;context-param&gt;
    &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
    &lt;param-value&gt;/WEB-INF/config/web-application-config.xml&lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>
  
  <p>and after merging it has extra "xmlns" attribute:</p>
  
  <pre><code>&lt;context-param xmlns=""&gt;
    &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
    &lt;param-value&gt;/WEB-INF/config/web-application-config.xml&lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>
  
  <p>I have found the following Jira issue but suggested solution is not clear to me:
  <a href="http://jira.codehaus.org/browse/CARGO-639" rel="nofollow">http://jira.codehaus.org/browse/CARGO-639</a></p>
  
  <p>Anybody faced similar problem and could share the solution?
  If you use other tools (that work) to merge WARs please let me know.</p>
  
  <p>My configuration is:
  Mac OS X</p>
  
  <p>Java 1.6</p>
  
  <p>Maven 2.1</p>
  
  <p>cargo-maven2-plugin 1.1.0-SNAPSHOT</p>
  
  <p>Servlets spec 2.5 (web.xml)</p>