You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Richard Wallace <rw...@thewallacepack.net> on 2009/06/16 02:17:26 UTC

[maven-bundle-plugin] How does it find the Import-Package version information?

Hello,

I thought I understood how the Import-Package version information is
determined by the maven-bundle-plugin 2.0.0.  But we seem to be
running into some stuff that's causing me to question whether I do or
not, so I could do with some clarification.  We have some bundles that
have Export-Package headers that specify version information because
the maven-bundle-plugin automatically generated them.  We have some
bundles whose Export-Package headers don't have any version
information because the Export-Package header is manually set in the
plugin configuration.  I'm trying to determine what the behaviour in
these situations is.  So, the questions:

Does the maven-bundle-plugin always inspect the manifest file to
determine the Import-Package information for the maven packaging types
"bundle" and "jar"?  Are there other places it looks for the
information of dependency versions?

What happens when it finds an Export-Package in a dependency manifest
file for a package used by a class in the bundle being built when the
version information isn't in the Export-Package header?  Does it use
the Bundle-Version?  If not, should it?

Thanks,
Rich

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org