What do you mean about not actually working? One thing to note is that you don't actually have to include any api libraries, or jsf libraries to WEB-INF/lib as they are added automatically for you, see https://docs.jboss.org/author/display/AS7/Implicit+module+dependencies+for+deployments
What I meant to say is that the app is deployed without errors but when I access the URL, it's not deployed at all (I get 404 error).
I noticed that jboss as 7 has a main javax.faces.api (jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar) but on this project I'm using mojarra 2.0.6.
I belive the question is how can I use jsf jars that are on my project and ignore the one on jboss as 7, is that correct?
I've just read this discussion (http://community.jboss.org/thread/169432) and it seems that it is not possible to change mojarra's version on jboss as 7? Too bad.
Gonna try jboss as 6 anyway while I don't have any solution.
I've written an article on how to use AS7, maven and IntelliJ together to develop a JSF project:
Create a project using Maven
Add JSF into project
Add JBoss AS 7 deploy plugin into project
Deploy project to JBoss AS 7
Import project into IntelliJ
Add IntelliJ JSF support to project
Add JBoss AS7 to IntelliJ
Debugging project with IntelliJ and AS7
Wish it could be useful.
You'll have to set this property to true to give JBossAS a hint to use your provided libs in favor of the AS onces.