Make constructor robust to missing caasingress.insecure property
[portal/ric-dashboard.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index a2f192f..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.
@@ -26,17 +26,18 @@ limitations under the License.
                <!-- this group Id must match LF gerrit repository -->
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-parent</artifactId>
-               <version>2.1.4.RELEASE</version>
+               <version>2.1.9.RELEASE</version>
                <relativePath /> <!-- lookup parent from repository -->
        </parent>
        <groupId>org.o-ran-sc.portal.ric-dashboard</groupId>
        <artifactId>ric-dash-parent</artifactId>
        <name>RIC Dashboard project</name>
        <packaging>pom</packaging>
-       <version>1.0.4-SNAPSHOT</version>
-       <!-- Properties for the license-maven-plugin in child POMs -->
+       <version>1.2.4-SNAPSHOT</version>
        <properties>
-               <lmp.organization.name>AT&amp;T Intellectual Property and Nokia</lmp.organization.name>
+               <java.version>11</java.version>
+               <!-- Properties for the license-maven-plugin in child POMs -->
+               <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>
@@ -53,22 +54,70 @@ limitations under the License.
        </modules>
        <build>
                <plugins>
-                       <!-- do not deploy the root pom, only needed for build -->
+                       <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>
+                               <configuration>
+                                       <source>${java.version}</source>
+                                       <target>${java.version}</target>
+                               </configuration>
+                       </plugin>
+                       <!-- Always generate a source jar -->
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-source-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>attach-sources</id>
+                                               <goals>
+                                                       <goal>jar</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <!-- Always skip the deploy-jar-to-nexus step -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-deploy-plugin</artifactId>
-                               <!--  spring sets the <version>2.8</version> -->
                                <configuration>
                                        <skip>true</skip>
                                </configuration>
                        </plugin>
+                       <!-- support sonar in multi-module project -->
+                       <plugin>
+                               <groupId>org.sonarsource.scanner.maven</groupId>
+                               <artifactId>sonar-maven-plugin</artifactId>
+                               <version>3.6.0.1398</version>
+                       </plugin>
                </plugins>
                <pluginManagement>
                        <plugins>
                                <plugin>
                                        <groupId>org.codehaus.mojo</groupId>
                                        <artifactId>license-maven-plugin</artifactId>
-                                       <version>1.19</version>
+                                       <version>1.20</version>
                                </plugin>
                        </plugins>
                </pluginManagement>