maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Coco (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MJAVADOC-78) Add a flag to provide standard doclet parameters to custom ones too
Date Mon, 05 Jun 2006 02:43:43 GMT
    [ http://jira.codehaus.org/browse/MJAVADOC-78?page=comments#action_66590 ] 

Steven Coco commented on MJAVADOC-78:
-------------------------------------

What a bizarre icon showed up!  I didn't mean to make a warning sign in the above comment;
sorry.  I typed an exclamation point in parentheses...

> Add a flag to provide standard doclet parameters to custom ones too
> -------------------------------------------------------------------
>
>          Key: MJAVADOC-78
>          URL: http://jira.codehaus.org/browse/MJAVADOC-78
>      Project: Maven 2.x Javadoc Plugin
>         Type: Improvement

>     Versions: 2.0
>     Reporter: Andrea Aime

>
>
> I'm working on a custom doclet that wraps the standard doclet and add extra behaviour
(automated class diagram generation in class javadocs and package javadocs). I want to run
it under maven 2, but I've stumbled against the default behaviour: standard doclet parameters
such as -link are provided only if the javadoc is the standard one (in AbstractJavadocMojo.java,
the check is "if ( StringUtils.isEmpty( doclet ) ) ...").
> A generally good behaviour would be not perform assumptions, but to call XXXDoclet.optionLength
for each parameter, and see if the doclet accepts them or not (and thus provide only the one
accepted). As an alternative, add at least a flag to allow the provision of the standard doclet
parameters to the custom ones as well.

-- 
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


Mime
View raw message