Everything is setup to be able to configure the location of the pages.xml file, except the property is not exposed. I feel this is both important for tests and allows users to put pages.xml on the classpath (i.e. META-INF/pages.xml) rather than in the web-specific WEB-INF directory.
It will be configured using:
The only limitation is that the ResourceLoader used only looks in the servlet life cycle classpath. That will need to be a separate enhancement.