2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
4 Modified Copyright (C) 2018 Samsung Electronics Co., Ltd.
5 Copyright (C) 2019,2021 AT&T Intellectual Property. All rights reserved.
6 Modifications Copyright (C) 2020-2022 Bell Canada.
7 Modifications Copyright (C) 2022 Nordix Foundation.
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
13 http://www.apache.org/licenses/LICENSE-2.0
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.
21 SPDX-License-Identifier: Apache-2.0
22 ============LICENSE_END=========================================================
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26 <modelVersion>4.0.0</modelVersion>
28 <groupId>org.onap.policy.api</groupId>
29 <artifactId>policy-api</artifactId>
30 <version>2.6.1-SNAPSHOT</version>
33 <artifactId>api-main</artifactId>
35 <name>${project.artifactId}</name>
36 <description>The main module of Policy Api that handles startup, lifecycle management, and parameters.</description>
40 <groupId>org.onap.policy.models</groupId>
41 <artifactId>policy-models-provider</artifactId>
42 <version>${policy.models.version}</version>
45 <groupId>org.onap.policy.common</groupId>
46 <artifactId>spring-utils</artifactId>
47 <version>${policy.common.version}</version>
50 <groupId>com.h2database</groupId>
51 <artifactId>h2</artifactId>
54 <groupId>org.assertj</groupId>
55 <artifactId>assertj-core</artifactId>
59 <groupId>org.onap.policy.common</groupId>
60 <artifactId>utils-test</artifactId>
61 <version>${policy.common.version}</version>
65 <groupId>org.junit.vintage</groupId>
66 <artifactId>junit-vintage-engine</artifactId>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot-starter-test</artifactId>
75 <groupId>com.google.code.gson</groupId>
76 <artifactId>gson</artifactId>
79 <groupId>org.springframework.boot</groupId>
80 <artifactId>spring-boot-starter-web</artifactId>
81 <!-- Exclude the default Jackson dependency -->
84 <groupId>org.springframework.boot</groupId>
85 <artifactId>spring-boot-starter-json</artifactId>
90 <groupId>org.springframework.boot</groupId>
91 <artifactId>spring-boot-starter-security</artifactId>
94 <groupId>org.springframework.boot</groupId>
95 <artifactId>spring-boot-starter-actuator</artifactId>
96 <version>${version.springboot.actuator}</version>
99 <groupId>io.micrometer</groupId>
100 <artifactId>micrometer-registry-prometheus</artifactId>
101 <version>${version.io.micrometer}</version>
102 <scope>runtime</scope>
105 <groupId>io.springfox</groupId>
106 <artifactId>springfox-boot-starter</artifactId>
107 <version>${version.springfox}</version>
110 <groupId>io.springfox</groupId>
111 <artifactId>springfox-swagger-ui</artifactId>
112 <version>${version.springfox}</version>
113 <scope>runtime</scope>
119 <!-- Output the version of the api service -->
121 <directory>src/main/resources</directory>
122 <filtering>true</filtering>
124 <include>**/version.txt</include>
128 <directory>src/main/resources</directory>
129 <filtering>false</filtering>
131 <exclude>**/version.txt</exclude>
137 <groupId>org.springframework.boot</groupId>
138 <artifactId>spring-boot-maven-plugin</artifactId>
142 <goal>repackage</goal>
144 <phase>package</phase>