Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 68824 invoked from network); 30 Jul 2009 13:11:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jul 2009 13:11:04 -0000 Received: (qmail 18704 invoked by uid 500); 30 Jul 2009 13:11:04 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 18622 invoked by uid 500); 30 Jul 2009 13:11:04 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 18612 invoked by uid 500); 30 Jul 2009 13:11:04 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 18609 invoked by uid 99); 30 Jul 2009 13:11:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2009 13:11:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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, 30 Jul 2009 13:10:54 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7E8F234C056 for ; Thu, 30 Jul 2009 06:10:33 -0700 (PDT) Message-ID: <1177003305.1248959433817.JavaMail.jira@brutus> Date: Thu, 30 Jul 2009 06:10:33 -0700 (PDT) From: "Willem Jiang (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-1862) camel-cxf bundle doesn't specify any Import-Package version In-Reply-To: <1447515206.1248861753750.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang resolved CAMEL-1862. --------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 1.6.2 trunk http://svn.apache.org/viewvc?rev=799252&view=rev camel-1.x branch http://svn.apache.org/viewvc?rev=799253&view=rev > camel-cxf bundle doesn't specify any Import-Package version > ----------------------------------------------------------- > > Key: CAMEL-1862 > URL: https://issues.apache.org/activemq/browse/CAMEL-1862 > Project: Apache Camel > Issue Type: Bug > Components: camel-cxf > Affects Versions: 2.0-M3 > Environment: CAMEL, CXF, OSGi Felix > Reporter: Savas Ali Tokmen > Assignee: Willem Jiang > Fix For: 1.6.2, 2.0.0 > > > The camel-cxf component is currently generated against CXF version 2.2.2. > As a result, the camel-cxf module as well as the camel-cxf bundle require CXF 2.2. More importantly, that bundle does not work correctly with CXF 2.0 (note that this is an expected behavior, CXF has had API changes with its 2.2 version). > Now, the trouble is that the camel-cxf JAR's MANIFEST has an Import-Package on org.apache.cxf.* components without specifying any version! As a result, when it looks for CXF and both CXF 2.0 and 2.2 are present on the platform, it sometimes chooses the wrong one. > To solve this issue, version specifiers should be added to the Import-Package declarations of the camel-cxf bundle. I guess an import on version 2.2 would be enough (we don't need to specify 2.2.2 explicitely). > Cheers > S. Ali Tokmen > http://ali.tokmen.com/ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.