Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 57458 invoked from network); 1 Apr 2011 19:05:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2011 19:05:46 -0000 Received: (qmail 18849 invoked by uid 500); 1 Apr 2011 19:05:46 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 18812 invoked by uid 500); 1 Apr 2011 19:05:46 -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 18804 invoked by uid 99); 1 Apr 2011 19:05:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 19:05:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 19:05:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9E9B68EB49 for ; Fri, 1 Apr 2011 19:05:06 +0000 (UTC) Date: Fri, 1 Apr 2011 19:05:06 +0000 (UTC) From: "Jonathan Anstey (JIRA)" To: dev@camel.apache.org Message-ID: <366416661.29296.1301684706049.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CAMEL-3829) geronimo-jpa_3.0_spec dependency on camel-jpa has bad OSGi package export MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org geronimo-jpa_3.0_spec dependency on camel-jpa has bad OSGi package export ------------------------------------------------------------------------- Key: CAMEL-3829 URL: https://issues.apache.org/jira/browse/CAMEL-3829 Project: Camel Issue Type: Improvement Affects Versions: 2.7.0 Reporter: Jonathan Anstey Assignee: Jonathan Anstey The geronimo-jpa_3.0_spec artifact actually imports/exports the JPA API as version *3* Import-Package: javax.persistence;version="3.0" Export-Package: javax.persistence;uses:="javax.persistence.spi";version="3.0" When this is actually version 1 of the JPA spec of course, not version 3. This is fine in OSGi currently because we override this import in camel-jpa with Import-Package: javax.persistence;version="[1.1,2)" However, if someone depends on camel-jpa in their own Maven pom, the maven-bundle-plugin sets the import as Import-Package: javax.persistence;version="3.0" which is incorrect. I'm going to switch this dependency to the fixed JPA bundle published in ServiceMix specs. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira