Michael Osipov created MCHECKSTYLE-311:
------------------------------------------
Summary: "mvn clean site -Preporting" fails with Could not find
resource 'config/maven_checks.xml'
Key: MCHECKSTYLE-311
URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-311
Project: Maven Checkstyle Plugin
Issue Type: Bug
Affects Versions: 2.16
Reporter: Michael Osipov
Fix For: 2.17
Here is the output:
{noformat}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:20 min
[INFO] Finished at: 2015-09-30T22:20:30+02:00
[INFO] Final Memory: 47M/159M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project
maven-checkstyle-plugin: Error generating
maven-checkstyle-plugin:2.17-SNAPSHOT:checkstyle: Failed during checkstyle
execution: Unable to find configuration file at location:
config/maven_checks.xml: Could not find resource 'config/maven_checks.xml'. ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
{noformat}
The reason is that {{maven_checks.xml}} has been moved to Maven Shared
Resources but this plugin has not been changed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)