Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions spec/src/main/asciidoc/core/packagingdeployment_full.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Portable extensions may even integrate with the process of building the `Bean` o

Bean classes of enabled beans must be deployed in _bean archives_.

A bean archive has a _bean discovery mode_ of `all`, `annotated` or `none`. A bean archive which contains a `beans.xml` file with no version has a default bean discovery mode of `all`. A bean archive which contains a `beans.xml` file with version 1.1 (or later) must specify the `bean-discovery-mode` attribute. The default value for the attribute is `annotated`.
A bean archive has a _bean discovery mode_ of `all`, `annotated` or `none`. A bean archive which contains non-empty `beans.xml` must specify the `bean-discovery-mode` attribute. The default value for the attribute is `annotated`.

An archive which:

Expand All @@ -33,10 +33,7 @@ An archive which:

is not a bean archive.

An _explicit bean archive_ is an archive which contains a `beans.xml` file:

* with a version number of `1.1` (or later), with the `bean-discovery-mode` of `all`, or,
* with no version number.
An _explicit bean archive_ is an archive which contains a `beans.xml` file with `bean-discovery-mode` of `all`.

An _implicit bean archive_ is:

Expand Down