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 DA6C7200CBB for ; Tue, 4 Jul 2017 10:10:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D91C4160BFD; Tue, 4 Jul 2017 08:10:07 +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 2BFEC160BE1 for ; Tue, 4 Jul 2017 10:10:07 +0200 (CEST) Received: (qmail 52314 invoked by uid 500); 4 Jul 2017 08:10:06 -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 52303 invoked by uid 99); 4 Jul 2017 08:10:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jul 2017 08:10:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A94D11A0269 for ; Tue, 4 Jul 2017 08:10:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id TjwoYUoNRJzc for ; Tue, 4 Jul 2017 08:10:04 +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 312CD5FE4D for ; Tue, 4 Jul 2017 08:10:04 +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 277B7E0D57 for ; Tue, 4 Jul 2017 08:10:03 +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 476172460D for ; Tue, 4 Jul 2017 08:10:00 +0000 (UTC) Date: Tue, 4 Jul 2017 08:10:00 +0000 (UTC) From: "John Poth (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 04 Jul 2017 08:10:08 -0000 John Poth created CXF-7437: ------------------------------ Summary: 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-SNAPSHOT I get the following error: {code} Error executing command: Error restarting bundles: Uses constraint violation. Unable to resolve resource org.apache.cxf.cxf-rt-rs-service-description-swagger [org.apache.cxf.cxf-rt-rs-service-description-swagger [217](R 217.0)] because it is exposed to package 'javax.annotation' from resources javax.annotation-api [javax.annotation-api [45](R 45.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.cxf-rt-rs-service-description-swagger [217](R 217.0)] import: (&(osgi.wiring.package=javax.annotation)(version>=1.3.0)(!(version>=2.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.cxf-rt-rs-service-description-swagger [217](R 217.0)] import: (&(osgi.wiring.package=io.swagger.converter)(version>=1.5.0)(!(version>=2.0.0))) | export: osgi.wiring.package=io.swagger.converter; uses:=com.google.common.collect io.swagger.core [io.swagger.core [212](R 212.0)] import: (&(osgi.wiring.package=com.google.common.collect)(version>=18.0.0)(!(version>=19.0.0))) | export: osgi.wiring.package=com.google.common.collect; uses:=javax.annotation com.google.guava [com.google.guava [38](R 38.0)] import: (osgi.wiring.package=javax.annotation) | export: osgi.wiring.package: javax.annotation org.apache.felix.framework [org.apache.felix.framework [0](R 0)] Unresolved requirements: [[org.apache.cxf.cxf-rt-rs-service-description-swagger [217](R 217.0)] osgi.wiring.package; (&(osgi.wiring.package=io.swagger.converter)(version>=1.5.0)(!(version>=2.0.0)))] {code} I can provide a fix -- This message was sent by Atlassian JIRA (v6.4.14#64029)