Skip to content

Commit 8206dea

Browse files
committed
automatically create license header
1 parent 26e3a83 commit 8206dea

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,30 @@
8484
<encoding>${project.build.sourceEncoding}</encoding>
8585
</configuration>
8686
</plugin>
87+
<plugin>
88+
<groupId>org.codehaus.mojo</groupId>
89+
<artifactId>license-maven-plugin</artifactId>
90+
<version>1.4</version>
91+
<configuration>
92+
<verbose>false</verbose>
93+
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
94+
</configuration>
95+
<executions>
96+
<execution>
97+
<id>first</id>
98+
<goals>
99+
<goal>update-file-header</goal>
100+
</goals>
101+
<phase>process-sources</phase>
102+
<configuration>
103+
<licenseName>lgpl_v2_1</licenseName>
104+
<roots>
105+
<root>src/main/java</root>
106+
</roots>
107+
</configuration>
108+
</execution>
109+
</executions>
110+
</plugin>
87111
</plugins>
88112
</build>
89113
<properties>

0 commit comments

Comments
 (0)