Hi Robert.Thank you very much for your reply! Robert Munteanu <romb...@apache.org> 于2019年8月6日周二 下午5:52写道:
> Hi Duan, > > On Tue, 2019-08-06 at 16:57 +0800, duan2ping DL• wrote: > > 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 > > I stand corrected then :-) I had no idea this was possible. > > Robert > > > > > 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,*Active > > > > tor, > > > > *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 > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > >