-
Bug
-
Resolution: Done
-
Major
-
4.0.0.CR1
-
- create a maven war project
- create a src/main/webapp/WEB-INF/beans.xml file
- update maven project configuration
- ASSERT CDI Facet is installed <-- FAIL
Testing Adam Bien's slidegenerator example in JBDS 6, I noticed the CDI Facet is not applied automatically, yet CDI classes are present in the javax:javaee-web-api:6.0 dependency.
The CDI configurator basically uses a hardcoded list of known CDI dependencies. It should behave more like the JAX-RS and JSF configurators, where the project classpath is searched for known CDI classes/methods.