You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Liviu Tudor (JIRA)" <ji...@apache.org> on 2012/07/30 22:15:33 UTC
[jira] [Created] (POOL-223) Checkstyle reports "Missing a header -
not enough lines in file." on most sources
Liviu Tudor created POOL-223:
--------------------------------
Summary: 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
Fix For: 1.6.1
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
[jira] [Updated] (POOL-223) Checkstyle reports "Missing a header -
not enough lines in file." on most sources
Posted by "Liviu Tudor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/POOL-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liviu Tudor updated POOL-223:
-----------------------------
Attachment: POOL-223.patch.bz2
patch for {{pom.xml}} for checkstyle
> 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
[jira] [Resolved] (POOL-223) Checkstyle reports "Missing a header -
not enough lines in file." on most sources
Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/POOL-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory resolved POOL-223.
----------------------------------
Resolution: Fixed
commit -m "[POOL-223] Checkstyle reports "Missing a header - not enough lines in file." on most sources" C:/svn/org/apache/commons/branches/pool-1.x/src/changes/changes.xml C:/svn/org/apache/commons/branches/pool-1.x/pom.xml
Sending C:/svn/org/apache/commons/branches/pool-1.x/pom.xml
Sending C:/svn/org/apache/commons/branches/pool-1.x/src/changes/changes.xml
Transmitting file data ...
Committed revision 1367315.
> 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
[jira] [Commented] (POOL-223) Checkstyle reports "Missing a header
- not enough lines in file." on most sources
Posted by "Liviu Tudor (JIRA)" <ji...@apache.org>.
[ 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