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é
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to