CXF-6073: cxf-wsn installation in Karaf fails

Please backport this fix in 3.0.x and 2.7.x too