Skip to content

Commit beb3373

Browse files
committed
improve: license headers
1 parent 278f103 commit beb3373

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

license-header.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (C) ${project.inceptionYear} ${owner}
1+
Copyright (C) Java Operator SDK authors
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

pom.xml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,33 @@
361361
</execution>
362362
</executions>
363363
</plugin>
364-
364+
<plugin>
365+
<groupId>com.mycila</groupId>
366+
<artifactId>license-maven-plugin</artifactId>
367+
<version>5.0.0</version>
368+
<configuration>
369+
<aggregate>true</aggregate>
370+
<licenseSets>
371+
<licenseSet>
372+
<header>license-header.txt</header>
373+
<excludes>
374+
<exclude>**/.idea</exclude>
375+
<exclude>.idea</exclude>
376+
<exclude>license-header.txt</exclude>
377+
<exclude>OWNERS</exclude>
378+
<exclude>.mvn/**/*</exclude>
379+
<exclude>mvnw</exclude>
380+
<exclude>mvnw.cmd</exclude>
381+
</excludes>
382+
</licenseSet>
383+
</licenseSets>
384+
<mapping>
385+
<go>JAVADOC_STYLE</go>
386+
<svg>XML_STYLE</svg>
387+
<Makefile>SCRIPT_STYLE</Makefile>
388+
</mapping>
389+
</configuration>
390+
</plugin>
365391
</plugins>
366392
</build>
367393
<profiles>

0 commit comments

Comments
 (0)