OpenLiberty / liberty-arquillian

Arquillian Liberty Managed and Remote containers
Apache License 2.0
11 stars 29 forks source link

Set explicit beans.xml scanning mode #135

Closed benjamin-confino closed 11 months ago

benjamin-confino commented 11 months ago

Setting an explicit scanning mode will make behaviour consistent across all versions of CDI.

Short description of what this resolves: The CDI 4.0 spec introduces a breaking change: An empty beans.xml fie is now treated as scanning mode annotated instead of mode all. This causes a problem because this plugin needs scanning mode all.

Changes proposed in this pull request: Replace every empty beans.xml file with one that explicitly declares a scanning mode of all

Fixes: # 134 (though other fixes may be required to fully resolve the issue)

benjamin-confino commented 11 months ago

Speaking to Andrew we will not be delivering this PR.