Thanks JB

I also never use include / exclude in the export-package instruction.
I see this feature in the OSGi specification, I tried it and found this
problem.

Jean-Baptiste Onofré <[email protected]> 于2019年8月13日周二 下午2:18写道:

> Hi,
>
> You can take a look on the updated documentation of the
> maven-bundle-plugin:
>
>
> http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html
>
> I never use include/exclude in export-package instruction as it's
> related to the source.
>
> Regards
> JB
>
> On 13/08/2019 05:11, 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>
> > Selection_117.png
> > ①  Why "include=" and "include:=" are right ,But exclude can only be ":="
> > ②  The plugin display is
> > "exclude:="*Dao";include="*Service,*Activetor,*Info,ShellTable"" ,But
> > the "header bundle ID" shows
> > "exclude:=*Dao;include="*Service,*Activetor,*Info,ShellTable"".
> > Missing " " symbol.
> >
> > best regards
> > duan
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to