This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/main by this push:
new a53ca54ce4 CXF-9178: Run Jakarta RESTful Web Services 4.0 TCK
(MultipartIT)
a53ca54ce4 is described below
commit a53ca54ce4330bf0bbd20ddb85edadeff6898ba6
Author: Andriy Redko <[email protected]>
AuthorDate: Sat Jan 31 13:15:58 2026 -0500
CXF-9178: Run Jakarta RESTful Web Services 4.0 TCK (MultipartIT)
---
tck/cxf-tck/pom.xml | 2 --
.../apache/cxf/tck/CxfApplicationArchiveProcessor.java | 3 +++
.../src/main/resources/jaxrs_ee_multipart_web.xml | 18 ++++++++++++++++++
3 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/tck/cxf-tck/pom.xml b/tck/cxf-tck/pom.xml
index 8ebe8e21b4..bec5f3a504 100644
--- a/tck/cxf-tck/pom.xml
+++ b/tck/cxf-tck/pom.xml
@@ -538,8 +538,6 @@
<configuration>
<excludes>
<exclude>**/SeBootstrapIT.java</exclude>
- <!-- Covered by
org.apache.cxf.systest.jaxrs.multipart.MultipartSupportTest -->
- <exclude>**/MultipartSupportIT.java</exclude>
</excludes>
<dependenciesToScan>jakarta.ws.rs:${tck.artifactId}</dependenciesToScan>
<systemPropertyVariables>
diff --git
a/tck/cxf-tck/src/main/java/org/apache/cxf/tck/CxfApplicationArchiveProcessor.java
b/tck/cxf-tck/src/main/java/org/apache/cxf/tck/CxfApplicationArchiveProcessor.java
index 8e42d495dc..b118eeb4c6 100644
---
a/tck/cxf-tck/src/main/java/org/apache/cxf/tck/CxfApplicationArchiveProcessor.java
+++
b/tck/cxf-tck/src/main/java/org/apache/cxf/tck/CxfApplicationArchiveProcessor.java
@@ -30,6 +30,9 @@ public class CxfApplicationArchiveProcessor implements
ApplicationArchiveProcess
} else if
("jaxrs_ee_core_securitycontext_basic_web.war".equals(archive.getName())) {
WebArchive webArchive = (WebArchive) archive;
webArchive.addAsWebInfResource("jaxrs_ee_core_securitycontext_basic_web.war.sun-web.xml",
"sun-web.xml");
+ } else if ("MultipartSupportIT.war".equals(archive.getName())) {
+ WebArchive webArchive = (WebArchive) archive;
+ webArchive.addAsWebInfResource("jaxrs_ee_multipart_web.xml",
"web.xml");
}
}
}
diff --git a/tck/cxf-tck/src/main/resources/jaxrs_ee_multipart_web.xml
b/tck/cxf-tck/src/main/resources/jaxrs_ee_multipart_web.xml
new file mode 100644
index 0000000000..f8e6f3f1b8
--- /dev/null
+++ b/tck/cxf-tck/src/main/resources/jaxrs_ee_multipart_web.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
+ <servlet>
+ <servlet-name>CXFServlet</servlet-name>
+
<servlet-class>org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet</servlet-class>
+ <init-param>
+ <param-name>jaxrs.serviceClasses</param-name>
+
<param-value>ee.jakarta.tck.ws.rs.jaxrs31.ee.multipart.MultipartSupportIT$TestResource</param-value>
+ </init-param>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>CXFServlet</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app>