[ https://issues.apache.org/jira/browse/MJAVADOC-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15304852#comment-15304852 ]
Richard Sand commented on MJAVADOC-451: --------------------------------------- As per our discussion in MJAVADOC-452 - how do you want to handle this? The skip option is really needed if the goal is to be used unattended, and many other plugins have a skip parameter. I think maybe you object to also using the parameter within the goal itself, to prevent CLIRR from re-executing the fix goal and causing a loop? If so, I'm not sure how else to avoid that problem. Unless we used a separate parameter e.g. "invokedFromClirr" that we'd use internally but separate from the skip parameter. Is that preferable? > 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: 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)