You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2008/07/18 13:58:27 UTC

[jira] Updated: (MJAVADOC-78) Add a flag to provide standard doclet parameters to custom ones too

     [ http://jira.codehaus.org/browse/MJAVADOC-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton updated MJAVADOC-78:
------------------------------------

    Fix Version/s: 2.5

> 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
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Andrea Aime
>             Fix For: 2.5
>
>         Attachments: JAVADOC-78.patch, pom.xml
>
>
> 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