Diwaker Gupta created MCHECKSTYLE-225:
-----------------------------------------
Summary: headerLocation no longer sets checkstyle.header.file
Key: MCHECKSTYLE-225
URL: https://jira.codehaus.org/browse/MCHECKSTYLE-225
Project: Maven Checkstyle Plugin
Issue Type: Bug
Affects Versions: 2.12
Environment: JDK 7u51 on OS X with Maven 3.1.0
Reporter: Diwaker Gupta
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:
{noformat}
[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]
{noformat}
Our config hasn't changed in almost two years. We are currently using v2.11 so
this seems like a regression in 2.12
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)