You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arshad Mahmood (JIRA)" <ji...@codehaus.org> on 2008/12/28 00:56:20 UTC

[jira] Created: (MNG-3945) The cargo-maven2-plugin uberwar war merging functionality adds spurious xmlns="" entries to all attributes in the merged web.xml

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