checkstyle-header.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Password Management Servlets (PWM)
  4. ~ http://www.pwm-project.org
  5. ~
  6. ~ Copyright (c) 2006-2009 Novell, Inc.
  7. ~ Copyright (c) 2009-2021 The PWM Project
  8. ~
  9. ~ Licensed under the Apache License, Version 2.0 (the "License");
  10. ~ you may not use this file except in compliance with the License.
  11. ~ You may obtain a copy of the License at
  12. ~
  13. ~ http://www.apache.org/licenses/LICENSE-2.0
  14. ~
  15. ~ Unless required by applicable law or agreed to in writing, software
  16. ~ distributed under the License is distributed on an "AS IS" BASIS,
  17. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. ~ See the License for the specific language governing permissions and
  19. ~ limitations under the License.
  20. -->
  21. <!DOCTYPE module PUBLIC
  22. "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
  23. "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
  24. <!--
  25. PWM Checkstyle definition
  26. -->
  27. <module name="Checker">
  28. <module name="SuppressionFilter">
  29. <property name="file" value="${basedir}/build/checkstyle-suppression.xml" />
  30. </module>
  31. <module name="Header">
  32. <property name="headerFile" value="${basedir}/build/license-header-jsp.txt"/>
  33. <property name="fileExtensions" value="jsp"/>
  34. </module>
  35. <module name="Header">
  36. <property name="headerFile" value="${basedir}/build/license-header-java.txt"/>
  37. <property name="fileExtensions" value="java"/>
  38. </module>
  39. <module name="Header">
  40. <property name="headerFile" value="${basedir}/build/license-header-xml.txt"/>
  41. <property name="fileExtensions" value="xml,svg,xsd,tld"/>
  42. </module>
  43. <module name="Header">
  44. <property name="headerFile" value="${basedir}/build/license-header-properties.txt"/>
  45. <property name="fileExtensions" value="properties"/>
  46. </module>
  47. <module name="Header">
  48. <property name="headerFile" value="${basedir}/build/license-header-js.txt"/>
  49. <property name="fileExtensions" value="js,ts"/>
  50. </module>
  51. <module name="Header">
  52. <property name="headerFile" value="${basedir}/build/license-header-css.txt"/>
  53. <property name="fileExtensions" value="css,scss,sass"/>
  54. </module>
  55. <module name="Header">
  56. <property name="headerFile" value="${basedir}/build/license-header-html.txt"/>
  57. <property name="fileExtensions" value="html"/>
  58. <property name="ignoreLines" value="1"/>
  59. </module>
  60. </module>