Description of problem:
When adding CDI maven dependency to a project, CDI Facet is not checked in Project Facets
Steps to Reproduce
1. Create a new web project and set wildfly 27 runtime
2. Right click on the project -> configure -> Convert to maven project
3. Convert to maven dependencies window shows up -> leave the "Delete original references from project" checkbox unchecked -> finishas
4. Right click on the project -> Maven -> Add dependency ->
Group ID = javax.enterprise
Artifact ID = cdi-api
Version = 2.0 or 2.1
-> Click OK
5. Right click project -> Maven -> Update project -> Leave force update unchecked -> OK
6. Right click project -> properties -> Project Facets
Actual results:
CDI Facet is unchecked
Expected results:
CDI Facet should be checked