Skip to content

Commit 7d19b0f

Browse files
committed
Update CXF
Still EE 10 compatibility issues.
1 parent 6fe3dbf commit 7d19b0f

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

modules/cxf/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<name>Apache CXF for Apache Tomcat CDI</name>
3030
<description>Apache CXF packaged for Apache Tomcat CDI</description>
3131
<!-- This is the Apache CXF version -->
32-
<version>4.0.3</version>
32+
<version>4.0.4</version>
3333
<packaging>jar</packaging>
3434

3535
<properties>
@@ -97,7 +97,7 @@
9797
<groupId>org.apache.maven.plugins</groupId>
9898
<artifactId>maven-compiler-plugin</artifactId>
9999
<configuration>
100-
<release>21</release>
100+
<release>17</release>
101101
</configuration>
102102
</plugin>
103103
<plugin>

modules/cxf/src/main/java/tomcat/cxf/JsonBean.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
*/
1717
package tomcat.cxf;
1818

19-
import javax.enterprise.context.Dependent;
20-
import javax.ws.rs.Produces;
21-
import javax.ws.rs.ext.Provider;
19+
import jakarta.enterprise.context.Dependent;
20+
import jakarta.ws.rs.Produces;
21+
import jakarta.ws.rs.ext.Provider;
2222

2323
import org.apache.johnzon.jaxrs.jsonb.jaxrs.JsonbJaxrsProvider;
2424

modules/cxf/src/main/resources/META-INF/beans.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
18+
<beans xmlns="https://jakarta.ee/xml/ns/jakartaee"
1919
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd"
20+
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd"
2121
bean-discovery-mode="annotated"
22-
version="2.0">
22+
version="4.0">
2323
<exclude name="com.*" />
2424
<exclude name="javax.*" />
2525
<exclude name="mozilla.*" />

modules/cxf/src/main/resources/META-INF/web-fragment.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<web-fragment xmlns="http://xmlns.jcp.org/xml/ns/javaee"
18+
<web-fragment xmlns="https://jakarta.ee/xml/ns/jakartaee"
1919
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
21-
http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
22-
version="4.0">
20+
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee
21+
https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
22+
version="6.0">
2323
<name>tomcat-cxf</name>
2424
<ordering>
2525
<before>

0 commit comments

Comments
 (0)