Introduce license header templates
To support multiple license headers simultaneously, a license folder for holding licenses is introduced. The original "Bosch Software Innovations GmbH" license header is set as default and the Siemens license header is added as an example for a further valid license. Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Himanshu Kumar Singh <himanshu.singh@siemens.com>
This commit is contained in:
6
licenses/LICENSE_HEADER_TEMPLATE_SIEMENS.txt
Normal file
6
licenses/LICENSE_HEADER_TEMPLATE_SIEMENS.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
Copyright (c) Siemens AG, 2017
|
||||||
|
|
||||||
|
All rights reserved. This program and the accompanying materials
|
||||||
|
are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
which accompanies this distribution, and is available at
|
||||||
|
http://www.eclipse.org/legal/epl-v10.html
|
||||||
6
pom.xml
6
pom.xml
@@ -211,7 +211,10 @@
|
|||||||
<artifactId>license-maven-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<version>2.11</version>
|
<version>2.11</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<header>LICENCE_HEADER_TEMPLATE.txt</header>
|
<header>licenses/LICENSE_HEADER_TEMPLATE_BOSCH.txt</header>
|
||||||
|
<validHeaders>
|
||||||
|
<validHeader>licenses/LICENSE_HEADER_TEMPLATE_SIEMENS.txt</validHeader>
|
||||||
|
</validHeaders>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/README</exclude>
|
<exclude>**/README</exclude>
|
||||||
<exclude>3rd-dependencies/**</exclude>
|
<exclude>3rd-dependencies/**</exclude>
|
||||||
@@ -226,6 +229,7 @@
|
|||||||
<exclude>**/Dockerfile</exclude>
|
<exclude>**/Dockerfile</exclude>
|
||||||
<exclude>**/.sonar/**</exclude>
|
<exclude>**/.sonar/**</exclude>
|
||||||
<exclude>docs/src/main/resources/**</exclude>
|
<exclude>docs/src/main/resources/**</exclude>
|
||||||
|
<exclude>**/LICENSE*</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
<mapping>
|
<mapping>
|
||||||
<scss>JAVADOC_STYLE</scss>
|
<scss>JAVADOC_STYLE</scss>
|
||||||
|
|||||||
Reference in New Issue
Block a user