I am new to IntelliJ and used to Eclipse behaviour. I am fine with Java and just getting into Java EE. When using JBoss AS 7 as the app server, under the Project > External Libraries > JBoss 7.1.1.Final node, there are only three libraries. jboss-ejb-api, jboss-jsp-api, and jboss-servlet-api. When I add a facet, such as CDI, Intellij wants to download and put it in the lib folder of the project. I thought the point of using a Java EE compliant server was that it provided implementations to all the specs. But Intellij doesn't use any of the jars in jboss-home/modules folder. I've done a lot of googling and reading. I know AS 7 has a new class/module loading mechanism and can include the dependencies at deploy time, but nothing works in intellij during development.
I'm good at figuring out details normally but I just don't have as much time as I used to and I'm very curious about this.
what is the correct way to use JBoss with Intellij and have it use the EE 6 implementations that JBoss provides without having to have Intellij download them into the projects lib directory? I feel like I'm missing something obvious or simple here.
Thanks for your time,