Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-29039

Maven does not enable CDI facet when DCI dependency is added

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.29.1.Final
    • 4.28.0.Final
    • maven
    • None
    • ---

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-lgrossma Lukáš Grossmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: