Update artifact id and name
[nonrtric/plt/rappmanager.git] / rapp-manager-application / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * ========================LICENSE_START=================================
4 * O-RAN-SC
5 * %%
6 * Copyright (C) 2023 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <groupId>org.o-ran-sc.nonrtric.plt</groupId>
27         <artifactId>rappmanager</artifactId>
28         <version>0.0.1-SNAPSHOT</version>
29     </parent>
30
31     <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
32     <artifactId>rapp-manager-application</artifactId>
33
34     <properties>
35         <maven.compiler.source>${java.version}</maven.compiler.source>
36         <maven.compiler.target>${java.version}</maven.compiler.target>
37         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38     </properties>
39
40     <dependencies>
41         <dependency>
42             <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
43             <artifactId>rapp-manager-models</artifactId>
44             <version>${project.version}</version>
45         </dependency>
46         <dependency>
47             <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
48             <artifactId>rapp-manager-acm</artifactId>
49             <version>${project.version}</version>
50         </dependency>
51         <dependency>
52             <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
53             <artifactId>rapp-manager-sme</artifactId>
54             <version>${project.version}</version>
55         </dependency>
56         <dependency>
57             <groupId>org.onap.policy.clamp</groupId>
58             <artifactId>policy-clamp-models</artifactId>
59             <version>${onap.acm.models.version}</version>
60             <exclusions>
61                 <exclusion>
62                     <groupId>org.springframework.boot</groupId>
63                     <artifactId>spring-boot-starter-data-jpa</artifactId>
64                 </exclusion>
65                 <exclusion>
66                     <groupId>org.springframework.boot</groupId>
67                     <artifactId>spring-boot-starter-aop</artifactId>
68                 </exclusion>
69                 <exclusion>
70                     <groupId>org.springframework.boot</groupId>
71                     <artifactId>spring-boot-starter-security</artifactId>
72                 </exclusion>
73                 <exclusion>
74                     <groupId>org.springframework.boot</groupId>
75                     <artifactId>spring-boot-starter-validation</artifactId>
76                 </exclusion>
77                 <exclusion>
78                     <groupId>org.springframework.boot</groupId>
79                     <artifactId>spring-boot-starter-webflux</artifactId>
80                 </exclusion>
81             </exclusions>
82         </dependency>
83         <dependency>
84             <groupId>org.springframework.boot</groupId>
85             <artifactId>spring-boot-starter-actuator</artifactId>
86         </dependency>
87         <dependency>
88             <groupId>org.springframework.boot</groupId>
89             <artifactId>spring-boot-starter-web</artifactId>
90         </dependency>
91         <dependency>
92             <groupId>org.springframework.boot</groupId>
93             <artifactId>spring-boot-starter-cache</artifactId>
94         </dependency>
95         <dependency>
96             <groupId>org.springframework.boot</groupId>
97             <artifactId>spring-boot-configuration-processor</artifactId>
98             <optional>true</optional>
99         </dependency>
100         <dependency>
101             <groupId>org.springframework.statemachine</groupId>
102             <artifactId>spring-statemachine-core</artifactId>
103             <version>${spring.statemachine.version}</version>
104         </dependency>
105         <dependency>
106             <groupId>org.springframework.statemachine</groupId>
107             <artifactId>spring-statemachine-test</artifactId>
108             <version>${spring.statemachine.version}</version>
109             <scope>test</scope>
110         </dependency>
111         <dependency>
112             <groupId>org.aspectj</groupId>
113             <artifactId>aspectjweaver</artifactId>
114             <scope>compile</scope>
115         </dependency>
116         <dependency>
117             <groupId>org.projectlombok</groupId>
118             <artifactId>lombok</artifactId>
119             <optional>true</optional>
120         </dependency>
121         <dependency>
122             <groupId>org.openapitools</groupId>
123             <artifactId>jackson-databind-nullable</artifactId>
124             <version>${openapi.jackson.databind.nullable.version}</version>
125         </dependency>
126         <!-- Bean Validation API support -->
127         <dependency>
128             <groupId>javax.validation</groupId>
129             <artifactId>validation-api</artifactId>
130             <version>${javax.validation.api.version}</version>
131         </dependency>
132         <dependency>
133             <groupId>javax.annotation</groupId>
134             <artifactId>javax.annotation-api</artifactId>
135             <version>${javax.annotation.api.version}</version>
136         </dependency>
137         <dependency>
138             <groupId>io.swagger.core.v3</groupId>
139             <artifactId>swagger-annotations</artifactId>
140             <version>${io.swagger.version}</version>
141         </dependency>
142         <dependency>
143             <groupId>io.swagger.core.v3</groupId>
144             <artifactId>swagger-models</artifactId>
145             <version>${io.swagger.version}</version>
146         </dependency>
147         <dependency>
148             <groupId>javax.servlet</groupId>
149             <artifactId>servlet-api</artifactId>
150             <version>${javax.servlet.api.version}</version>
151             <scope>provided</scope>
152         </dependency>
153         <dependency>
154             <groupId>org.springframework.boot</groupId>
155             <artifactId>spring-boot-starter-test</artifactId>
156             <scope>test</scope>
157         </dependency>
158     </dependencies>
159
160     <build>
161         <plugins>
162             <plugin>
163                 <groupId>org.springframework.boot</groupId>
164                 <artifactId>spring-boot-maven-plugin</artifactId>
165             </plugin>
166             <plugin>
167                 <groupId>io.fabric8</groupId>
168                 <artifactId>docker-maven-plugin</artifactId>
169                 <version>${docker-maven-plugin}</version>
170                 <inherited>false</inherited>
171                 <executions>
172                     <execution>
173                         <id>generate-nonrtric-plt-rappmanager-image</id>
174                         <phase>package</phase>
175                         <goals>
176                             <goal>build</goal>
177                         </goals>
178                         <configuration>
179                             <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
180                             <images>
181                                 <image>
182                                     <name>
183                                         o-ran-sc/nonrtric-plt-rappmanager:${project.version}
184                                     </name>
185                                     <build>
186                                         <cleanup>try</cleanup>
187                                         <contextDir>${project.basedir}</contextDir>
188                                         <dockerFile>Dockerfile</dockerFile>
189                                         <args>
190                                             <JAR>${project.build.finalName}.jar</JAR>
191                                         </args>
192                                         <tags>
193                                             <tag>${project.version}</tag>
194                                         </tags>
195                                     </build>
196                                 </image>
197                             </images>
198                         </configuration>
199                     </execution>
200                     <execution>
201                         <id>push-nonrtric-plt-rappmanager-image</id>
202                         <goals>
203                             <goal>build</goal>
204                             <goal>push</goal>
205                         </goals>
206                         <configuration>
207                             <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
208                             <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
209                             <images>
210                                 <image>
211                                     <name>
212                                         o-ran-sc/nonrtric-plt-rappmanager:${project.version}
213                                     </name>
214                                     <build>
215                                         <contextDir>${project.basedir}</contextDir>
216                                         <dockerFile>Dockerfile</dockerFile>
217                                         <args>
218                                             <JAR>${project.build.finalName}.jar</JAR>
219                                         </args>
220                                         <tags>
221                                             <tag>${project.version}</tag>
222                                             <tag>latest</tag>
223                                         </tags>
224                                     </build>
225                                 </image>
226                             </images>
227                         </configuration>
228                     </execution>
229                 </executions>
230             </plugin>
231         </plugins>
232     </build>
233 </project>