Uploaded image for project: 'JSFUnit'
  1. JSFUnit
  2. JSFUNIT-276

Fully remove all CDI dependencies

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

    Details

      Description

      In JSFUNIT-274, Aslak made the JSFUnit annotations independent of CDI. However, due to ARQ-405, we couldn't fully remove the CDI dependency.

      [08:15] <stansilvert> I just pulled down your commits. Are there any dependencies on CDI now?
      [08:15] <aslak> yea
      [08:16] <aslak> still support both types due to http://jira.jboss.org/jira/browse/ARQ-405
      [08:16] <aslak> the issue sis the CDIEnricher in Arq is a bit greedy, so it fails on Method Argument injection if it can't find the Beans
      [08:17] <aslak> and it won't when Arq is the one creating them
      [08:17] <aslak> so as a temp workaround, the CDI 'verison' will be added if the @Deployment contains a beans.xml. that way the JSFSession etc will be created by CDI and not Arq

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ssilvert Stan Silvert
              Reporter:
              ssilvert Stan Silvert
              Archiver:
              samahaja Sagar Mahajan

                Dates

                Created:
                Updated:
                Resolved:
                Archived: