aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorAndy Mayer <am803u@att.com>2018-04-09 11:43:52 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-09 11:43:52 +0000
commit858cfa7e58f6378cf0a1eeb35a6b94eabd63b0c0 (patch)
treea36a55a0ae6d0c32e3ae441b07f4efbc7285bab7 /pom.xml
parentab5c0461ed1c1312c13d7d87b1b00f40fbbf7fa0 (diff)
parentecf907f1bc7340f6f7a8ebabbcd2055fe57683ae (diff)
Merge "Add Apache license header per file"
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 7efab27..d03e11e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+
+ Copyright (c) 2017 Orange. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -236,6 +254,30 @@
</dependency>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>com.mycila</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <version>3.0</version>
+ <configuration>
+ <header>LICENSE.TXT</header>
+ <includes>
+ <include>src/main/java/**</include>
+ <include>src/test/java/**</include>
+ <include>pom.xml</include>
+ </includes>
+ <skipExistingHeaders>true</skipExistingHeaders>
+ <skip>false</skip>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <!-- Set goal to "format" to auto update license headers -->
+ <goal>check</goal>
+ </goals>
+ <phase>process-sources</phase>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>