Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8F469200CBB for ; Tue, 4 Jul 2017 10:13:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8DDEA160BEF; Tue, 4 Jul 2017 08:13:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D24D7160BE1 for ; Tue, 4 Jul 2017 10:13:09 +0200 (CEST) Received: (qmail 58591 invoked by uid 500); 4 Jul 2017 08:13:08 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 58580 invoked by uid 99); 4 Jul 2017 08:13:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jul 2017 08:13:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 93866C00B6 for ; Tue, 4 Jul 2017 08:13:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 3RLRwMY5sH7W for ; Tue, 4 Jul 2017 08:13:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 842D25FDAD for ; Tue, 4 Jul 2017 08:13:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 351D2E0637 for ; Tue, 4 Jul 2017 08:13:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 517C324604 for ; Tue, 4 Jul 2017 08:13:01 +0000 (UTC) Date: Tue, 4 Jul 2017 08:13:01 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-7437) OSGI 'Uses constraint violation' when deploying org.apache.cxf.cxf-rt-rs-service-description-swagger MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 04 Jul 2017 08:13:10 -0000 [ https://issues.apache.org/jira/browse/CXF-7437?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D160732= 87#comment-16073287 ]=20 ASF GitHub Bot commented on CXF-7437: ------------------------------------- GitHub user johnpoth opened a pull request: https://github.com/apache/cxf/pull/290 [CXF-7437] Add javax.annotation OSGI import range to service-descript= =E2=80=A6 =E2=80=A6ion-swagger =20 https://issues.apache.org/jira/browse/CXF-7437 =20 Thanks ! You can merge this pull request into a Git repository by running: $ git pull https://github.com/johnpoth/cxf CXF-7437 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cxf/pull/290.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #290 =20 ---- commit 17bf2472bbd31aedc96dc8451e6f5f5cce34f12c Author: jpoth Date: 2017-07-04T08:10:48Z [CXF-7437] Add javax.annotation OSGI import range to service-descriptio= n-swagger ---- > OSGI 'Uses constraint violation' when deploying org.apache.cxf.cxf-rt-rs-= service-description-swagger > -------------------------------------------------------------------------= --------------------------- > > Key: CXF-7437 > URL: https://issues.apache.org/jira/browse/CXF-7437 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Reporter: John Poth > > When installing feature cxf-rs-description-swagger2 on Karaf 4.2.0-SNAPSH= OT I get the following error: > {code} > Error executing command: Error restarting bundles: > =09Uses constraint violation. Unable to resolve resource org.apache.cxf.c= xf-rt-rs-service-description-swagger [org.apache.cxf.cxf-rt-rs-service-desc= ription-swagger [217](R 217.0)] because it is exposed to package 'javax.ann= otation' from resources javax.annotation-api [javax.annotation-api [45](R 4= 5.0)] and org.apache.felix.framework [org.apache.felix.framework [0](R 0)] = via two dependency chains. > Chain 1: > org.apache.cxf.cxf-rt-rs-service-description-swagger [org.apache.cxf.cx= f-rt-rs-service-description-swagger [217](R 217.0)] > import: (&(osgi.wiring.package=3Djavax.annotation)(version>=3D1.3.0)(= !(version>=3D2.0.0))) > | > export: osgi.wiring.package: javax.annotation > javax.annotation-api [javax.annotation-api [45](R 45.0)] > Chain 2: > org.apache.cxf.cxf-rt-rs-service-description-swagger [org.apache.cxf.cx= f-rt-rs-service-description-swagger [217](R 217.0)] > import: (&(osgi.wiring.package=3Dio.swagger.converter)(version>=3D1.5= .0)(!(version>=3D2.0.0))) > | > export: osgi.wiring.package=3Dio.swagger.converter; uses:=3Dcom.googl= e.common.collect > io.swagger.core [io.swagger.core [212](R 212.0)] > import: (&(osgi.wiring.package=3Dcom.google.common.collect)(version>= =3D18.0.0)(!(version>=3D19.0.0))) > | > export: osgi.wiring.package=3Dcom.google.common.collect; uses:=3Djava= x.annotation > com.google.guava [com.google.guava [38](R 38.0)] > import: (osgi.wiring.package=3Djavax.annotation) > | > export: osgi.wiring.package: javax.annotation > org.apache.felix.framework [org.apache.felix.framework [0](R 0)] Unreso= lved requirements: [[org.apache.cxf.cxf-rt-rs-service-description-swagger [= 217](R 217.0)] osgi.wiring.package; (&(osgi.wiring.package=3Dio.swagger.con= verter)(version>=3D1.5.0)(!(version>=3D2.0.0)))] > {code} > I can provide a fix -- This message was sent by Atlassian JIRA (v6.4.14#64029)