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 A8B65200B82 for ; Fri, 16 Sep 2016 17:30:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A74EA160ADB; Fri, 16 Sep 2016 15:30:23 +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 EC53C160AB7 for ; Fri, 16 Sep 2016 17:30:22 +0200 (CEST) Received: (qmail 8818 invoked by uid 500); 16 Sep 2016 15:30:22 -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 8780 invoked by uid 99); 16 Sep 2016 15:30:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2016 15:30:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0204C2C0D5B for ; Fri, 16 Sep 2016 15:30:22 +0000 (UTC) Date: Fri, 16 Sep 2016 15:30:22 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CXF-7045) Update sample description_swagger2_osgi README.txt MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 16 Sep 2016 15:30:23 -0000 [ https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15496577#comment-15496577 ] Sergey Beryozkin edited comment on CXF-7045 at 9/16/16 3:29 PM: ---------------------------------------------------------------- I've been wondering if we should support different scenarios and thus have few features. First we should have a helper 'jackson' feature - for all the users who prefer to install Jackson in OSGI, this in itself not related to Swagger2. Next we have a 'minimal' Swagger2 feature - it has all but jackson specific dependencies. Finally we have a current swagger2 feature which, with option3 enforced, simply works - it will depend on a new jackson feature. So if a user has already installed Jackson manually or with a new Jackson feature to support JSON at the application level and Swagger is needed - then 'minimal' Swagger2 feature is installed. Otherwise - a complete swagger2 feature is installed. Does it work ? Sergey was (Author: sergey_beryozkin): I've been wondering if we should support difference scenarios and thus have few features. First we should have a helper 'jackson' feature - for all the users who prefer to install Jackson in OSGI, this in itself not related to Swagger2. Next we have a 'minimal' Swagger2 feature - it has all but jackson specific dependencies. Finally we have a current swagger2 feature which, with option3 enforced, simply works - it will depend on a new jackson feature. So if a user has already installed Jackson manually or with a new Jackson feature to support JSON at the application level and Swagger is needed - then 'minimal' Swagger2 feature is installed. Otherwise - a complete swagger2 feature is installed. Does it work ? Sergey > Update sample description_swagger2_osgi README.txt > -------------------------------------------------- > > Key: CXF-7045 > URL: https://issues.apache.org/jira/browse/CXF-7045 > Project: CXF > Issue Type: Bug > Components: Samples > Reporter: John Poth > Assignee: Freeman Fang > Priority: Minor > Fix For: 3.2.0, 3.1.8 > > > Update jackson version. Currently getting the error: > {code} > Caused by: org.osgi.framework.BundleException: Unable to resolve org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0))) Unresolved requirements: [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)