Hi,

I took a quick look at the OSGi plugin that you guys have and I quickly tried to hack it up so that the standard Maven Jar plugin used some of the logic to add the appropriate manifest entries.

I believe the the plugin is trying to pull in all the dependencies and create a bundle from that, but what I would like to try first is doing something non-invasive and add manifest entries to standard JARs that are created by Maven. I think a simple first step that, while not ideal for OSGi, gets you something without much effort.

If you can make me something that takes a Maven project object and produces a Properties object containing all the entries you would like inserted in the manifest I can probably get that wired in, propose it's inclusion as standard on the Maven list and go from there. So I need you a signature like the following:

Properties getManifestEntries( MavenProject project )
    throws MojoExecutionException;

I will also take a look at how we can make the JAR plugin easier to extend so that you can create proper OSGi bundles without having to completely rewrite your own plugin to make bundles.

Please cc me on any responses to the list as I'm not subscribed right now.

Thanks,

Jason van Zyl
[EMAIL PROTECTED]



Reply via email to