Skip to content

Commit 4ab757e

Browse files
author
Colin
committed
update header
1 parent 6356955 commit 4ab757e

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

etc/headerStyle.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="ISO-8859-1"?>
2+
<additionalHeaders>
3+
<javadoc_style>
4+
<firstLine>/*</firstLine>
5+
<beforeEachLine> * </beforeEachLine>
6+
<endLine> */</endLine>
7+
<!--<afterEachLine></afterEachLine>-->
8+
<!--skipLine></skipLine-->
9+
<firstLineDetectionPattern>(\s|\t)*/\*.*$</firstLineDetectionPattern>
10+
<lastLineDetectionPattern>.*\*/(\s|\t)*$</lastLineDetectionPattern>
11+
<allowBlankLines>false</allowBlankLines>
12+
<isMultiline>true</isMultiline>
13+
<padLines>false</padLines>
14+
</javadoc_style>
15+
</additionalHeaders>

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,15 @@
453453
<groupId>com.mycila.maven-license-plugin</groupId>
454454
<artifactId>maven-license-plugin</artifactId>
455455
<configuration>
456-
<header>src/etc/header.txt</header>
456+
<header>etc/header.txt</header>
457+
<headerDefinitions>
458+
<headerDefinition>etc/headerStyle.xml</headerDefinition>
459+
</headerDefinitions>
460+
<excludes>
461+
<exclude>**/README</exclude>
462+
<exclude>src/test/resources/**</exclude>
463+
<exclude>src/main/resources/**</exclude>
464+
</excludes>
457465
</configuration>
458466
</plugin>
459467
</plugins>

0 commit comments

Comments
 (0)