Hi Robert.Thank you very much! Is this configuration wrong? There are such specifications in OSGi. https://osgi.org/specification/osgi.core/7.0.0/framework.module.html#i3106983
Robert Munteanu <romb...@apache.org> 于2019年8月6日周二 下午4:40写道: > Hi Duan, > > On Tue, 2019-08-06 at 16:36 +0800, duan2ping DL• wrote: > > Hi! > > > > I have some questions about Export-Package. > > > > Example: > > > > <plugin> > > <groupId>org.apache.felix</groupId> > > <artifactId>maven-bundle-plugin</artifactId> > > <configuration> > > <instructions> > > <Export-Package> > > com.duan2ping.api.model;exclude:="*Dao";include="*Service,*Activetor, > > *Info,ShellTable" > > </Export-Package> > > ...... > > </instructions> > > </configuration> > > </plugin> > > (snip) > > I don't have answers to your specific questions, but you can not import > or export parts of a package. In OSGi as package is either exported or > it's not. > > Hope this helps, > > Robert > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > >