Return-Path: Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: (qmail 58254 invoked from network); 11 Dec 2010 01:47:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Dec 2010 01:47:52 -0000 Received: (qmail 58982 invoked by uid 500); 11 Dec 2010 01:47:51 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 58929 invoked by uid 500); 11 Dec 2010 01:47:51 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 58921 invoked by uid 99); 11 Dec 2010 01:47:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 01:47:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of riceyeh@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-iw0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 01:47:46 +0000 Received: by iwn8 with SMTP id 8so6630798iwn.20 for ; Fri, 10 Dec 2010 17:47:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=YqzvB8iWjPtXFM/0HIF2hvOxzt9NMmGVZFkehLV2wqA=; b=m7iqU4MKOt16xYg8Ua/PA4temau4f0lGzm1G+jjQtgpGms/wlW7NBKe+SPwxNJTQ5b oQH+b9/9zu58jBL34DgSziyEMt69x7oTU6ynFSTO7K3HaeWcx0m598ol56Zo5gMVul7U xOFjmLS5asUV8Gb7TmYBixy9nnxssuymCYU04= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Dv/oeoXgnt5Z1nbiXeCx8Xc9hKOBHQpU4Mn/P3M+Dj7p0t98cVHKDZk/4ESAQuUeZI yvZD68KP31v6NEwhUpshPKEnasN43dKvXyDml6ZTG9Ip/JijD5JRuBL6bBLN+y+C5Nrp fGYUAefZs9Bi4wtVTOM7ApSBPJ1zY6z6RlxfY= MIME-Version: 1.0 Received: by 10.231.40.13 with SMTP id i13mr139574ibe.190.1292032043851; Fri, 10 Dec 2010 17:47:23 -0800 (PST) Received: by 10.231.79.149 with HTTP; Fri, 10 Dec 2010 17:47:23 -0800 (PST) In-Reply-To: References: <4D023201.60601@ungoverned.org> Date: Sat, 11 Dec 2010 09:47:23 +0800 Message-ID: Subject: Re: How to make manifest without Export-Package From: Rice Yeh To: users@felix.apache.org Content-Type: multipart/alternative; boundary=0003255763fe031ff5049718a7ba --0003255763fe031ff5049718a7ba Content-Type: text/plain; charset=ISO-8859-1 Yes, it works now. The cause for my problem is that I do not run maven clean to delete MANIFEST.MF file first and each run of mvn manifest just change items in MANIFEST.MF that have changed. Rice On Sat, Dec 11, 2010 at 1:20 AM, Stuart McCulloch wrote: > On 10 December 2010 16:44, Rice Yeh wrote: > > > No, it still does not work. > > > > The following configuration doesn't export the "org.foo.sh" package, as > expected: > > > > > org.apache.felix > maven-bundle-plugin > 2.1.0 > true > > > > org.foo.sh > > > > > > > what configuration are you using in your POM? > > -- > Cheers, Stuart > > > > On Fri, Dec 10, 2010 at 9:58 PM, Richard S. Hall > >wrote: > > > > > Seems like what you have should work. Maybe try something like: > > > > > > !org.foo.sh > > > > > > But still sounds odd to me. > > > > > > -> richard > > > > > > > > > On 12/10/10 3:46, Rice Yeh wrote: > > > > > >> Hi, > > >> My bundle has only one package org.foo.sh, but I do not like to > > export > > >> it. How do I do it with BND instructions thru. maven-bundle-plugin. My > > >> current instructions have no Export-Package and have > org.foo.shincluded > > >> in > > >> Private-Package as shown below. But I still get a manifest with > > >> org.foo.shlisted in Export-Package. > > >> > > >> > > >> > > >> org.foo.sh > > >> > > >> > > >> Regards, > > >> Rice > > >> > > >> > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: users-unsubscribe@felix.apache.org > > > For additional commands, e-mail: users-help@felix.apache.org > > > > > > > > > --0003255763fe031ff5049718a7ba--