CXF 3.1.8 in karaf 4.1.1 ?

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

CXF 3.1.8 in karaf 4.1.1 ?

ivoleitao
As the tile specifies the CXF version is going to be updated in Karaf 4.1.1 ?

I've stumbled upon the bug described in https://issues.apache.org/jira/browse/CXF-6740 which needs an updated version of cxf. Also embedded swagger ui (http://cxf.apache.org/docs/swagger2feature.html Automatic UI Activation section) works in osgi only on 3.1.8 and up (I'm not completely sure if I have understood how it will work but that's what is in the documentation)...

Best Regards,
Reply | Threaded
Open this post in threaded view
|

Re: CXF 3.1.8 in karaf 4.1.1 ?

Thomas PEREZ
This post has NOT been accepted by the mailing list yet.
Hi,

Karaf 4.1.0 have cxf feature in realease version so it take the 3.1.10 ( RELEASE refers to the last non-snapshot release in the repository.)
cxf=mvn:org.apache.cxf.karaf/apache-cxf/RELEASE/xml/features
https://mvnrepository.com/artifact/org.apache.cxf.karaf/apache-cxf


I think you need to wait the 3.2.0 from cxf ...
But you can try to uninstall the feature 3.1.10, then install the feature 3.1.8 via command or webconsole.

Best Regards
Reply | Threaded
Open this post in threaded view
|

Re: CXF 3.1.8 in karaf 4.1.1 ?

ivoleitao
Hi,

