[
http://jira.codehaus.org/browse/MCHECKSTYLE-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117149
]
Dennis Lundberg commented on MCHECKSTYLE-46:
--------------------------------------------
The headerFile parameter is deprecated. You should only use headerLocation.
What does your plugin configuration in the pom look like?
> Don't set checkstyle.header.file property when using a custom checkstyle xml
> file
> ---------------------------------------------------------------------------------
>
> Key: MCHECKSTYLE-46
> URL: http://jira.codehaus.org/browse/MCHECKSTYLE-46
> Project: Maven 2.x Checkstyle Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Carlos Sanchez
> Fix For: 2.2
>
>
> I'd like to use this code in my xml, but maven will always set
> checkstyle.header.file to LICENSE.txt, forcing me to set also headerLocation
> {code}
> <module name="RegexpHeader">
> <property name="headerFile" value="${checkstyle.header.file}"
> default="config/maven-header.txt"/>
> </module>
> {code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira