Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-451

Add "skip" option to javadoc:fix goal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.10.3
    • None
    • fix
    • None
    • all
    • Patch

    Description

      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!

      Attachments

        1. skip.patch
          2 kB
          Richard Sand
        2. maven-javadoc-plugin-MJAVADOC451.patch
          2 kB
          Richard Sand
        3. javadocfix-loop.zip
          75 kB
          Richard Sand

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              rsand Richard Sand
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified