Don't fail build if config file not reachable
---------------------------------------------

                 Key: MCHECKSTYLE-94
                 URL: http://jira.codehaus.org/browse/MCHECKSTYLE-94
             Project: Maven 2.x Checkstyle Plugin
          Issue Type: Improvement
    Affects Versions: 2.1
            Reporter: Benjamin Bentmann


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:
{noformat}
[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
{noformat}

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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to