summaryrefslogtreecommitdiffstats
path: root/checkstyle/src/main/resources/onap-checkstyle/check-license.xml
blob: 9198c6e47d2e9418e567bf03fb67c59f364b3e79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
          "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
          "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<!-- Checks the license headers expected by ONAP. -->
<module name="Checker">
  <property name="charset" value="UTF-8"/>
  <property name="severity" value="error"/>
  <module name="RegexpSingleline">
    <property name="format" value="under the Apache License, Version 2\.0"/>
    <property name="minimum" value="1"/>
    <property name="maximum" value="10"/>
  </module>
  <module name="RegexpSingleline">
    <property name="format" value="http://www.apache\.org/licenses/LICENSE-2\.0"/>
    <property name="minimum" value="1"/>
    <property name="maximum" value="10"/>
  </module>
</module>