[
http://jira.codehaus.org/browse/MPCHECKSTYLE-28?page=comments#action_40763 ]
Carlos Sanchez commented on MPCHECKSTYLE-28:
--------------------------------------------
You can add this to your maven.xml as a workaround
<preGoal name="site:run-reports">
<j:set var="maven.checkstyle.fail.on.violation.old"
value="${maven.checkstyle.fail.on.violation}"/>
<j:set var="maven.checkstyle.fail.on.violation" value="false"/>
</preGoal>
<postGoal name="site:run-reports">
<j:set var="maven.checkstyle.fail.on.violation"
value="${maven.checkstyle.fail.on.violation.old}"/>
</postGoal>
> maven.checkstyle.fail.on.violation make the site generation fail
> ----------------------------------------------------------------
>
> Key: MPCHECKSTYLE-28
> URL: http://jira.codehaus.org/browse/MPCHECKSTYLE-28
> Project: maven-checkstyle-plugin
> Type: Bug
> Versions: 2.5
> Reporter: Julien Kirch
>
>
> When having maven.checkstyle.fail.on.violation=true and generating the site,
> the checkstyle report make the process fail when the project code contains a
> checkstyle error.
> As the site generation should only fail for technical reason,
> "maven.checkstyle.fail.on.violation" should be set to false when using the
> plugin to generate a report.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]