[
https://issues.apache.org/jira/browse/MJAVADOC-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957814#comment-17957814
]
Olivier Lamy commented on MJAVADOC-451:
---------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-javadoc-plugin#743|https://github.com/apache/maven-javadoc-plugin/issues/743].
> Add "skip" option to javadoc:fix goal
> -------------------------------------
>
> Key: MJAVADOC-451
> URL: https://issues.apache.org/jira/browse/MJAVADOC-451
> Project: Maven Javadoc Plugin (Moved to GitHub Issues)
> Issue Type: Improvement
> Components: fix
> Affects Versions: 2.10.3
> Environment: all
> Reporter: Richard Sand
> Assignee: Robert Scholte
> Priority: Minor
> Attachments: javadocfix-loop.zip,
> 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
(v8.20.10#820010)