From dev-return-105858-archive-asf-public=cust-asf.ponee.io@sling.apache.org Wed Apr 22 11:32:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1644C180181 for ; Wed, 22 Apr 2020 13:32:01 +0200 (CEST) Received: (qmail 17733 invoked by uid 500); 22 Apr 2020 11:32:01 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 17714 invoked by uid 99); 22 Apr 2020 11:32:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2020 11:32:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A6E07E2ED7 for ; Wed, 22 Apr 2020 11:32:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 2E9D87803DF for ; Wed, 22 Apr 2020 11:32:00 +0000 (UTC) Date: Wed, 22 Apr 2020 11:32:00 +0000 (UTC) From: "Carsten Ziegeler (Jira)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SLING-9218) Incomplete OSGi manifest for Commons Johnzon 1.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SLING-9218?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1708= 9579#comment-17089579 ]=20 Carsten Ziegeler commented on SLING-9218: ----------------------------------------- [~kwin] Can we get a release out with the fix? The new Apache Feli cm.json = requires this, so this blocks all updates to that bundle > Incomplete OSGi manifest for Commons Johnzon 1.2.0 > -------------------------------------------------- > > Key: SLING-9218 > URL: https://issues.apache.org/jira/browse/SLING-9218 > Project: Sling > Issue Type: Bug > Affects Versions: Commons Johnzon 1.2.0 > Reporter: Eric Norman > Assignee: Konrad Windszus > Priority: Major > Fix For: Commons Johnzon 1.2.2 > > > It looks to me that any bundle that attempts to depend on the new org.apa= che.sling.commons.johnzon:1.2.0 bundle produces a manifest for the new bund= le that makes it not activate when deployed to the sling runtime. > =C2=A0 > For example, the=C2=A0manifest now includes this instruction in the mani= fest: > =C2=A0 > {quote}Require-Capability: osgi.contract;osgi.contract=3DJavaJSONP;filter= :=3D"(&( > =C2=A0osgi.contract=3DJavaJSONP)(version=3D1.1.0))",osgi.ee;filter:=3D"(= &(osgi.ee > =C2=A0=3DJavaSE)(version=3D1.8))" > {quote} > =C2=A0 > =C2=A0 > But it doesn't look like the=C2=A0org.apache.sling.commons.johnzon:1.2.0= manifest declares that it provides that JavaJSONP capability. > =C2=A0 > It appears that the equivalent "Provide-Capability" instruction is in th= e original org.apache.geronimo.specs.geronimo-json_1.1_spec artifact.=C2=A0= It contains the following in it's manifest but the o.a.s.commons.johnzon d= oes not do the same when it wraps the bundle: > =C2=A0 > {quote}Provide-Capability: osgi.contract;osgi.contract=3DJavaJSONP;uses:= =3D"javax > =C2=A0.json,javax.json.spi,javax.json.stream";version:List=3D"1= .1,1. > =C2=A00" > {quote} > =C2=A0 > =C2=A0 > Alternatively, maybe there is a convenient way to adjust the BND=C2=A0ins= tructions so one can depend on the org.apache.sling.commons.johnzon:1.2.0 a= rtifact without requiring the=C2=A0osgi.contract=3DJavaJSONP=C2=A0capabilit= y in the manifest? > =C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)