The cargo-maven2-plugin uberwar war merging functionality adds spurious 
xmlns="" entries to all attributes in the merged web.xml
--------------------------------------------------------------------------------------------------------------------------------

                 Key: MNG-3945
                 URL: http://jira.codehaus.org/browse/MNG-3945
             Project: Maven 2
          Issue Type: Bug
          Components: Plugins and Lifecycle
         Environment: Windows Vista x64, apache-maven-2.0.9
            Reporter: Arshad Mahmood
            Priority: Blocker


I have a master war with a full web.xml and number of other wars with 
essentially empty web.xml files. Using the beta2 (and beta1) versions of the 
plugin the merged output is wrong.

e.g. the following is converted  from

        <!-- RICHFACES -->
        <context-param>
                <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
                <param-value>com.sun.facelets.FaceletViewHandler</param-value>
        </context-param>

to

  <context-param xmlns="">
    <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
    <param-value>com.sun.facelets.FaceletViewHandler</param-value>
  </context-param>

The xmlns="" is added to every tag in the generted web.xml.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to