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
        Type: Bug

    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

Reply via email to