Yes, I will really try to create an initial version of this. Should I post a
jira task with the patches as it's progressing? I'm in a project right now
that is in desperate use for such a thing so I will probably have some
initial code ready quite soon.

BR,
Sten Roger Sandvik

On Fri, Jan 16, 2009 at 7:49 PM, Felix Meschberger <[email protected]>wrote:

> Hi Sten,
>
> Sten Roger Sandvik schrieb:
> > Hi.
> >
> > I looked at the SCR maven plugin and see that it only supports javadoc
> > attributes and not full Java 5 annotations. It would be really nice to
> > support this in the plugin. I looked at other projects like Naked OSGi,
> but
> > did not like that it only supports Java 6 (and the new annotation
> mirroring
> > API).
> >
> > So my question is: Has anybody something like this in progress? Using
> Java 5
> > annotations instead of javadoc attributes?
> > If not, I would really start looking into it. It seems to me that the
> > current maven plugin can easily be fitted to include both "styles". Any
> > comments on this?
>
> I am not aware of any one currently working on it.
>
> In fact, we have been discussing this a few days ago. Basically the
> problem is as follows: The outcome of the plugin would still have to be
> the component declaration files. But the settings could as well be
> defined by annotations instead of JavaDoc tags.
>
> And yes, I think, the plugin would certainly be able to cope with the
> annotation style, too.
>
> If you would take a stab at it and provide a patch (however partial this
> may be at first), it would certainly be welcomed.
>
> Regards
> Felix
>
> >
> > BR,
> > Sten Roger Sandvik
> >
>

Reply via email to