Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 93885 invoked from network); 17 Dec 2009 22:24:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Dec 2009 22:24:47 -0000 Received: (qmail 43243 invoked by uid 500); 17 Dec 2009 22:24:47 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 43228 invoked by uid 500); 17 Dec 2009 22:24:47 -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 43218 invoked by uid 99); 17 Dec 2009 22:24:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 22:24:47 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 22:24:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 299B5234C498 for ; Thu, 17 Dec 2009 14:24:18 -0800 (PST) Message-ID: <1796861248.1261088658157.JavaMail.jira@brutus> Date: Thu, 17 Dec 2009 22:24:18 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2216) CXF Import-Package version specifiers causes 'uses' conflict In-Reply-To: <1844229081.1242277965603.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-2216. ------------------------------ Resolution: Fixed Fix Version/s: 2.2.6 Assignee: Daniel Kulp Stuck version ranges of [0.0,#) on the javax* stuff. > CXF Import-Package version specifiers causes 'uses' conflict > ------------------------------------------------------------ > > Key: CXF-2216 > URL: https://issues.apache.org/jira/browse/CXF-2216 > Project: CXF > Issue Type: Bug > Components: OSGi > Affects Versions: 2.2.1 > Environment: Equinox > Reporter: Hendy Irawan > Assignee: Daniel Kulp > Fix For: 2.2.6 > > Attachments: config.ini > > > Equinox exports system packages as version=0.0.0. CXF bundle (and CXF bundle jaxrs) imports some of these packages as specific versions. This causes problems because: > * Application Developer has to provide bundles for these packages instead of letting CXF use the packages that Equinox exports > * When another bundle uses a system package specifying version=0.0.0, for example javax.mail;version=1.4.0 uses javax.activation;version=0.0.0, this causes "uses" conflict because CXF uses javax.mail;version=1.4.0 and javax.activation;version=1.0 > * My workaround was to patch the CXF jar manifest.mf to remove version specifiers in some packages it imports > I've identified 5 packages that need to have its version specifier left out in CXF's Import-Package in order for my app to work: > * javax.activation > * javax.annotation > * javax.xml.stream > * javax.xml.stream.events > * javax.xml.stream.util > I'd vote for these import-packages to have no version specifier as well: > * javax.resource > * javax.resource.spi > Thanks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.