checkstyle-header.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0"?>
  2. <!--
  3. ~ Password Management Servlets (PWM)
  4. ~ http://www.pwm-project.org
  5. ~
  6. ~ Copyright (c) 2006-2009 Novell, Inc.
  7. ~ Copyright (c) 2009-2018 The PWM Project
  8. ~
  9. ~ This program is free software; you can redistribute it and/or modify
  10. ~ it under the terms of the GNU General Public License as published by
  11. ~ the Free Software Foundation; either version 2 of the License, or
  12. ~ (at your option) any later version.
  13. ~
  14. ~ This program is distributed in the hope that it will be useful,
  15. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. ~ GNU General Public License for more details.
  18. ~
  19. ~ You should have received a copy of the GNU General Public License
  20. ~ along with this program; if not, write to the Free Software
  21. ~ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  22. -->
  23. <!DOCTYPE module PUBLIC
  24. "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
  25. "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
  26. <!--
  27. PWM Checkstyle definition
  28. -->
  29. <module name="Checker">
  30. <module name="Header">
  31. <property name="headerFile" value="${basedir}/build/license-header-jsp.txt"/>
  32. <property name="fileExtensions" value="jsp"/>
  33. </module>
  34. <module name="Header">
  35. <property name="headerFile" value="${basedir}/build/license-header-java.txt"/>
  36. <property name="fileExtensions" value="java,css"/>
  37. </module>
  38. <module name="Header">
  39. <property name="headerFile" value="${basedir}/build/license-header-xml.txt"/>
  40. <property name="fileExtensions" value="xml,svg"/>
  41. </module>
  42. <module name="Header">
  43. <property name="headerFile" value="${basedir}/build/license-header-properties.txt"/>
  44. <property name="fileExtensions" value="properties"/>
  45. </module>
  46. <module name="Header">
  47. <property name="headerFile" value="${basedir}/build/license-header-js.txt"/>
  48. <property name="fileExtensions" value="js,ts"/>
  49. </module>
  50. </module>