Hi,

I am using the maven-bundle-plugin 3.0.1 to create an OSGi bundle. May
Maven project has a packaging of "bundle" and the m-bundle-p generates a
MANIFEST.MF for me.

Alas, unlike what's described in the documentation, my exported packages
are *not* imported.

>From the documentation [1]:

> Any exported packages are also imported by default, to ensure a 
> consistent class space.

and

> Additionally, it generates imports for every export to ensure package
> substitutability, which is very important when working with
> collaborating services.

I am not using any <instructions> except for <Bundle-DocURL> (IMHO,
${project.url} is a much better DocURL than
${project.organization.url}), so <Export-Package> and <Import-Package>
are using their default values.

Can someone please point out the mistake I am making here?

Best wishes,

Andreas

[1]
<https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html>

-- 
Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to