aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2017-07-19 11:22:32 -0700
committerPatrick Brady <pb071s@att.com>2017-07-19 13:10:04 -0700
commitfd8bc37fefc87d226fccb8aff3814e9f86cdc18f (patch)
tree05dbd16800e1796b1b328db8f70f7b1ee149d30c
parentf657391dcf4fe576fef9a464a9ef549b91ff1013 (diff)
Adding custom license for maven license plugin
[APPC-87] Fix Maven License Plugin Change-Id: If19274f46b2eaf83539642d313130bdcfa6a9eb7 Signed-off-by: Patrick Brady <pb071s@att.com>
-rw-r--r--license/appc/header.txt15
-rw-r--r--license/appc/license.txt23
-rw-r--r--license/licenses.properties1
-rw-r--r--pom.xml13
4 files changed, 48 insertions, 4 deletions
diff --git a/license/appc/header.txt b/license/appc/header.txt
new file mode 100644
index 000000000..03de5539a
--- /dev/null
+++ b/license/appc/header.txt
@@ -0,0 +1,15 @@
+Copyright (C) 2017 Amdocs
+=============================================================================
+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.
+
+ECOMP is a trademark and service mark of AT&T Intellectual Property. \ No newline at end of file
diff --git a/license/appc/license.txt b/license/appc/license.txt
new file mode 100644
index 000000000..594c90453
--- /dev/null
+++ b/license/appc/license.txt
@@ -0,0 +1,23 @@
+/*
+* ============LICENSE_START==========================================
+* ===================================================================
+* Copyright © 2017 AT&T Intellectual Property.
+* Copyright © 2017 Amdocs
+* 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.
+* ============LICENSE_END============================================
+*
+* ECOMP is a trademark and service mark of AT&T Intellectual Property.
+*
+*/
diff --git a/license/licenses.properties b/license/licenses.properties
new file mode 100644
index 000000000..2700c0b92
--- /dev/null
+++ b/license/licenses.properties
@@ -0,0 +1 @@
+appc=appc
diff --git a/pom.xml b/pom.xml
index d6df08d31..faa9ebbcb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -528,16 +528,21 @@
<artifactId>license-maven-plugin</artifactId>
<version>1.10</version>
<configuration>
+ <extraExtensions>
+ <yml>properties</yml>
+ <yang>java</yang>
+ </extraExtensions>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<processStartTag>============LICENSE_START=======================================================</processStartTag>
<processEndTag>============LICENSE_END=========================================================</processEndTag>
<sectionDelimiter>================================================================================</sectionDelimiter>
- <licenseName>apache_v2</licenseName>
+ <licenseName>appc</licenseName>
+ <!-- This should point to the license directory of the root folder of the base appc project -->
+ <licenseResolver>file:${user.dir}/license</licenseResolver>
<inceptionYear>2017</inceptionYear>
<organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
- <projectName>APPC</projectName>
- <!-- Do not automatically update copyright since Amdocs needs to be included manually -->
- <canUpdateCopyright>false</canUpdateCopyright>
+ <projectName>ONAP : APPC</projectName>
+ <canUpdateCopyright>true</canUpdateCopyright>
<canUpdateDescription>true</canUpdateDescription>
<canUpdateLicense>true</canUpdateLicense>
<emptyLineAfterHeader>true</emptyLineAfterHeader>