When using org.apache.felix/maven-bundle-plugin, it appears that when
you specify a wildcard for a package, it will take all the matching
packages in the classpath, rather than just that module.

 

Module1

<Export-Package>com.mycom.api.d.*</Export-Package>

 

Module2 depends on Module1

<Export-Package>com.mycom.api.*</Export-Package>

 

This results in Module2 including the classes from Module1 rather than
only matching packages from Module2.

Reply via email to