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 C1BE117B33 for ; Mon, 16 Mar 2015 06:12:38 +0000 (UTC) Received: (qmail 88739 invoked by uid 500); 16 Mar 2015 06:12:38 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 88665 invoked by uid 500); 16 Mar 2015 06:12:38 -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 88652 invoked by uid 99); 16 Mar 2015 06:12:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 06:12:38 +0000 Date: Mon, 16 Mar 2015 06:12:38 +0000 (UTC) From: "Freeman Fang (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FELIX-4828) the Private-Package value is !* when there's no java src package in a certain maven project MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Freeman Fang created FELIX-4828: ----------------------------------- Summary: the Private-Package value is !* when there's no java = src package in a certain maven project Key: FELIX-4828 URL: https://issues.apache.org/jira/browse/FELIX-4828 Project: Felix Issue Type: Bug Components: Maven Bundle Plugin Reporter: Freeman Fang start from maven-bundle-plugin 2.4.0, when use maven-bundle-plugin in a pro= ject, if the project has no jave source code package, the Private-Package i= s "!*"=EF=BC=8C and so get the WARNING like {code} [WARNING] Bundle org.apache.servicemix.specs:org.apache.servicemix.specs.ja= in-sip-api-1.2:bundle:2.5-SNAPSHOT : Unused Private-Package instructions, n= o such package(s) on the class path: [!*] {code} Also this can cause the Export-Package is empty in the OSGi header. I know when use the maven-bundle-plugin in a certain project, it is rare th= at the java src package is empty, so that the Private-Package is assumed to= be the set of packages in local Java sources. But when use maven-bundle-pl= ugin to OSGi-fy a normal, it's usual that there's just a pom.xml without an= y source, here is an example[1] [1]https://svn.apache.org/repos/asf/servicemix/smx4/specs/trunk/jain-sip-ap= i-1.2/ -- This message was sent by Atlassian JIRA (v6.3.4#6332)