[ 
https://issues.apache.org/jira/browse/POOL-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425183#comment-13425183
 ] 

Liviu Tudor commented on POOL-223:
----------------------------------

the {{checkstyle.header.file}} property needs to be set to 
{{license-header.txt}} (found in the project root).
The attached patch fixes just that.
                
> Checkstyle reports "Missing a header - not enough lines in file." on most 
> sources
> ---------------------------------------------------------------------------------
>
>                 Key: POOL-223
>                 URL: https://issues.apache.org/jira/browse/POOL-223
>             Project: Commons Pool
>          Issue Type: Improvement
>    Affects Versions: 1.6
>            Reporter: Liviu Tudor
>            Priority: Trivial
>              Labels: checkstyle
>             Fix For: 1.6.1
>
>         Attachments: POOL-223.patch.bz2
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> It seems that due to a misconfiguration in checkstyle, when running a {{mvn 
> site}} this error gets reported on a bunch of source files.
> It turns out that the {{checkstyle.header.file}} property is not configured 
> in {{pom.xml}}.
> This patch fixes this so the checkstyle issues related to this are eliminated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to