On 5/24/06, Richard S. Hall <[EMAIL PROTECTED]> wrote:

For those who may not have paid attention to the the JIRA message
describing the Maven OSGi plugin update, I will repeat it here.

Peter Kriens' submitted a patch to the plugin to automatically generate
Import-Package and Bundle-Activator headers and to verify Export-Package
headers. I committed this patch.

I converted all of my subprojects POM files to remove both
Import-Package and Bundle-Activator entries and everything is working
fine. Sweet!

Please test this on your own POM files. It is somewhat simplistic when
determining the bundle activator, so if you import your activator or
have subclasses, etc. then it might not detect it correctly, thus you
should add it manually.

Nonetheless, it should greatly simplify bundle development.

-> richard


Richard,

Is the documentation on the usage of the Maven OSGi plugin up-to-date at
http://docs.safehaus.org/display/OSGI/OSGi+Plugin+for+Maven+2.0?

--
timothy

Reply via email to