Uploaded image for project: 'JBoss WFK 2'
  1. JBoss WFK 2
  2. WFK2-776

Warning "Missing beans.xml file" in the quickstarts' ftest projects in JBDS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.7.0.ER1
    • Fix Version/s: 2.7.0.ER2
    • Component/s: None
    • Labels:

      Description

      When some of the quickstart's ftest projects is imported into JBDS, the warning:

      Missing beans.xml file in the project .... This file is required for bean archives [JSR-299 ยง12.1]

      will appear. This is because the ftest projects have a transitive dependency on CDI and therefore the JBDS thinks that it is a CDI project and requires the beans.xml file.
      The present of the beans.xml file is not FMPOV suitable - it is not a CDI project, so a suggest to disable automatic CDI configuration via this pom property:

      <m2e.cdi.activation>false</m2e.cdi.activation>
      

      which will cause that the warning won't be displayed.

        Attachments

          Activity

            People

            Assignee:
            manaRH Marek Novotny
            Reporter:
            mjobanek Matous Jobanek
            Tester:
            Matous Jobanek Matous Jobanek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: