On 9/21/07, Donald Woods <[EMAIL PROTECTED]> wrote:
> Okay, was just looking for more details.  Wasn't trying to shoot you down... 
> :-)
>
> So, you're not going as far as proposing real OSGi/Eclipse bundles, where we
> control which classes/methods are exported for others to use....

It is a real OSGi bundles.  The thing is not you only need to
reference the felix maven plugin (see Karl Pauls' reply).  But this is
very  easy to do.   As David mentioned, they are spec jars, so
basically everything will be exported without having to customize
anything (eventually a few optional dependencies here and there: for
example j2ee-management has an optional dependency on ejb spec imho).

>
> Sounds like a good start, as long as we can include the required bits as part
> of our normal m2 builds.

This is not a start :-) As I said, the jars would become real OSGi bundles.

I will work on a small patch to help you understand what it would be,
but you can look at what I've began to do for activemq:
http://svn.apache.org/viewvc?view=rev&revision=577760
It will be along those lines...

Hopes it clarifies a bit.

>
>
> -Donald
>
> Guillaume Nodet wrote:
> > Wait, wait....
> > I'm just talking about making the needed changes to add the manifest
> > entries so that the current jars can be recognized as valid OSGi
> > bundles.  This can be easily done using the felix maven plugin.   The
> > jars would be a minor update of the existing ones and would be
> > published to the same location (the maven repo).
> > The goal is just to have these jars available to use in an OSGi
> > environment for other projects.
> >
> > On 9/21/07, Donald Woods <[EMAIL PROTECTED]> wrote:
> >> Can this be added to the existing Maven2 spec builds?
> >> Is there a maven plugin for generating OSGi bundles?
> >> Where will these artifacts get published to?  Do we need to setup an 
> >> Eclipse
> >> style update site, for more than just our Devtools projects?
> >>
> >>
> >> -Donald
> >>
> >> Guillaume Nodet wrote:
> >>> For ServiceMix 4.0, which will be based on OSGi, I will need to have
> >>> OSGified versions of some of the spec jars that geronimo provides.
> >>> It's quite easy to do in ServiceMix (see
> >>> http://svn.apache.org/repos/asf/incubator/servicemix/branches/servicemix-4.0/bundles/
> >>> for servlet, j2ee-management, jms mainly), but I think it would be
> >>> more useful for other projects if the specs jars were bundles
> >>> themselves.
> >>>
> >>> This is quite a simple process that can be done incrementally without
> >>> any real side effect and low risk of regression.  So unless someone
> >>> objects, I'd like to start working on that.
> >>>
> >>
> >
> >
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to