I haven't looked into the code yet, but it looks like 1.2.3-SNAPSHOT
of the maven-faces-plugin is truncating the faces-config-base

I have the file "faces-impl/src/main/conf/META-INF/faces-config-base.xml"

In this file I have:

<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>

<faces-config xmlns="http://java.sun.com/xml/ns/javaee"; >
  <application>
    
<default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
  </application>
  <lifecycle>
    
<phase-listener>com.christws.faces.phase.ExpiredViewPhaseListener</phase-listener>
  </lifecycle>
  <component>
    <component-type>javax.faces.ViewRoot</component-type>
    
<component-class>com.christws.faces.component.view.UINavigableViewRoot</component-class>
  </component>
</faces-config>


The phase listener is included (lifecycle element), but not the view
root. I have tried other component tags, and they are all dropped. Is
the XML include filtered to only certain elements? Should I file a
bug, or am I missing something?

-Andrew

Reply via email to