Skip to content

Commit

Permalink
Add a beans_4_1.xsd file and prepare to replace the staged 4.1.0 api …
Browse files Browse the repository at this point in the history
…jar. (#793)

* Add a beans_4_1.xsd schema file
fixes #792
* Revert the dev version back to 4.1.0-SNAPSHOT to replace the current 4.1.0 staged api jar to pickup the beans_4_1.xsd schema file.

---------

Signed-off-by: Scott M Stark <starksm64@gmail.com>
  • Loading branch information
starksm64 committed Mar 7, 2024
1 parent 6ec2393 commit 09d75f8
Show file tree
Hide file tree
Showing 8 changed files with 378 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/pom.xml
Expand Up @@ -18,7 +18,7 @@
<parent>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-parent</artifactId>
<version>4.1.1-SNAPSHOT</version>
<version>4.1.0-SNAPSHOT</version>
</parent>

<artifactId>jakarta.enterprise.cdi-api</artifactId>
Expand Down
369 changes: 369 additions & 0 deletions api/src/main/resources/beans_4_1.xsd

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion el/pom.xml
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-parent</artifactId>
<version>4.1.1-SNAPSHOT</version>
<version>4.1.0-SNAPSHOT</version>
</parent>

<artifactId>jakarta.enterprise.cdi-el-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ide-config/pom.xml
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-parent</artifactId>
<version>4.1.1-SNAPSHOT</version>
<version>4.1.0-SNAPSHOT</version>
</parent>

<artifactId>cdi-ide-config</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion lang-model/pom.xml
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-parent</artifactId>
<version>4.1.1-SNAPSHOT</version>
<version>4.1.0-SNAPSHOT</version>
</parent>

<artifactId>jakarta.enterprise.lang-model</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -19,7 +19,7 @@
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-parent</artifactId>
<packaging>pom</packaging>
<version>4.1.1-SNAPSHOT</version>
<version>4.1.0-SNAPSHOT</version>

<description>Parent module for CDI Specification</description>

Expand Down
2 changes: 1 addition & 1 deletion spec/pom.xml
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-parent</artifactId>
<version>4.1.1-SNAPSHOT</version>
<version>4.1.0-SNAPSHOT</version>
</parent>

<artifactId>jakarta.enterprise.cdi-spec-doc</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions spec/src/main/asciidoc/preface.asciidoc
Expand Up @@ -46,6 +46,9 @@ New methods have been added to `BeanContainer` to check <<bm_bean_event_assignab

The `@Priority` annotation can now be placed on producer methods and producer fields directly.

A new `beans.xml` 4.1 schema file has been added and the namespace of the
`beans_4_1.xsd` schema file is `xmlns:jakartaee="https://jakarta.ee/xml/ns/jakartaee"`. The only change in the schema is to update the default value for the version to 4.1 and update the example to use the new version.

==== Jakarta Contexts and Dependency Injection 4.0
link:https://jakarta.ee/specifications/cdi/4.0/[CDI 4.0] splits the CDI core into Lite and Full. Lite contains a subset of original features which are designed to work in more restricted environments. CDI Full contains everything that is in Lite plus all other features that were formerly in core CDI and are not in Lite.

Expand Down

0 comments on commit 09d75f8

Please sign in to comment.