2 ============LICENSE_START=======================================================
3 Copyright (C) 2019, 2023-2024 Nordix Foundation.
4 Modifications Copyright (C) 2019-2020 AT&T Intellectual Property.
5 Modifications Copyright (C) 2020-2023 Bell Canada.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
19 SPDX-License-Identifier: Apache-2.0
20 ============LICENSE_END=========================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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>
26 <groupId>org.onap.policy.pap</groupId>
27 <artifactId>policy-pap</artifactId>
28 <version>3.1.3-SNAPSHOT</version>
31 <artifactId>pap-main</artifactId>
33 <name>${project.artifactId}</name>
34 <description>The main module of Policy Administration Backend that handles startup, lifecycle management, and parameters.</description>
38 <groupId>org.onap.policy.common</groupId>
39 <artifactId>policy-endpoints</artifactId>
40 <version>${policy.common.version}</version>
43 <groupId>org.onap.policy.models</groupId>
44 <artifactId>policy-models-pap</artifactId>
45 <version>${policy.models.version}</version>
48 <groupId>org.onap.policy.models</groupId>
49 <artifactId>policy-models-pdp</artifactId>
50 <version>${policy.models.version}</version>
53 <groupId>org.onap.policy.common</groupId>
54 <artifactId>spring-utils</artifactId>
55 <version>${policy.common.version}</version>
58 <groupId>org.onap.policy.common</groupId>
59 <artifactId>utils-test</artifactId>
60 <version>${policy.common.version}</version>
64 <groupId>org.bouncycastle</groupId>
65 <artifactId>bcpkix-fips</artifactId>
68 <groupId>com.google.guava</groupId>
69 <artifactId>guava</artifactId>
72 <groupId>org.springframework.boot</groupId>
73 <artifactId>spring-boot-starter-web</artifactId>
76 <groupId>org.springframework.boot</groupId>
77 <artifactId>spring-boot-starter-tomcat</artifactId>
80 <groupId>org.springframework.boot</groupId>
81 <artifactId>spring-boot-starter-data-jpa</artifactId>
84 <groupId>org.springframework.boot</groupId>
85 <artifactId>spring-boot-starter-security</artifactId>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-aop</artifactId>
92 <groupId>org.springframework.boot</groupId>
93 <artifactId>spring-boot-starter-actuator</artifactId>
96 <groupId>io.micrometer</groupId>
97 <artifactId>micrometer-registry-prometheus</artifactId>
98 <scope>runtime</scope>
101 <groupId>org.apache.kafka</groupId>
102 <artifactId>kafka-clients</artifactId>
103 <scope>provided</scope>
106 <groupId>org.springdoc</groupId>
107 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
110 <groupId>org.apache.tomcat.embed</groupId>
111 <artifactId>tomcat-embed-core</artifactId>
115 <groupId>org.mockito</groupId>
116 <artifactId>mockito-core</artifactId>
120 <groupId>com.h2database</groupId>
121 <artifactId>h2</artifactId>
125 <groupId>org.springframework.security</groupId>
126 <artifactId>spring-security-test</artifactId>
130 <groupId>org.springframework.boot</groupId>
131 <artifactId>spring-boot-starter-test</artifactId>
135 <groupId>org.junit.jupiter</groupId>
136 <artifactId>junit-jupiter-engine</artifactId>
140 <groupId>org.mockito</groupId>
141 <artifactId>mockito-junit-jupiter</artifactId>
148 <!-- Output the version of the pap service -->
150 <directory>src/main/resources</directory>
151 <filtering>true</filtering>
153 <include>**/version.txt</include>
157 <directory>src/main/resources</directory>
158 <filtering>false</filtering>
160 <exclude>**/version.txt</exclude>
166 <groupId>io.swagger.codegen.v3</groupId>
167 <artifactId>swagger-codegen-maven-plugin</artifactId>
172 <goal>generate</goal>
175 <inputSpec>${project.basedir}/src/main/resources/openapi/openapi.yaml</inputSpec>
176 <invokerPackage>org.onap.policy.pap.main.rest</invokerPackage>
177 <modelPackage>org.onap.policy.models.tosca.authorative.concepts</modelPackage>
178 <apiPackage>org.onap.policy.pap.main.rest</apiPackage>
179 <language>spring</language>
180 <generateModels>false</generateModels>
181 <generateSupportingFiles>false</generateSupportingFiles>
183 HealthCheckReport=org.onap.policy.common.endpoints.report.HealthCheckReport,
184 Pdps=org.onap.policy.models.pdp.concepts.Pdps,
185 PdpState=org.onap.policy.models.pdp.enums.PdpState,
186 PdpGroupUpdateResponse=org.onap.policy.models.pap.concepts.PdpGroupUpdateResponse,
187 PdpGroupStateChangeResponse=org.onap.policy.models.pap.concepts.PdpGroupStateChangeResponse,
188 PdpGroupDeleteResponse=org.onap.policy.models.pap.concepts.PdpGroupDeleteResponse,
189 PdpGroupDeployResponse=org.onap.policy.models.pap.concepts.PdpGroupDeployResponse,
190 DeploymentGroups=org.onap.policy.models.pdp.concepts.DeploymentGroups,
191 PdpDeployPolicies=org.onap.policy.models.pap.concepts.PdpDeployPolicies,
192 PdpGroups=org.onap.policy.models.pdp.concepts.PdpGroups,
193 PolicyAudit=org.onap.policy.models.pap.concepts.PolicyAudit,
194 PolicyStatus=org.onap.policy.models.pap.concepts.PolicyStatus
197 <sourceFolder>src/gen/java</sourceFolder>
198 <dateLibrary>java17</dateLibrary>
199 <interfaceOnly>true</interfaceOnly>
200 <useTags>true</useTags>
201 <jakarta>true</jakarta>
208 <groupId>org.springframework.boot</groupId>
209 <artifactId>spring-boot-maven-plugin</artifactId>
210 <version>${version.springboot}</version>
214 <goal>repackage</goal>
216 <phase>package</phase>