Thanks for https://issues.apache.org/jira/browse/KARAF-567 Dan,
Kind regards, Andreas On Mon, Apr 11, 2011 at 8:53 AM, Andreas Pieber <[email protected]> wrote: > You're absolutely right... According to the pom.xml it should be ignored: > > <plugins> > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <configuration> > <instructions> > > <Import-Package>!${project.artifactId}*,*</Import-Package> > > <Private-Package>${project.artifactId}.impl</Private-Package> > </instructions> > </configuration> > </plugin> > </plugins> > > It seams to me that the maven bundle plugin does something wrong here > and that it is very likely that more than this bundle are affected. > Can you please create an JIRA issue for this problem? > > Thanks and kind regards, > Andreas > > On Fri, Apr 8, 2011 at 6:30 PM, Dan Tran <[email protected]> wrote: >> Hi >> >> Is it accidental that Karaf expose the internal package? >> >> >> The following 'headers' output shows >> >> headers 13 >> >> Apache Karaf :: JAAS :: Config (13) >> ----------------------------------- >> Manifest-Version = 1.0 >> Bnd-LastModified = 1298641818794 >> Tool = Bnd-1.15.0 >> Built-By = jgoodyea >> Build-Jdk = 1.6.0_21 >> Created-By = Apache Maven Bundle Plugin >> >> Bundle-Vendor = The Apache Software Foundation >> Bundle-Name = Apache Karaf :: JAAS :: Config >> Bundle-DocURL = http://www.apache.org/ >> Bundle-Description = This bundle provides the configuration facility >> for the JAAS security framework. >> Bundle-SymbolicName = org.apache.karaf.jaas.config >> Bundle-Version = 2.2.0 >> Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt >> Bundle-ManifestVersion = 2 >> >> Import-Service = >> org.apache.karaf.jaas.config.JaasRealm;availability:=optional, >> org.apache.karaf.jaas.config.KeystoreInstance;availability:=optional >> Export-Service = >> >> org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace=, >> org.apache.karaf.jaas.config.KeystoreManager >> >> Import-Package = >> javax.net.ssl, >> javax.security.auth.login, >> org.apache.aries.blueprint;version="[0.3,1)", >> org.apache.aries.blueprint.mutable;version="[0.3,1)", >> org.apache.karaf.jaas.boot;version="[2.2,3)", >> org.osgi.framework;version="[1.5,2)", >> org.osgi.service.blueprint;version="[1.0.0,2.0.0)", >> org.osgi.service.blueprint.container;version="[1.0,2)", >> org.osgi.service.blueprint.reflect;version="[1.0,2)", >> org.slf4j;version="[1.6,2)", >> org.w3c.dom >> Export-Package = >> org.apache.karaf.jaas.config.impl; >> <=========================================== package in question >> uses:="org.apache.karaf.jaas.boot, >> javax.security.auth.login, >> org.osgi.framework, >> org.apache.karaf.jaas.config, >> org.apache.aries.blueprint, >> org.osgi.service.blueprint.reflect, >> org.osgi.service.blueprint.container, >> org.apache.aries.blueprint.mutable, >> org.w3c.dom, >> javax.net.ssl, >> org.slf4j"; >> version=2.2.0, >> >> org.apache.karaf.jaas.config;uses:="javax.security.auth.login,javax.net.ssl";version=2.2.0 >> >
