You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason Dillon (JIRA)" <ji...@codehaus.org> on 2007/04/03 01:20:06 UTC

[jira] Commented: (MGROOVY-1) Support mojo plugin.xml generation for Groovy mojos

    [ http://jira.codehaus.org/browse/MGROOVY-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_91837 ] 

Jason Dillon commented on MGROOVY-1:
------------------------------------

FYI, I've recently learned (from looking at the new groovydoc sources) how to use the existing compiler to parse out all of the details needed to generate the plugin.xml from a *.groovy source.  Might have this working by the end of the week, with Groovy 1.0 too :-)

> Support mojo plugin.xml generation for Groovy mojos
> ---------------------------------------------------
>
>                 Key: MGROOVY-1
>                 URL: http://jira.codehaus.org/browse/MGROOVY-1
>             Project: Maven 2.x Groovy Plugin
>          Issue Type: New Feature
>            Reporter: Jason Dillon
>         Assigned To: Jason Dillon
>             Fix For: 1.0-alpha-3
>
>
> Right now there isn't really a good way to generate a plugin.xml for a Mojo implemented in Groovy.
> There is the {{javalike-maven-plugin-tools}} module which kinda works, though requires some icky ";" tokens to get qDox to properly parse out javadocs for parameters.  I'm not sure that this module handles annotations on super-classes either.
> I've hacked up an extractor.groovy a while ago (MNG-1664) which uses regex, but that doesn't handle super-classes either.
> Really need a nice way to parse regular groovy (w/o needing ";') to generate a plugin.xml.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira