[
https://issues.apache.org/jira/browse/ARIES-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17579376#comment-17579376
]
Thomas Driessen commented on ARIES-2031:
----------------------------------------
I also put together a minimal working example for v2.0.1:
{code:java}
<!-- Only a workaround for aries-jax-rs 2.0.1, as soon as aries updates their
feature declaration the aries-jx-rs-whiteboard feature should be used directly
-->
<feature name="workaround-aries-jax-rs-whiteboard" description="A
workaround for aries-jax-rs-whiteboard v 2.0.1" version="${project.version}">
<feature>aries-jax-rs-whiteboard</feature>
<!-- directly needed by jax-rs-whiteboard -->
<bundle>mvn:org.apache.aries.component-dsl/org.apache.aries.component-dsl.component-dsl/1.2.2</bundle>
<!-- should probably be optional? -->
<bundle>mvn:com.fasterxml.woodstox/woodstox-core/6.3.0</bundle>
<!-- cxf dependencies? -->
<feature>cxf-sse</feature>
<!-- Within cxf-sse feature those four bundles are contained the
contain the actual classes from cxf that are used in aries-jax-rs-whiteboard -->
<!-- <bundle>mvn:org.apache.cxf/cxf-core/3.5.2</bundle> -->
<!-- <bundle>mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/3.5.2</bundle> -->
<!--
<bundle>mvn:org.apache.cxf/cxf-rt-rs-extension-providers/3.5.2</bundle> -->
<!-- <bundle>mvn:org.apache.cxf/cxf-rt-rs-sse/3.5.2</bundle> -->
<!-- transitive woodstox dependencies -->
<bundle>mvn:org.codehaus.woodstox/stax2-api/4.2.1</bundle>
<!-- woodstox-core has a
filter:="(&(osgi.extender=osgi.serviceloader.registrar)(version>=1.0.0)(!(version>=2.0.0)))"
requirement -->
<bundle>mvn:org.apache.aries.spifly/org.apache.aries.spifly.static.bundle/1.3.5</bundle>
</feature> {code}
> Update JAXRS Karaf features to reference CXF
> --------------------------------------------
>
> Key: ARIES-2031
> URL: https://issues.apache.org/jira/browse/ARIES-2031
> Project: Aries
> Issue Type: Improvement
> Components: jax-rs-whiteboard
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: jax-rs-whiteboard-2.0.2
>
>
> As JAXRS now doesn't embed CXF anymore, the features should be updated to
> "reference" CXF.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)