Fix minor warnings in code
[policy/pap.git] / main / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2019 Nordix Foundation.
4    Modifications Copyright (C) 2019-2020 AT&T Intellectual Property.
5    Modifications Copyright (C) 2020-2022 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
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
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.
18
19   SPDX-License-Identifier: Apache-2.0
20   ============LICENSE_END=========================================================
21 -->
22
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <parent>
27         <groupId>org.onap.policy.pap</groupId>
28         <artifactId>policy-pap</artifactId>
29         <version>2.7.0-SNAPSHOT</version>
30     </parent>
31
32     <artifactId>pap-main</artifactId>
33
34     <name>${project.artifactId}</name>
35     <description>The main module of Policy Administration Backend that handles startup, lifecycle management, and parameters.</description>
36
37     <dependencies>
38         <dependency>
39             <groupId>org.springframework.boot</groupId>
40             <artifactId>spring-boot-starter-web</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.springframework.boot</groupId>
44             <artifactId>spring-boot-starter-data-jpa</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.springframework.boot</groupId>
48             <artifactId>spring-boot-starter-security</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.springframework.boot</groupId>
52             <artifactId>spring-boot-starter-aop</artifactId>
53             <version>${version.springboot}</version>
54         </dependency>
55         <dependency>
56             <groupId>org.springframework.boot</groupId>
57             <artifactId>spring-boot-starter-actuator</artifactId>
58             <version>${version.springboot.actuator}</version>
59         </dependency>
60         <dependency>
61             <groupId>io.micrometer</groupId>
62             <artifactId>micrometer-registry-prometheus</artifactId>
63             <version>${version.io.micrometer}</version>
64             <scope>runtime</scope>
65         </dependency>
66         <dependency>
67             <groupId>io.springfox</groupId>
68             <artifactId>springfox-boot-starter</artifactId>
69             <version>${version.springfox}</version>
70         </dependency>
71         <dependency>
72             <groupId>io.springfox</groupId>
73             <artifactId>springfox-swagger-ui</artifactId>
74             <scope>runtime</scope>
75         </dependency>
76
77         <dependency>
78             <groupId>org.onap.policy.common</groupId>
79             <artifactId>policy-endpoints</artifactId>
80             <version>${policy.common.version}</version>
81         </dependency>
82         <dependency>
83             <groupId>org.onap.policy.models</groupId>
84             <artifactId>policy-models-pap</artifactId>
85             <version>${policy.models.version}</version>
86         </dependency>
87         <dependency>
88             <groupId>org.onap.policy.models</groupId>
89             <artifactId>policy-models-pdp</artifactId>
90             <version>${policy.models.version}</version>
91         </dependency>
92         <dependency>
93             <groupId>org.onap.policy.common</groupId>
94             <artifactId>spring-utils</artifactId>
95             <version>${policy.common.version}</version>
96         </dependency>
97         <dependency>
98             <groupId>org.onap.policy.common</groupId>
99             <artifactId>utils-test</artifactId>
100             <version>${policy.common.version}</version>
101             <scope>test</scope>
102         </dependency>
103         <dependency>
104             <groupId>org.powermock</groupId>
105             <artifactId>powermock-api-mockito2</artifactId>
106             <scope>test</scope>
107         </dependency>
108         <dependency>
109             <groupId>com.h2database</groupId>
110             <artifactId>h2</artifactId>
111             <scope>test</scope>
112         </dependency>
113         <dependency>
114             <groupId>junit</groupId>
115             <artifactId>junit</artifactId>
116             <scope>test</scope>
117         </dependency>
118         <dependency>
119             <groupId>org.junit.vintage</groupId>
120             <artifactId>junit-vintage-engine</artifactId>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>org.springframework.boot</groupId>
125             <artifactId>spring-boot-starter-test</artifactId>
126         </dependency>
127     </dependencies>
128
129     <build>
130         <resources>
131             <!-- Output the version of the pap service -->
132             <resource>
133                 <directory>src/main/resources</directory>
134                 <filtering>true</filtering>
135                 <includes>
136                     <include>**/version.txt</include>
137                 </includes>
138             </resource>
139             <resource>
140                 <directory>src/main/resources</directory>
141                 <filtering>false</filtering>
142                 <excludes>
143                     <exclude>**/version.txt</exclude>
144                 </excludes>
145             </resource>
146         </resources>
147         <plugins>
148             <plugin>
149                 <groupId>org.springframework.boot</groupId>
150                 <artifactId>spring-boot-maven-plugin</artifactId>
151                 <executions>
152                     <execution>
153                         <goals>
154                             <goal>repackage</goal>
155                         </goals>
156                         <phase>package</phase>
157                     </execution>
158                 </executions>
159             </plugin>
160         </plugins>
161     </build>
162 </project>