Reputation: 4034
Eclipse insists on enabling the JSF facet in my project. I can disable it easily enough, but when I run a Maven -> Update Project through Eclipse, the facet (and the associated WEB-INF/faces-config.xml
file) returns. I'm not referencing JSF in my POM, and there are no JSF jars in my classpath so...
Why is Eclipse adding the JSF Facet?
Upvotes: 2
Views: 2912
Reputation: 7485
This may be caused by (a) the Maven plugin or (b) JBoss Tools plugins.
For (a) try to:
uncheck "JSF Configurator" under
Preferences > Maven > Java EE Integration
remove the following line from your .project
file:
<nature>org.jboss.tools.jsf.jsfnature</nature>
update the Maven project with Alt+F5 and
check the .project
file again.
Upvotes: 6