I\'m developing a web application with JSF 2.0 on the IDE Eclipse Indigo (the last version).
But on Project ->Properties -> Project Facets, the option J
This is an Eclipse quirk. See also Eclipse bug 201792 which is never been fixed.
The only way to change the JSF Facet version is by editing the following line of the /.settings/org.eclipse.wst.common.project.facet.core.xml
file
<installed facet="jst.jsf" version="1.2"/>
to
<installed facet="jst.jsf" version="2.0"/>
Other than that, you can also just ignore it altogether. Changing the version of that facet really doesn't do any new magic for you anyway. The final WAR build still contains the JSF 2.0 libs and if you have redeclared <faces-config>
root declaration of /WEB-INF/faces-config.xml
file to comply JSF 2.0, then there should be no problems. If you still encounter problems with using Facelets (XHTML files, as you say yourself), then you should ask a new and more specific question about that here.