Make constructor robust to missing caasingress.insecure property
[portal/ric-dashboard.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index f5ab309..bebdf03 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
 ========================LICENSE_START=================================
 O-RAN-SC
 %%
-Copyright (C) 2019 AT&T Intellectual Property and Nokia
+Copyright (C) 2019 AT&T Intellectual Property
 %%
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@ limitations under the License.
        <properties>
                <java.version>11</java.version>
                <!-- Properties for the license-maven-plugin in child POMs -->
-               <lmp.organization.name>AT&amp;T Intellectual Property and Nokia</lmp.organization.name>
+               <lmp.organization.name>AT&amp;T Intellectual Property</lmp.organization.name>
                <lmp.project.name>O-RAN-SC</lmp.project.name>
                <lmp.inception.year>2019</lmp.inception.year>
                <lmp.license.name>apache_v2</lmp.license.name>
@@ -54,6 +54,28 @@ limitations under the License.
        </modules>
        <build>
                <plugins>
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>license-maven-plugin</artifactId>
+                               <configuration>
+                                       <organizationName>${lmp.organization.name}</organizationName>
+                                       <inceptionYear>${lmp.inception.year}</inceptionYear>
+                                       <projectName>${lmp.project.name}</projectName>
+                                       <licenseName>${lmp.license.name}</licenseName>
+                                       <processStartTag>${lmp.process.start.tag}</processStartTag>
+                                       <processEndTag>${lmp.process.end.tag}</processEndTag>
+                                       <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <id>first</id>
+                                               <goals>
+                                                       <goal>update-file-header</goal>
+                                               </goals>
+                                               <phase>process-sources</phase>
+                                       </execution>
+                               </executions>
+                       </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>