You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/03/16 22:40:18 UTC

[jira] [Closed] (MCHECKSTYLE-94) Don't fail site generation if config file not reachable

     [ https://issues.apache.org/jira/browse/MCHECKSTYLE-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MCHECKSTYLE-94.
-------------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.

> Don't fail site generation if config file not reachable
> -------------------------------------------------------
>
>                 Key: MCHECKSTYLE-94
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-94
>             Project: Maven Checkstyle Plugin
>          Issue Type: Improvement
>          Components: checkstyle:checkstyle, checkstyle:checkstyle-aggregate
>    Affects Versions: 2.1
>            Reporter: Benjamin Bentmann
>            Priority: Major
>
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)