Uploaded image for project: 'Maven Linkcheck Plugin'
  1. Maven Linkcheck Plugin
  2. MLINKCHECK-24

Linkcheck should have check goal and 'haltOnFailure' option

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2
    • None
    • Checkstyle's project site

    Description

      Hello!
      We use maven-linkcheck-plugin to generate reports for checkstyle's sourceforge site: http://checkstyle.sourceforge.net/ .
      Nevertheless, it would be great, if linkcheck could have check goal and 'haltOnFailure' option to fail the build when 'bad' link would be found.

      For example, such maven plugins as pmd, findbugs, cobertura and jacoco have check goals and 'haltOnFailure' option which allows to halt the build if any of the checks fail during execution of check goal. maven-javadoc-plugin also has 'failOnError' flag which specifies if the build will fail if there are errors during javadoc execution or not.

      In addition to this, that goal would be very useful during CI to check commits automatically.

      So, would you be so kind as to implement such feature?

      Attachments

        Activity

          People

            Unassigned Unassigned
            MEZk Andrei Selkin
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: