You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2022/03/29 10:40:35 UTC

[cxf] branch 3.4.x-fixes updated: CXF-8479: Fixing jaxrs.ee.rs.container.responsecontext getEntityAnnotationsTest, other jaxrs.ee.rs.core.uriinfo.* and jaxrs.ee.rs.ext.interceptor.containerwriter.interceptorcontext.* tests

This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 3.4.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.4.x-fixes by this push:
     new 1c9200f  CXF-8479: Fixing jaxrs.ee.rs.container.responsecontext getEntityAnnotationsTest, other jaxrs.ee.rs.core.uriinfo.* and jaxrs.ee.rs.ext.interceptor.containerwriter.interceptorcontext.* tests
1c9200f is described below

commit 1c9200fe494c384676fd598a0db47be713f664d1
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Mon Mar 28 19:13:40 2022 -0400

    CXF-8479: Fixing jaxrs.ee.rs.container.responsecontext getEntityAnnotationsTest, other jaxrs.ee.rs.core.uriinfo.* and jaxrs.ee.rs.ext.interceptor.containerwriter.interceptorcontext.* tests
    
    (cherry picked from commit 3884cee353dd9e7cc7decda2cd2b7091deeee659)
    (cherry picked from commit 262447ae90208921b336d2077f0ea5782c44a322)
---
 tck/Jenkinsfile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tck/Jenkinsfile b/tck/Jenkinsfile
index 4d51444..7b26a1b 100644
--- a/tck/Jenkinsfile
+++ b/tck/Jenkinsfile
@@ -121,6 +121,12 @@ pipeline {
                     sh "cp -r jakartaee-tck/release/JAXRS_BUILD/latest/restful-ws-tck ${WORKSPACE}"
                     sh "yes | cp -vr ts.jte.template ${TS_HOME}/bin/ts.jte"
 
+                    // It seems to be impossible to exclude Jersey from the Glassfish deployment but it 
+                    // interferes with Apache CXF, as such some tests cases are failing. Modifying the Jersey 
+                    // manifest to exclude 'javax.ws.rs.ext.RuntimeDelegate' from Jersey so the Apache CXF
+                    // implementation will be used reliably all the time.
+                    sh 'zip -d ${WORKSPACE}/glassfish5/glassfish/modules/jersey-server.jar META-INF/services/javax.ws.rs.ext.RuntimeDelegate'
+
                     dir("${TS_HOME}/bin") {
                         sh "ant config.vi"
                         sh "ant deploy.all"