You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Richard Sand (JIRA)" <ji...@apache.org> on 2016/07/12 21:21:20 UTC

[jira] [Updated] (MJAVADOC-451) Add "skip" option to javadoc:fix goal

     [ https://issues.apache.org/jira/browse/MJAVADOC-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Sand updated MJAVADOC-451:
----------------------------------
    Attachment: maven-javadoc-plugin-MJAVADOC451.patch

Updated patch against trunk

> Add "skip" option to javadoc:fix goal
> -------------------------------------
>
>                 Key: MJAVADOC-451
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-451
>             Project: Maven Javadoc Plugin
>          Issue Type: Improvement
>          Components: javadoc
>    Affects Versions: 2.10.3
>         Environment: all
>            Reporter: Richard Sand
>            Priority: Minor
>         Attachments: maven-javadoc-plugin-MJAVADOC451.patch, skip.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I've a project where we want to use the javadoc:fix goal in a non-interactive (forced) mode. I know this isn't recommended usage but we have specific reasons for this particular project. It is useful to have a parameter to tell maven to skip this goal if desired. 
> Also, since using the javadoc:fix with "force" as part of the build lifecycle will cause an endless loop as maven executes the clirr:check goal, adding this parameter allows javadoc:fix to invoke clirr:check without looping.
> Many other goals/plugins have a skip parameter, so I added one called "maven.javadoc.fix.skip".
> I've provided a patch here to add this parameter. Its a trivial enough patch that I hope you'll allow it for 2.10.4. Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)