Fix configuration in JSon
[nonrtric.git] / dashboard / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--<![CDATA[
3 ========================LICENSE_START=================================
4 O-RAN-SC
5 %%
6 Copyright (C) 2019 AT&T Intellectual Property
7 %%
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12      http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ========================LICENSE_END===================================
20 ]]>-->
21 <project xmlns="http://maven.apache.org/POM/4.0.0"
22         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24         <modelVersion>4.0.0</modelVersion>
25         <parent>
26                 <!-- this group Id must match LF gerrit repository -->
27                 <groupId>org.springframework.boot</groupId>
28                 <artifactId>spring-boot-starter-parent</artifactId>
29                 <version>2.1.9.RELEASE</version>
30                 <relativePath /> <!-- lookup parent from repository -->
31         </parent>
32         <groupId>org.o-ran-sc.nonrt.ric-dashboard</groupId>
33         <artifactId>ric-dash-parent</artifactId>
34         <name>NonRT RIC Dashboard project</name>
35         <packaging>pom</packaging>
36         <version>1.0.0-SNAPSHOT</version>
37         <properties>
38                 <java.version>11</java.version>
39                 <!-- Properties for the license-maven-plugin in child POMs -->
40                 <lmp.organization.name>AT&amp;T Intellectual Property</lmp.organization.name>
41                 <lmp.project.name>O-RAN-SC</lmp.project.name>
42                 <lmp.inception.year>2019</lmp.inception.year>
43                 <lmp.license.name>apache_v2</lmp.license.name>
44                 <lmp.process.start.tag>========================LICENSE_START=================================</lmp.process.start.tag>
45                 <lmp.process.end.tag>========================LICENSE_END===================================</lmp.process.end.tag>
46         </properties>
47         <modules>               
48                 <module>webapp-frontend</module>
49                 <module>webapp-backend</module>
50         </modules>
51         <build>
52                 <plugins>
53                         <plugin>
54                                 <groupId>org.codehaus.mojo</groupId>
55                                 <artifactId>license-maven-plugin</artifactId>
56                                 <configuration>
57                                         <organizationName>${lmp.organization.name}</organizationName>
58                                         <inceptionYear>${lmp.inception.year}</inceptionYear>
59                                         <projectName>${lmp.project.name}</projectName>
60                                         <licenseName>${lmp.license.name}</licenseName>
61                                         <processStartTag>${lmp.process.start.tag}</processStartTag>
62                                         <processEndTag>${lmp.process.end.tag}</processEndTag>
63                                         <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
64                                 </configuration>
65                                 <executions>
66                                         <execution>
67                                                 <id>first</id>
68                                                 <goals>
69                                                         <goal>update-file-header</goal>
70                                                 </goals>
71                                                 <phase>process-sources</phase>
72                                         </execution>
73                                 </executions>
74                         </plugin>
75                         <plugin>
76                                 <groupId>org.apache.maven.plugins</groupId>
77                                 <artifactId>maven-compiler-plugin</artifactId>
78                                 <configuration>
79                                         <source>${java.version}</source>
80                                         <target>${java.version}</target>
81                                 </configuration>
82                         </plugin>
83                         <!-- Always generate a source jar -->
84                         <plugin>
85                                 <groupId>org.apache.maven.plugins</groupId>
86                                 <artifactId>maven-source-plugin</artifactId>
87                                 <executions>
88                                         <execution>
89                                                 <id>attach-sources</id>
90                                                 <goals>
91                                                         <goal>jar</goal>
92                                                 </goals>
93                                         </execution>
94                                 </executions>
95                         </plugin>
96                         <!-- Always skip the deploy-jar-to-nexus step -->
97                         <plugin>
98                                 <groupId>org.apache.maven.plugins</groupId>
99                                 <artifactId>maven-deploy-plugin</artifactId>
100                                 <configuration>
101                                         <skip>true</skip>
102                                 </configuration>
103                         </plugin>
104                         <!-- support sonar in multi-module project -->
105                         <plugin>
106                                 <groupId>org.sonarsource.scanner.maven</groupId>
107                                 <artifactId>sonar-maven-plugin</artifactId>
108                                 <version>3.6.0.1398</version>
109                         </plugin>
110                 </plugins>
111                 <pluginManagement>
112                         <plugins>
113                                 <plugin>
114                                         <groupId>org.codehaus.mojo</groupId>
115                                         <artifactId>license-maven-plugin</artifactId>
116                                         <version>1.20</version>
117                                 </plugin>
118                         </plugins>
119                 </pluginManagement>
120         </build>
121 </project>