Merge "Adding new Simple consumer producer rapp packages"
[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.2.0-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.o-ran-sc.nonrtric.plt.rappmanager</groupId>
58             <artifactId>rapp-manager-dme</artifactId>
59             <version>${project.version}</version>
60         </dependency>
61         <dependency>
62             <groupId>org.onap.policy.clamp</groupId>
63             <artifactId>policy-clamp-models</artifactId>
64             <version>${onap.acm.models.version}</version>
65             <exclusions>
66                 <exclusion>
67                     <groupId>org.springframework.boot</groupId>
68                     <artifactId>spring-boot-starter-data-jpa</artifactId>
69                 </exclusion>
70                 <exclusion>
71                     <groupId>org.springframework.boot</groupId>
72                     <artifactId>spring-boot-starter-aop</artifactId>
73                 </exclusion>
74                 <exclusion>
75                     <groupId>org.springframework.boot</groupId>
76                     <artifactId>spring-boot-starter-security</artifactId>
77                 </exclusion>
78                 <exclusion>
79                     <groupId>org.springframework.boot</groupId>
80                     <artifactId>spring-boot-starter-validation</artifactId>
81                 </exclusion>
82                 <exclusion>
83                     <groupId>org.springframework.boot</groupId>
84                     <artifactId>spring-boot-starter-webflux</artifactId>
85                 </exclusion>
86             </exclusions>
87         </dependency>
88         <dependency>
89             <groupId>org.springframework.boot</groupId>
90             <artifactId>spring-boot-starter-actuator</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.springframework.boot</groupId>
94             <artifactId>spring-boot-starter-web</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>org.springframework.boot</groupId>
98             <artifactId>spring-boot-starter-cache</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>org.springframework.boot</groupId>
102             <artifactId>spring-boot-configuration-processor</artifactId>
103             <optional>true</optional>
104         </dependency>
105         <dependency>
106             <groupId>org.springframework.statemachine</groupId>
107             <artifactId>spring-statemachine-core</artifactId>
108             <version>${spring.statemachine.version}</version>
109         </dependency>
110         <dependency>
111             <groupId>org.springframework.statemachine</groupId>
112             <artifactId>spring-statemachine-test</artifactId>
113             <version>${spring.statemachine.version}</version>
114             <scope>test</scope>
115         </dependency>
116         <dependency>
117             <groupId>org.aspectj</groupId>
118             <artifactId>aspectjweaver</artifactId>
119             <scope>compile</scope>
120         </dependency>
121         <dependency>
122             <groupId>org.projectlombok</groupId>
123             <artifactId>lombok</artifactId>
124             <optional>true</optional>
125         </dependency>
126         <dependency>
127             <groupId>org.openapitools</groupId>
128             <artifactId>jackson-databind-nullable</artifactId>
129             <version>${openapi.jackson.databind.nullable.version}</version>
130         </dependency>
131         <!-- Bean Validation API support -->
132         <dependency>
133             <groupId>javax.validation</groupId>
134             <artifactId>validation-api</artifactId>
135             <version>${javax.validation.api.version}</version>
136         </dependency>
137         <dependency>
138             <groupId>javax.annotation</groupId>
139             <artifactId>javax.annotation-api</artifactId>
140             <version>${javax.annotation.api.version}</version>
141         </dependency>
142         <dependency>
143             <groupId>io.swagger.core.v3</groupId>
144             <artifactId>swagger-annotations</artifactId>
145             <version>${io.swagger.version}</version>
146         </dependency>
147         <dependency>
148             <groupId>io.swagger.core.v3</groupId>
149             <artifactId>swagger-models</artifactId>
150             <version>${io.swagger.version}</version>
151         </dependency>
152         <dependency>
153             <groupId>javax.servlet</groupId>
154             <artifactId>servlet-api</artifactId>
155             <version>${javax.servlet.api.version}</version>
156             <scope>provided</scope>
157         </dependency>
158         <dependency>
159             <groupId>org.springframework.boot</groupId>
160             <artifactId>spring-boot-starter-test</artifactId>
161             <scope>test</scope>
162         </dependency>
163     </dependencies>
164
165     <build>
166         <plugins>
167             <plugin>
168                 <groupId>org.springframework.boot</groupId>
169                 <artifactId>spring-boot-maven-plugin</artifactId>
170             </plugin>
171             <plugin>
172                 <groupId>io.fabric8</groupId>
173                 <artifactId>docker-maven-plugin</artifactId>
174                 <version>${docker-maven-plugin}</version>
175                 <inherited>false</inherited>
176                 <executions>
177                     <execution>
178                         <id>generate-nonrtric-plt-rappmanager-image</id>
179                         <phase>package</phase>
180                         <goals>
181                             <goal>build</goal>
182                         </goals>
183                         <configuration>
184                             <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
185                             <images>
186                                 <image>
187                                     <name>
188                                         o-ran-sc/nonrtric-plt-rappmanager:${project.version}
189                                     </name>
190                                     <build>
191                                         <cleanup>try</cleanup>
192                                         <contextDir>${project.basedir}</contextDir>
193                                         <dockerFile>Dockerfile</dockerFile>
194                                         <args>
195                                             <JAR>${project.build.finalName}.jar</JAR>
196                                         </args>
197                                         <tags>
198                                             <tag>${project.version}</tag>
199                                         </tags>
200                                     </build>
201                                 </image>
202                             </images>
203                         </configuration>
204                     </execution>
205                     <execution>
206                         <id>push-nonrtric-plt-rappmanager-image</id>
207                         <goals>
208                             <goal>build</goal>
209                             <goal>push</goal>
210                         </goals>
211                         <configuration>
212                             <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
213                             <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
214                             <images>
215                                 <image>
216                                     <name>
217                                         o-ran-sc/nonrtric-plt-rappmanager:${project.version}
218                                     </name>
219                                     <build>
220                                         <contextDir>${project.basedir}</contextDir>
221                                         <dockerFile>Dockerfile</dockerFile>
222                                         <args>
223                                             <JAR>${project.build.finalName}.jar</JAR>
224                                         </args>
225                                         <tags>
226                                             <tag>${project.version}</tag>
227                                             <tag>latest</tag>
228                                         </tags>
229                                     </build>
230                                 </image>
231                             </images>
232                         </configuration>
233                     </execution>
234                 </executions>
235             </plugin>
236         </plugins>
237     </build>
238 </project>