@Override
public List<String> getEffectiveFacesServletMappings()
{
List<String> results = new ArrayList<String>();
ServletFacet facet = project.getFacet(ServletFacet.class);
WebAppDescriptor webXml = facet.getConfig();
// TODO should probably take into account facelets view mappings
// facelets.VIEW_MAPPINGS
if (webXml.hasFacesServlet())
{
results.addAll(getExplicitFacesServletMappings(webXml));
}
else
{
if (webXml.getVersion().startsWith("3"))
{
results.add("*.jsf");
results.add("/faces/*");
}
else