Update to JDK 17 & Springboot 3
[portal/nonrtric-controlpanel.git] / webapp-frontend / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * ========================LICENSE_START=================================
4 * O-RAN-SC
5 * %%
6 * Copyright (C) 2021 Nordix Foundation
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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <groupId>org.o-ran-sc.nonrtric</groupId>
26     <artifactId>nonrtric-controlpanel</artifactId>
27     <version>2.5.0-SNAPSHOT</version>
28     <name>Nonrtric Controlpanel</name>
29     <description>NonRTRIC Controlpanel</description>
30
31     <properties>
32         <docker-maven-plugin.version>0.30.0</docker-maven-plugin.version>
33     </properties>
34
35     <build>
36         <plugins>
37             <plugin>
38                 <groupId>io.fabric8</groupId>
39                 <artifactId>docker-maven-plugin</artifactId>
40                 <version>${docker-maven-plugin.version}</version>
41                 <inherited>false</inherited>
42                 <executions>
43                     <execution>
44                         <id>generate-nonrtric-controlpanel-image</id>
45                         <phase>package</phase>
46                         <goals>
47                             <goal>build</goal>
48                         </goals>
49                         <configuration>
50                             <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
51                             <images>
52                                 <image>
53                                     <name>o-ran-sc/nonrtric-controlpanel:${project.version}</name>
54                                     <build>
55                                         <cleanup>try</cleanup>
56                                         <contextDir>${basedir}</contextDir>
57                                         <dockerFile>Dockerfile</dockerFile>
58                                         <args>
59                                             <JAR>${project.build.finalName}.jar</JAR>
60                                         </args>
61                                         <tags>
62                                             <tag>${project.version}</tag>
63                                         </tags>
64                                     </build>
65                                 </image>
66                             </images>
67                         </configuration>
68                     </execution>
69                     <execution>
70                         <id>push-nonrtric-controlpanel-image</id>
71                         <goals>
72                             <goal>build</goal>
73                             <goal>push</goal>
74                         </goals>
75                         <configuration>
76                             <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
77                             <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
78                             <images>
79                                 <image>
80                                     <name>o-ran-sc/nonrtric-controlpanel:${project.version}</name>
81                                     <build>
82                                         <contextDir>${basedir}</contextDir>
83                                         <dockerFile>Dockerfile</dockerFile>
84                                         <args>
85                                             <JAR>${project.build.finalName}.jar</JAR>
86                                         </args>
87                                         <tags>
88                                             <tag>${project.version}</tag>
89                                             <tag>latest</tag>
90                                         </tags>
91                                     </build>
92                                 </image>
93                             </images>
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98         </plugins>
99     </build>
100 </project>