-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
None
The behaviour changed for synthetic bean archives in 2.4.4.Final and 3.0.1.Final with WELD-2386. The previous behaviour was like an explicit bean archive with bean-discovery-mode="all". This changed to behave like bean-discovery-mode="annotated". We need to be able to test cases where we cannot force the defining annotation to e.g. all beans in specific packages.
A solution could be to overload / add a parameter to the method / annotation to allow to switch to the old behaviour of bean-discovery-mode="all".