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