Uploaded image for project: 'Maven Checkstyle Plugin'
  1. Maven Checkstyle Plugin
  2. MCHECKSTYLE-94

Don't fail site generation if config file not reachable

    XMLWordPrintableJSON

    Details

      Description

      Over at Mojo we use the maven_checks from the SVN trunk. Trying to build the site fails if the SVN server is down causes:

      [INFO] Generating "Checkstyle" report.
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error during page generation
      
      Embedded error: Error rendering Maven report: Unable to find configuration file location.
      Connection timed out: connect
      

      The checkstyle:check goal should abort the build for sure, but the mere report generation by {{checkstyle:checkstyle} should simply output a warning and continue with the show.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bentmann Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: