Release policy/api
[policy/api.git] / main / pom.xml
1 <!--
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 Bell Canada.
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
20   SPDX-License-Identifier: Apache-2.0
21   ============LICENSE_END=========================================================
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.api</groupId>
28         <artifactId>policy-api</artifactId>
29         <version>2.4.5</version>
30     </parent>
31
32     <artifactId>api-main</artifactId>
33
34     <name>${project.artifactId}</name>
35     <description>The main module of Policy Api that handles startup, lifecycle management, and parameters.</description>
36
37     <dependencies>
38         <dependency>
39             <groupId>org.onap.policy.common</groupId>
40             <artifactId>capabilities</artifactId>
41             <version>${policy.common.version}</version>
42         </dependency>
43         <dependency>
44             <groupId>commons-cli</groupId>
45             <artifactId>commons-cli</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>com.google.code.gson</groupId>
49             <artifactId>gson</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.onap.policy.common</groupId>
53             <artifactId>common-parameters</artifactId>
54             <version>${policy.common.version}</version>
55         </dependency>
56         <dependency>
57             <groupId>org.onap.policy.models</groupId>
58             <artifactId>policy-models-tosca</artifactId>
59             <version>${policy.models.version}</version>
60         </dependency>
61         <dependency>
62             <groupId>org.onap.policy.models</groupId>
63             <artifactId>policy-models-provider</artifactId>
64             <version>${policy.models.version}</version>
65         </dependency>
66         <dependency>
67             <groupId>org.onap.policy.models</groupId>
68             <artifactId>policy-models-examples</artifactId>
69             <version>${policy.models.version}</version>
70         </dependency>
71         <dependency>
72             <groupId>org.onap.policy.common</groupId>
73             <artifactId>utils</artifactId>
74             <version>${policy.common.version}</version>
75         </dependency>
76         <dependency>
77             <groupId>org.projectlombok</groupId>
78             <artifactId>lombok</artifactId>
79             <scope>provided</scope>
80         </dependency>
81         <dependency>
82             <groupId>com.h2database</groupId>
83             <artifactId>h2</artifactId>
84             <scope>test</scope>
85         </dependency>
86         <dependency>
87             <groupId>org.mariadb.jdbc</groupId>
88             <artifactId>mariadb-java-client</artifactId>
89         </dependency>
90         <dependency>
91             <groupId>org.assertj</groupId>
92             <artifactId>assertj-core</artifactId>
93             <scope>test</scope>
94         </dependency>
95         <dependency>
96             <groupId>org.onap.policy.common</groupId>
97             <artifactId>utils-test</artifactId>
98             <version>${policy.common.version}</version>
99             <scope>test</scope>
100         </dependency>
101     </dependencies>
102
103     <build>
104         <resources>
105             <!-- Output the version of the api service -->
106             <resource>
107                 <directory>src/main/resources</directory>
108                 <filtering>true</filtering>
109                 <includes>
110                     <include>**/version.txt</include>
111                 </includes>
112             </resource>
113             <resource>
114                 <directory>src/main/resources</directory>
115                 <filtering>false</filtering>
116                 <excludes>
117                     <exclude>**/version.txt</exclude>
118                 </excludes>
119             </resource>
120         </resources>
121     </build>
122
123 </project>