You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Mark Derricutt <ma...@talios.com> on 2012/07/19 02:40:29 UTC

Re: plugin annotations retention policy

On 28/06/12 9:41 PM, Milos Kleint wrote:
> Hello,
>
> I'm in the process of rewriting the nbm-maven-plugin at mojo to use
> the new annotations instead of javadoc tags. It appears to be working
> fine, but I'm wondering why the retention policy is CLASS. Since it's
>

First up I must say I love the new annotations, but one thing I dislike 
is that the plugin still seems to only parse java SOURCE files, I was 
hoping to be able to use these annotations to use Clojure, or Kotlin, or 
any other JVM language to write a plugin, but it seems not - unless I'm 
missing something as Olivier mentioned using ASM?

I'll have to give it another go....

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: plugin annotations retention policy

Posted by Mark Derricutt <ma...@talios.com>.
On Fri Jul 20 07:59:03 2012, Hervé BOUTEMY wrote:

> Can you provide a sample Clojure or Kotlin project to test descriptor
> generation?

I'll make up a sample project tonight and see if I can reproduce what I 
was seeing awhile ago.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: plugin annotations retention policy

Posted by Hervé BOUTEMY <he...@free.fr>.
yes, DefaultMojoAnnotationsScanner reads .class files, not their sources

Can you provide a sample Clojure or Kotlin project to test descriptor 
generation?

Regards,

Hervé

Le jeudi 19 juillet 2012 12:40:29 Mark Derricutt a écrit :
> On 28/06/12 9:41 PM, Milos Kleint wrote:
> > Hello,
> > 
> > I'm in the process of rewriting the nbm-maven-plugin at mojo to use
> > the new annotations instead of javadoc tags. It appears to be working
> > fine, but I'm wondering why the retention policy is CLASS. Since it's
> 
> First up I must say I love the new annotations, but one thing I dislike
> is that the plugin still seems to only parse java SOURCE files, I was
> hoping to be able to use these annotations to use Clojure, or Kotlin, or
> any other JVM language to write a plugin, but it seems not - unless I'm
> missing something as Olivier mentioned using ASM?
> 
> I'll have to give it another go....
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org