Ate Douma created RAT-125: ----------------------------- Summary: Support applied ASL20 license headers, including checking for required copyright header line Key: RAT-125 URL: https://issues.apache.org/jira/browse/RAT-125 Project: Apache Rat Issue Type: Improvement Affects Versions: 0.9 Reporter: Ate Douma Fix For: 0.9 Attachments: RAT-125.patch
While checking on an ASL20 license header itself is supported by Apache Rat (duh), properly checking an applied ASL20 license (for usage *outside* the ASF) isn't supported yet. I've created an AppliedApacheSoftwareLicense20 check which does check this, using the http://apache.org/licenses/LICENSE-2.0.html#apply template as template (duh). This header matcher itself extends a more generic CopyrightHeader matcher, which only takes care of the copyright header line validation, using a regex pattern + configurable copyright owner. I'll attach a patch with the above two header matchers + unit tests shortly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira