cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <ben...@basistech.com>
Subject A Karaf assembly with both CXF and me
Date Sat, 25 Jul 2015 01:09:40 GMT
I have a project with packaging karaf-assembly.

It has a dependency for CXF:

<dependency>
    <groupId>${project.groupId}</groupId>
    <artifactId>rosette-base-linguistics</artifactId>
    <version>${project.version}</version>
    <classifier>features</classifier>
    <type>xml</type>
</dependency>

But I get wiring errors for JAX-RS when I try to include my feature
that has a service:

[ERROR] Failed to execute goal
org.apache.karaf.tooling:karaf-maven-plugin:4.0.0:assembly
(default-assembly) on project rosapi-assembly: Unable to build
assembly: Unable to resolve root: missing requirement [root]
osgi.identity; osgi.identity=rosapi-worker; type=karaf.feature;
filter:="(&(osgi.identity=rosapi-worker)(type=karaf.feature))" [caused
by: Unable to resolve rosapi-worker/0.0.1.SNAPSHOT: missing
requirement [rosapi-worker/0.0.1.SNAPSHOT] osgi.identity;
osgi.identity=com.basistech.ws.rosapi-endpoint-service;
type=osgi.bundle;
version="[0.0.1.v20150724050121,0.0.1.v20150724050121]";
resolution:=mandatory [caused by: Unable to resolve
com.basistech.ws.rosapi-endpoint-service/0.0.1.v20150724050121:
missing requirement
[com.basistech.ws.rosapi-endpoint-service/0.0.1.v20150724050121]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=javax.ws.rs)(version>=2.0.0)(!(version>=3.0.0)))"]]
-> [Help 1]

Mime
View raw message