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

"mvn clean site -Preporting" fails with Could not find resource 'config/maven_checks.xml'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.16
    • 2.17
    • None
    • None

    Description

      Here is the output:

      [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.
      

      The reason is that maven_checks.xml has been moved to Maven Shared Resources but this plugin has not been changed.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: