Merge "CI: Add SonarCloud scan GHA workflow"
[nonrtric/plt/rappmanager.git] / 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 * Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved.
8 * %%
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ========================LICENSE_END===================================
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" 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     <parent>
26         <groupId>org.springframework.boot</groupId>
27         <artifactId>spring-boot-starter-parent</artifactId>
28         <version>3.2.3</version>
29     </parent>
30     <groupId>org.o-ran-sc.nonrtric.plt</groupId>
31     <artifactId>rappmanager</artifactId>
32     <version>0.1.0-SNAPSHOT</version>
33     <packaging>pom</packaging>
34     <name>NONRTRIC rAppmanager</name>
35     <description>O-RAN SC rApp Management function.</description>
36     <modules>
37         <module>rapp-manager-models</module>
38         <module>rapp-manager-dme</module>
39         <module>rapp-manager-acm</module>
40         <module>rapp-manager-sme</module>
41         <module>rapp-manager-application</module>
42     </modules>
43     <repositories>
44         <repository>
45             <id>onap-releases</id>
46             <name>onap-releases</name>
47             <url>https://nexus.onap.org/content/repositories/releases/</url>
48         </repository>
49     </repositories>
50     <properties>
51         <java.version>17</java.version>
52         <openapi.maven.version>7.3.0</openapi.maven.version>
53         <docker-maven-plugin>0.43.4</docker-maven-plugin>
54         <jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>
55         <onap.acm.models.version>7.1.1</onap.acm.models.version>
56         <openapi.jackson.databind.nullable.version>0.2.6</openapi.jackson.databind.nullable.version>
57         <spring.statemachine.version>4.0.0</spring.statemachine.version>
58         <spring.context.version>6.1.3</spring.context.version>
59         <javax.validation.api.version>2.0.1.Final</javax.validation.api.version>
60         <javax.annotation.api.version>1.3.2</javax.annotation.api.version>
61         <javax.servlet.api.version>2.5</javax.servlet.api.version>
62         <io.swagger.version>2.2.20</io.swagger.version>
63         <slf4j.version>2.0.12</slf4j.version>
64         <apache.httpcore.version>4.4.16</apache.httpcore.version>
65         <exec-maven-plugin.version>3.1.0</exec-maven-plugin.version>
66         <copy-resources-maven-plugin.version>3.3.1</copy-resources-maven-plugin.version>
67         <apache.compress.version>1.25.0</apache.compress.version>
68     </properties>
69     <build>
70         <plugins>
71             <plugin>
72                 <groupId>org.apache.maven.plugins</groupId>
73                 <artifactId>maven-surefire-plugin</artifactId>
74                 <configuration>
75                     <skipTests>false</skipTests>
76                 </configuration>
77             </plugin>
78             <plugin>
79                 <groupId>org.codehaus.mojo</groupId>
80                 <artifactId>exec-maven-plugin</artifactId>
81                 <version>${exec-maven-plugin.version}</version>
82                 <executions>
83                     <execution>
84                         <id>generate-test-csar-packages</id>
85                         <phase>initialize</phase>
86                         <goals>
87                             <goal>exec</goal>
88                         </goals>
89                         <configuration>
90                             <workingDirectory>
91                                 scripts/init/generate-test-rapp-packages
92                             </workingDirectory>
93                             <executable>
94                                 go
95                             </executable>
96                             <arguments>
97                                 <argument>run</argument>
98                                 <argument>generatetestrapppackages.go</argument>
99                             </arguments>
100                         </configuration>
101                         <inherited>false</inherited>
102                     </execution>
103                 </executions>
104             </plugin>
105             <plugin>
106                 <groupId>org.jacoco</groupId>
107                 <artifactId>jacoco-maven-plugin</artifactId>
108                 <version>${jacoco-maven-plugin.version}</version>
109                 <executions>
110                     <execution>
111                         <id>default-prepare-agent</id>
112                         <goals>
113                             <goal>prepare-agent</goal>
114                         </goals>
115                     </execution>
116                     <execution>
117                         <id>default-report</id>
118                         <phase>prepare-package</phase>
119                         <goals>
120                             <goal>report</goal>
121                         </goals>
122                     </execution>
123                 </executions>
124             </plugin>
125         </plugins>
126     </build>
127     <issueManagement>
128         <system>JIRA</system>
129         <url>https://jira.o-ran-sc.org/</url>
130     </issueManagement>
131 </project>