cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vbogatyrov <>
Subject [GitHub] cxf pull request #220: Fix Swagger UI work with CXF in Karaf
Date Fri, 06 Jan 2017 16:20:07 GMT
GitHub user vbogatyrov opened a pull request:

    Fix Swagger UI work with CXF in Karaf

    This pr is inteneded to fix it in Karaf, in case when  org.webjars/swagger-ui is installed
using "wrap" protocol, as swagger-ui library is a plain jar. When swagger-ui is installed
using command line, like 
    bundle:install mvn:org.webjars/swagger-ui/VERSION  
    it works just fine, because despite  the installation was done by implicitly using "wrap",
the location attribute of a swagger-ui bundle is mvn:/org.webjars... 
    However, when there is a need to install swagger using custom Karaf feature, e.g. 
    <feature name="my-feature" version='1.2.3'>
              <feature version='3.1.9'>cxf</feature>
    	  <feature version='3.1.9'>cxf-rs-description-swagger2</feature>
    the location attribute of a swagger-ui bundle becomes like  wrap:mvn:org.webjars/swagger-ui/VERSION,
so that CXF fails to find the bundle.

You can merge this pull request into a Git repository by running:

    $ git pull master

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #220
commit f4d266ca740cd41dfb7553691126a3afaedf6e8b
Author: Vladimir Bogatyrov <>
Date:   2017-01-06T16:06:14Z

    Fix Swagger UI work with CXF in Karaf


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message