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

headerLocation no longer sets checkstyle.header.file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.12
    • 2.12.1, 2.13
    • None
    • None
    • JDK 7u51 on OS X with Maven 3.1.0

    Description

      We use a multi-module configuration as described at https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html

      This morning I tried upgraded to checkstyle-plugin 2.12 and our builds started failing with:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.12:check (default-cli) on project common: Failed during checkstyle execution: Failed during checkstyle configuration: unable to read /path/to/common/target/checkstyle-checker.xml - unable to parse configuration stream - Property ${checkstyle.header.file} has not been set -> [Help 1]
      

      Our config hasn't changed in almost two years. We are currently using v2.11 so this seems like a regression in 2.12

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              diwakergupta Diwaker Gupta
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: