[ https://jira.codehaus.org/browse/MCHECKSTYLE-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=343443#comment-343443 ]
Kasra F commented on MCHECKSTYLE-225: ------------------------------------- I've also encountered this problem. Plugin configuration is as follows: {code} <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.12</version> <executions> <execution> <phase>process-sources</phase> <goals> <goal>check</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>com.offbynull.peernetic</groupId> <artifactId>build-tools</artifactId> <version>${project.version}</version> </dependency> </dependencies> <configuration> <consoleOutput>true</consoleOutput> <configLocation>build-tools/checkstyle.xml</configLocation> <headerLocation>build-tools/LICENSE.txt</headerLocation> </configuration> </plugin> {code} > 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)