Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA9E7186D8 for ; Sun, 12 Jul 2015 14:28:04 +0000 (UTC) Received: (qmail 52490 invoked by uid 500); 12 Jul 2015 14:28:04 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 52422 invoked by uid 500); 12 Jul 2015 14:28:04 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 52405 invoked by uid 99); 12 Jul 2015 14:28:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jul 2015 14:28:04 +0000 Date: Sun, 12 Jul 2015 14:28:04 +0000 (UTC) From: "Bob Paulin (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FELIX-4958) Import-Package not finding a package in dependency in Apache Tika MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Bob Paulin created FELIX-4958: --------------------------------- Summary: Import-Package not finding a package in dependency in Apache Tika Key: FELIX-4958 URL: https://issues.apache.org/jira/browse/FELIX-4958 Project: Felix Issue Type: Bug Components: Maven Bundle Plugin Reporter: Bob Paulin The Apache Tika project has a core and a parser project. The core project contains a package org.apache.tika.parser.external which is exported from the bundle. The following is generated in the Export-Package statement in the MANIFEST.MF {code} org.apache.tika.parser.external;uses:="org.ap ache.tika.parser,org.apache.tika.exception,org.apache.tika.mime,org.a pache.tika.io,org.apache.tika.metadata,org.apache.tika.sax,org.xml.sa x,org.w3c.dom,javax.xml.parsers,org.apache.tika.config";version="1.0. 0" {code} The parser project contains the tika-core project as a dependency and the following instructions for the maven-bundle-plugin: {code} ${project.url} org.apache.tika.parser.internal.Activator org.w3c.dom, org.apache.tika.*, *;resolution:=optional . {code} I'm expecting this to import the classes in the org.apache.tika.parser.external package. However I do not see any of the classes in the parser project's Import-Package entry. I was only able to get the classes to show up by adding an explicit Export-Package instruction as follows: {code} ${project.url} org.apache.tika.parser.internal.Activator org.w3c.dom, org.apache.tika.*, *;resolution:=optional org.apache.tika.parser.* {code} This is not what I'd desired to do since this will re-export the core packages from the parser project. Any thoughts on why this is happening? -- This message was sent by Atlassian JIRA (v6.3.4#6332)