You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (Jira)" <ji...@apache.org> on 2024/09/18 13:17:00 UTC

[jira] [Resolved] (WICKET-7122) Update Wicket-CDI bean archive descriptor to use Jakarta XML namespace

     [ https://issues.apache.org/jira/browse/WICKET-7122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Del Bene resolved WICKET-7122.
-------------------------------------
    Resolution: Fixed

> Update Wicket-CDI bean archive descriptor to use Jakarta XML namespace
> ----------------------------------------------------------------------
>
>                 Key: WICKET-7122
>                 URL: https://issues.apache.org/jira/browse/WICKET-7122
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-cdi
>    Affects Versions: 10.1.0
>            Reporter: Boleslav Bobčík
>            Priority: Minor
>             Fix For: 10.2.0
>
>
> The latest release of Wicket-CDI contains bean archive descriptor referencing JavaEE namespace. [Current source, version 10.1.0|https://github.com/apache/wicket/blob/e440c049f86f8ed3ee406139a04ddadf3529ef2c/wicket-cdi/src/main/resources/META-INF/beans.xml#L2-L4]:
> {code:xml}
> <beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd"
>        version="1.1"
>        bean-discovery-mode="annotated" />{code}
> I believe that in association with WICKET-6882 the descriptor should be changed to use Jakarta namespace, e.g.:
> {code:xml}
> <beans xmlns="https://jakarta.ee/xml/ns/jakartaee"
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd"
>        bean-discovery-mode="annotated" />
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)