Skip to content

Commit 72324d7

Browse files
committed
Excludes generated from license check
1 parent cd58778 commit 72324d7

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

codingstyle/license-header.ftl

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
${projectName}
2+
Copyright (C) ${inceptionYear} ${organizationName}
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+

pom.xml

+5-1
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,12 @@
301301
<inceptionYear>1997</inceptionYear>
302302
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
303303
<licenseName>lgpl_v2_1</licenseName>
304+
<organizationName>Raja Vallée-Rai and others</organizationName>
305+
<descriptionTemplate>${checkstyle.dir.path}/license-header.ftl</descriptionTemplate>
304306
<roots>
305-
<root>src/</root>
307+
<root>src/main/java</root>
308+
<root>src/test/java</root>
309+
<root>src/it</root>
306310
</roots>
307311
</configuration>
308312
<executions>

0 commit comments

Comments
 (0)