Skip to content

Commit

Permalink
Explicitly state that non-empty beans.xml in Lite needs to have versi…
Browse files Browse the repository at this point in the history
…on declared.
  • Loading branch information
manovotn committed Oct 26, 2021
1 parent 3201252 commit 0e44d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/src/main/asciidoc/core/packagingdeployment.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ is not a bean archive.
An _implicit bean archive_ is:

* an archive which contains a `beans.xml` file that is empty, or,
* an archive which contains a `beans.xml` file that has `bean-discovery-mode` attribute set to `annotated`
* an archive which contains a `beans.xml` file with version 4.0 (or later) that has `bean-discovery-mode` attribute set to `annotated`

Any other archive which contains a `beans.xml` file is not portable in {cdi_lite}.
More kinds of bean archives exist in {cdi_full}.
Expand Down

0 comments on commit 0e44d54

Please sign in to comment.