I'm sorry I was not very clear in the question, I'm using CXF DOSGI which is currently bound to version 3.1.7 of CXF via repository declaration in the latest DOSGi karaf feature (http://repo.maven.apache.org/maven2/org/apache/cxf/dosgi/cxf-dosgi/2.1.0/cxf-dosgi-2.1.0-features.xml). Also I'm building a custom karaf distribution via the karaf maven plugin

Actually I'm not completely sure what happens with the karaf plugin if I use as dependency a cxf feature with an higher version like the 3.1.10. Since the CXF DOSGi feature uses a cxf repository with version 3.1.7 it's not completely clear for me. Following the semantic versioning rules it should be possible. I'm going to try out.

Anyway thank you for your response
Best Regards.


On 15 March 2017 at 22:33, Thomas PEREZ [via Karaf] <[hidden email]> wrote:
Hi,

Karaf 4.1.0 have cxf feature in realease version so it take the 3.1.10 ( RELEASE refers to the last non-snapshot release in the repository.)
cxf=mvn:org.apache.cxf.karaf/apache-cxf/RELEASE/xml/features
https://mvnrepository.com/artifact/org.apache.cxf.karaf/apache-cxf


I think you need to wait the 3.2.0 from cxf ...
But you can try to uninstall the feature 3.1.10, then install the feature 3.1.8 via command or webconsole.

Best Regards


If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/CXF-3-1-8-in-karaf-4-1-1-tp4049844p4049857.html
To start a new topic under Karaf - User, email [hidden email]
To unsubscribe from Karaf - User, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: CXF 3.1.8 in karaf 4.1.1 ?

cschneider
I think it should work that karaf then uses the newer CXF version together with CXF-DOSGi.

Christian



2017-03-16 0:13 GMT+01:00 ivoleitao <[hidden email]>:
Hi,

I'm sorry I was not very clear in the question, I'm using CXF DOSGI which
is currently bound to version 3.1.7 of CXF via repository declaration in
the latest DOSGi karaf feature (
http://repo.maven.apache.org/maven2/org/apache/cxf/dosgi/cxf-dosgi/2.1.0/cxf-dosgi-2.1.0-features.xml).
Also I'm building a custom karaf distribution via the karaf maven plugin

Actually I'm not completely sure what happens with the karaf plugin if I
use as dependency a cxf feature with an higher version like the 3.1.10.
Since the CXF DOSGi feature uses a cxf repository with version 3.1.7 it's
not completely clear for me. Following the semantic versioning rules it
should be possible. I'm going to try out.

Anyway thank you for your response
Best Regards.


On 15 March 2017 at 22:33, Thomas PEREZ [via Karaf] <
[hidden email]> wrote:

> Hi,
>
> Karaf 4.1.0 have cxf feature in realease version so it take the 3.1.10 (
> RELEASE refers to the last non-snapshot release in the repository.)
> *cxf=mvn:org.apache.cxf.karaf/apache-cxf/RELEASE/xml/features*
> https://mvnrepository.com/artifact/org.apache.cxf.karaf/apache-cxf
>
>
> I think you need to wait the 3.2.0 from cxf ...
> But you can try to uninstall the feature 3.1.10, then install the feature
> 3.1.8 via command or webconsole.
>
> Best Regards
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://karaf.922171.n3.nabble.com/CXF-3-1-8-in-karaf-4-1-1-
> tp4049844p4049857.html
> To start a new topic under Karaf - User, email
> [hidden email]
> To unsubscribe from Karaf - User, click here
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=SXZvLmxlaXRhb0BnbWFpbC5jb218OTMwNzQ5fDU3MDgwNzUzMw==>
> .
> NAML
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://karaf.922171.n3.nabble.com/CXF-3-1-8-in-karaf-4-1-1-tp4049844p4049858.html
Sent from the Karaf - User mailing list archive at Nabble.com.



--
--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com
Reply | Threaded
Open this post in threaded view
|

Re: CXF 3.1.8 in karaf 4.1.1 ?

ivoleitao
Hi,

Well I tried in the karaf-maven-plugin to blacklist the cxf repository and.. it kinda worked.. but the problem was not completely solved.
I'm doing something like this...

                        <plugin>
                                <groupId>org.apache.karaf.tooling</groupId>
                                <artifactId>karaf-maven-plugin</artifactId>
                                <extensions>true</extensions>
                                <configuration>
                                        ...
                                        <blacklistedRepositories>
                                                <repository>mvn:org.apache.cxf.karaf/apache-cxf/3.1.7/xml/features</repository>
                                        </blacklistedRepositories>
                                        ...
                                </configuration>
                        </plugin>

and it works because it gives me a compilation error if I do not add explicitly the cxf dependency like this:

                <dependency>
                        <groupId>org.apache.cxf.dosgi</groupId>
                        <artifactId>cxf-dosgi</artifactId>
                        <version>3.1.10</version>
                        <classifier>features</classifier>
                        <type>xml</type>
                        <scope>runtime</scope>
                </dependency>

However. I'm still seeing 3.1.7 bundles being installed so this does not completely overrides it. I know that I can make a custom dosgi  feature but I'm wondering if there is a better way...
Reply | Threaded
Open this post in threaded view
|

Re: CXF 3.1.8 in karaf 4.1.1 ?

ivoleitao
Sorry the cxf dependency should be :

                <dependency>
                        <groupId>org.apache.cxf.karaf</groupId>
                        <artifactId>apache-cxf</artifactId>
                        <classifier>features</classifier>
                        <version>3.1.10</version>
                        <type>xml</type>
                        <scope>runtime</scope>
                </dependency>

and not:

                <dependency>
                        <groupId>org.apache.cxf.dosgi</groupId>
                        <artifactId>cxf-dosgi</artifactId>
                        <classifier>features</classifier>
                        <version>3.1.10</version>
                        <type>xml</type>
                        <scope>runtime</scope>
                </dependency>
Reply | Threaded
Open this post in threaded view
|

Re: CXF 3.1.8 in karaf 4.1.1 ?

ivoleitao
Well, just to give an update. Unfortunately no matter the configurations I ended up always with a problem while trying to use a more recent cxf version with DOSGi

This was my last try with the karaf-maven-plugin

                        <plugin>
                                <groupId>org.apache.karaf.tooling</groupId>
                                <artifactId>karaf-maven-plugin</artifactId>
                                <extensions>true</extensions>
                                <configuration>
                                        ...
                                        <blacklistedRepositories>
                                                <repository>mvn:org.apache.cxf.karaf/apache-cxf/3.1.7/xml/features</repository>
                                        </blacklistedRepositories>
                                        <blacklistedBundles>
                                                <bundle>mvn:org.apache.cxf/cxf-core/3.1.7</bundle>
                                                <bundle>mvn:org.apache.cxf/cxf-rt-rs-client/3.1.7</bundle>
                                                <bundle>mvn:org.apache.cxf/cxf-rt-rs-extension-providers/3.1.7</bundle>
                                                <bundle>mvn:org.apache.cxf/cxf-rt-rs-extension-search/3.1.7</bundle>
                                                <bundle>mvn:org.apache.cxf/cxf-rt-rs-service-description/3.1.7</bundle>
                                                <bundle>mvn:org.apache.cxf/cxf-rt-rs-service-description-swagger/3.1.7</bundle>
                                                <bunble>mvn:org.apache.cxf/cxf-rt-transports-http/3.1.7</bunble>
                                                <bundle>mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/3.1.7</bundle>
                                        </blacklistedBundles>
                                </configuration>
                        </plugin>

while having

                <dependency>
                        <groupId>org.apache.cxf.karaf</groupId>
                        <artifactId>apache-cxf</artifactId>
                        <classifier>features</classifier>
                        <type>xml</type>
                        <version>3.1.10</version>
                        <scope>runtime</scope>
                </dependency>

I was presented with a resolver exception

2017-03-17T10:08:55,545 | ERROR | pool-2-thread-2  | BootFeaturesInstaller            | 7 - org.apache.karaf.features.core - 4.1.0 | Error installing boot features
org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=core; type=karaf.feature; version="[1.0.1.SNAPSHOT,1.0.1.SNAPSHOT]"; filter:="(&(osgi.identity=core)(type=karaf.feature)(version>=1.0.1.SNAPSHOT)(version<=1.0.1.SNAPSHOT))" [caused by: Unable to resolve core/1.0.1.SNAPSHOT: missing requirement [core/1.0.1.SNAPSHOT] osgi.identity; osgi.identity=core-ws; type=karaf.feature [caused by: Unable to resolve core-ws/1.0.1.SNAPSHOT: missing requirement [core-ws/1.0.1.SNAPSHOT] osgi.identity; osgi.identity=core-ws-cxf; type=karaf.feature [caused by: Unable to resolve core-ws-cxf/1.0.1.SNAPSHOT: missing requirement [core-ws-cxf/1.0.1.SNAPSHOT] osgi.identity; osgi.identity=com.acme.platform.modules.ws-rs; type=osgi.bundle; version="[1.0.1.201703171007,1.0.1.201703171007]"; resolution:=mandatory [caused by: Unable to resolve com.acme.platform.modules.ws-rs/1.0.1.201703171007: missing requirement [com.acme.platform.modules.ws-rs/1.0.1.201703171007] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.cxf.jaxrs.swagger)(version>=3.1.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.apache.cxf.cxf-rt-rs-service-description-swagger/3.1.10: missing requirement [org.apache.cxf.cxf-rt-rs-service-description-swagger/3.1.10] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.fasterxml.jackson.databind.introspect)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.fasterxml.jackson.core.jackson-databind/2.8.6: missing requirement [com.fasterxml.jackson.core.jackson-databind/2.8.6] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.fasterxml.jackson.core.util)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.fasterxml.jackson.core.jackson-core/2.8.6: missing requirement [com.fasterxml.jackson.core.jackson-core/2.8.6] osgi.identity; osgi.identity="root#cxf-jackson-3.1.10"; type=karaf.subsystem; version="[0,0.0.0]"; resolution:=mandatory [caused by: Unable to resolve root#cxf-jackson-3.1.10: missing requirement [root#cxf-jackson-3.1.10] osgi.identity; osgi.identity=cxf-jackson; type=karaf.feature; version="[3.1.10,3.1.10]" [caused by: Unable to resolve cxf-jackson/3.1.10: missing requirement [cxf-jackson/3.1.10] osgi.identity; osgi.identity=com.fasterxml.jackson.dataformat.jackson-dataformat-yaml; type=osgi.bundle; version="[2.8.6,2.8.6]"; resolution:=mandatory [caused by: Unable to resolve com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.8.6: missing requirement [com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.8.6] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.yaml.snakeyaml)(version>=1.17.0)(!(version>=2.0.0)))"]]]]]]]]]]
        at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42) ~[?:?]
        at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:389) ~[?:?]
        at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375) ~[?:?]
        at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:347) ~[?:?]
        at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:218) ~[?:?]
        at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:285) ~[?:?]
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1170) ~[?:?]
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1069) ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?]
        at java.lang.Thread.run(Thread.java:745) [?:?]

