2 Replies Latest reply on Jun 13, 2013 9:51 AM by Dirk Weil

    Scan of implicit bean archives in Weld SE

    Dirk Weil Newbie

      CDI 1.1 allows JARs to be bean archives even if they have no beans.xml, but if they are referenced by another bean archive. This works fine within an EE container (I checked GlassFish 4 with Weld 2.0.0.SP1). But when I try the same in a SE environment (unit test), JARs without beans.xml but in the classpath seem to be not scanned - at least the beans therein are not discovered, although they are annotated. Is this a bug or an expected behavior? If so, is there an option (like some system property) to enable scanning of those JARs?

       

      Thanks in advance

      Dirk