Hi @all,

I was wondering about the default behavior of the maven-bundle-plugin.
Currently the following is stated:

* <Export-Package> is assumed to be "<Bundle-SymbolicName>.*", unless
  <Private-Package> is specified, then <Export-Package> is assumed to be
  empty.
  * <Private-Package> is assumed to be empty by default.
  * <Import-Package> is assumed to be "*", which imports everything
    referred to by the bundle content, but not contained in the bundle.

Seems kind of odd to me. Can somebody give the reasons for this
decision?

E.g. if I wanna have a bundle which does not export anything. I could
state Private-Package to be * but that results in a MANIFEST.MF which
states that all kind of packages are private (also java.* osgi.* etc).
Which is not what you would expect. You can also state Export-Package to
be empty but thats kind of odd to when you then think that you have an
empty xml-tag in your pom.xml

Another question is how I can specify version ranges to imported
packages?

Cheers,

-Thijs

-- 
Thijs Metsch                        Tel: +49 (0)941 3075-122 (x60122)
Software Engineer Grid Computing 
Sun Microsystems GmbH
Dr.-Leo-Ritter-Str. 7               mailto:[EMAIL PROTECTED]
D-93049 Regensburg                  http://www.sun.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to