I'm going to replicate the dosgi feature on my custom feature. From what I've seen I think it's the only way. I don't fully understand why after blacklisting the repository version I still have 3.1.7 cxf bundles installed. Also I've tried using the oneVersion property of karaf-maven-plugin but it probably doesn't do what I was thinking (despite the documentation saying "If set to true then for each bundle symbolic name only the highest version will be used")
Reply | Threaded
Open this post in threaded view
|

Re: CXF 3.1.8 in karaf 4.1.1 ?

cschneider
We will try to improve this. Not sure if it is a bug or expected. I will
discuss this with Guillaume.

In the mean time I think it is easiest if you just create a small
CXF-DOSGi feature yourself. The good thing is that the CXF-DOSGi feature
is very small as it mainly uses Aries RSA and CXF features and has only
3 bundles itself.

Christian

On 17.03.2017 11:20, ivoleitao wrote:

> Well, just to give an update. Unfortunately no matter the configurations I
> ended up always with a problem while trying to use a more recent cxf version
> with DOSGi
>
> This was my last try with the karaf-maven-plugin
>
> <plugin>
> <groupId>org.apache.karaf.tooling</groupId>
> <artifactId>karaf-maven-plugin</artifactId>
> <extensions>true</extensions>
> <configuration>
>                                          ...
> <blacklistedRepositories>
>
> <repository>mvn:org.apache.cxf.karaf/apache-cxf/3.1.7/xml/features</repository>
> </blacklistedRepositories>
> <blacklistedBundles>
> <bundle>mvn:org.apache.cxf/cxf-core/3.1.7</bundle>
> <bundle>mvn:org.apache.cxf/cxf-rt-rs-client/3.1.7</bundle>
>
> <bundle>mvn:org.apache.cxf/cxf-rt-rs-extension-providers/3.1.7</bundle>
> <bundle>mvn:org.apache.cxf/cxf-rt-rs-extension-search/3.1.7</bundle>
>
> <bundle>mvn:org.apache.cxf/cxf-rt-rs-service-description/3.1.7</bundle>
>
> <bundle>mvn:org.apache.cxf/cxf-rt-rs-service-description-swagger/3.1.7</bundle>
> <bunble>mvn:org.apache.cxf/cxf-rt-transports-http/3.1.7</bunble>
> <bundle>mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/3.1.7</bundle>
> </blacklistedBundles>
> </configuration>
> </plugin>
>
> while having
>
> <dependency>
> <groupId>org.apache.cxf.karaf</groupId>
> <artifactId>apache-cxf</artifactId>
> <classifier>features</classifier>
> <type>xml</type>
>                          <version>3.1.10</version>
> <scope>runtime</scope>
> </dependency>
>
> I was presented with a resolver exception
>
> 2017-03-17T10:08:55,545 | ERROR | pool-2-thread-2  | BootFeaturesInstaller
> | 7 - org.apache.karaf.features.core - 4.1.0 | Error installing boot
> features
> org.osgi.service.resolver.ResolutionException: Unable to resolve root:
> missing requirement [root] osgi.identity; osgi.identity=core;
> type=karaf.feature; version="[1.0.1.SNAPSHOT,1.0.1.SNAPSHOT]";
> filter:="(&(osgi.identity=core)(type=karaf.feature)(version>=1.0.1.SNAPSHOT)(version<=1.0.1.SNAPSHOT))"
> [caused by: Unable to resolve core/1.0.1.SNAPSHOT: missing requirement
> [core/1.0.1.SNAPSHOT] osgi.identity; osgi.identity=core-ws;
> type=karaf.feature [caused by: Unable to resolve core-ws/1.0.1.SNAPSHOT:
> missing requirement [core-ws/1.0.1.SNAPSHOT] osgi.identity;
> osgi.identity=core-ws-cxf; type=karaf.feature [caused by: Unable to resolve
> core-ws-cxf/1.0.1.SNAPSHOT: missing requirement [core-ws-cxf/1.0.1.SNAPSHOT]
> osgi.identity; osgi.identity=com.acme.platform.modules.ws-rs;
> type=osgi.bundle; version="[1.0.1.201703171007,1.0.1.201703171007]";
> resolution:=mandatory [caused by: Unable to resolve
> com.acme.platform.modules.ws-rs/1.0.1.201703171007: missing requirement
> [com.acme.platform.modules.ws-rs/1.0.1.201703171007] osgi.wiring.package;
> filter:="(&(osgi.wiring.package=org.apache.cxf.jaxrs.swagger)(version>=3.1.0)(!(version>=4.0.0)))"
> [caused by: Unable to resolve
> org.apache.cxf.cxf-rt-rs-service-description-swagger/3.1.10: missing
> requirement [org.apache.cxf.cxf-rt-rs-service-description-swagger/3.1.10]
> osgi.wiring.package;
> filter:="(&(osgi.wiring.package=com.fasterxml.jackson.databind.introspect)(version>=2.8.0)(!(version>=3.0.0)))"
> [caused by: Unable to resolve
> com.fasterxml.jackson.core.jackson-databind/2.8.6: missing requirement
> [com.fasterxml.jackson.core.jackson-databind/2.8.6] osgi.wiring.package;
> filter:="(&(osgi.wiring.package=com.fasterxml.jackson.core.util)(version>=2.8.0)(!(version>=3.0.0)))"
> [caused by: Unable to resolve com.fasterxml.jackson.core.jackson-core/2.8.6:
> missing requirement [com.fasterxml.jackson.core.jackson-core/2.8.6]
> osgi.identity; osgi.identity="root#cxf-jackson-3.1.10";
> type=karaf.subsystem; version="[0,0.0.0]"; resolution:=mandatory [caused by:
> Unable to resolve root#cxf-jackson-3.1.10: missing requirement
> [root#cxf-jackson-3.1.10] osgi.identity; osgi.identity=cxf-jackson;
> type=karaf.feature; version="[3.1.10,3.1.10]" [caused by: Unable to resolve
> cxf-jackson/3.1.10: missing requirement [cxf-jackson/3.1.10] osgi.identity;
> osgi.identity=com.fasterxml.jackson.dataformat.jackson-dataformat-yaml;
> type=osgi.bundle; version="[2.8.6,2.8.6]"; resolution:=mandatory [caused by:
> Unable to resolve
> com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.8.6: missing
> requirement [com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.8.6]
> osgi.wiring.package;
> filter:="(&(osgi.wiring.package=org.yaml.snakeyaml)(version>=1.17.0)(!(version>=2.0.0)))"]]]]]]]]]]
> at
> org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)
> ~[?:?]
> at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:389)
> ~[?:?]
> at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375)
> ~[?:?]
> at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:347)
> ~[?:?]
> at
> org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:218)
> ~[?:?]
> at
> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:285)
> ~[?:?]
> at
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1170)
> ~[?:?]
> at
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1069)
> ~[?:?]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:?]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:?]
> at java.lang.Thread.run(Thread.java:745) [?:?]
>
> I'm going to replicate the dosgi feature on my custom feature. From what
> I've seen I think it's the only way. I don't fully understand why after
> blacklisting the repository version I still have 3.1.7 cxf bundles
> installed. Also I've tried using the oneVersion property of
> karaf-maven-plugin but it probably doesn't do what I was thinking (despite
> the documentation saying "If set to true then for each bundle symbolic name
> only the highest version will be used")
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/CXF-3-1-8-in-karaf-4-1-1-tp4049844p4049869.html
> Sent from the Karaf - User mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply | Threaded
Open this post in threaded view
|

Re: CXF 3.1.8 in karaf 4.1.1 ?

ivoleitao
Ok Christian,

Thanks a lot
Best Regards,
Ivo Leitão
Reply | Threaded
Open this post in threaded view
|

Re: CXF 3.1.8 in karaf 4.1.1 ?

ivoleitao
Well I discovered the problem. This only happens with cxf 3.1.10. CXF 3.1.9 works well

I've already opened an issue to the CXF team

https://issues.apache.org/jira/browse/CXF-7288


Best Regards,
Ivo Leitão
Reply | Threaded
Open this post in threaded view
|

Re: CXF 3.1.8 in karaf 4.1.1 ?

Thomas PEREZ
This post has NOT been accepted by the mailing list yet.
There's maybe an issue with cxf swagger2feature and cxf dosgi.

I'm using Karaf 4.1.0 and Cxf 3.1.9.

I try the rest example found here : https://github.com/apache/cxf-dosgi/tree/master/samples.
( swagger2feature added with some intents).

But the swagger.json does not show the api (only the header are presents).

With some research i found this issue : CXF-6904.
And if i apply the alternative patch found in comments (https://github.com/apache/cxf/pull/161) it's working !

Have somebody try swagger2feature with cxf dosgi ?

Best Regards.