From 9d81a178a4a482727e3b104ba11b14c7f35eb39e Mon Sep 17 00:00:00 2001 From: "Lee, Tian (tl5884)" Date: Tue, 17 Apr 2018 15:31:49 +0100 Subject: [PATCH] Re-add maven license plugin The plugin is now configured to enforce the presence of license headers without overwriting any existing headers. Change-Id: I11c2fc6fed0d893153f1bb8c02d5b9a70e56cdae Issue-ID: AAI-920 Signed-off-by: Lee, Tian (tl5884) --- License.txt | 18 +++++++++++++++++ pom.xml | 65 ++++++++++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 65 insertions(+), 18 deletions(-) create mode 100644 License.txt diff --git a/License.txt b/License.txt new file mode 100644 index 0000000..0a7259c --- /dev/null +++ b/License.txt @@ -0,0 +1,18 @@ +============LICENSE_START======================================================= +org.onap.aai +================================================================================ +Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. +Copyright © 2017-2018 European Software Marketing Ltd. +================================================================================ +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. +============LICENSE_END========================================================= \ No newline at end of file diff --git a/pom.xml b/pom.xml index 752ae2d..568abc1 100644 --- a/pom.xml +++ b/pom.xml @@ -1,21 +1,25 @@ - - - - - - - - - - - - - - - - - - + 4.0.0 @@ -482,6 +486,31 @@ + + + com.mycila + license-maven-plugin + 3.0 + +
License.txt
+ + src/main/java/** + src/test/java/** + pom.xml + + true +
+ + + + + check + + process-sources + + +
+ -- 2.16.6