Bump to 2.0.2-SNAPSHOT
[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 AT&T Intellectual Property. All rights reserved.
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 <project xmlns="http://maven.apache.org/POM/4.0.0"
23     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.0.2-SNAPSHOT</version>
30     </parent>
31
32     <artifactId>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.projectlombok</groupId>
68             <artifactId>lombok</artifactId>
69             <scope>provided</scope>
70         </dependency>
71         <dependency>
72             <groupId>com.h2database</groupId>
73             <artifactId>h2</artifactId>
74             <scope>test</scope>
75         </dependency>
76         <dependency>
77             <groupId>org.mariadb.jdbc</groupId>
78             <artifactId>mariadb-java-client</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>org.assertj</groupId>
82             <artifactId>assertj-core</artifactId>
83             <scope>test</scope>
84         </dependency>
85     </dependencies>
86
87     <build>
88         <resources>
89             <!-- Output the version of the api service -->
90             <resource>
91                 <directory>src/main/resources</directory>
92                 <filtering>true</filtering>
93                 <includes>
94                     <include>**/version.txt</include>
95                 </includes>
96             </resource>
97             <resource>
98                 <directory>src/main/resources</directory>
99                 <filtering>false</filtering>
100                 <excludes>
101                     <exclude>**/version.txt</exclude>
102                 </excludes>
103             </resource>
104         </resources>
105     </build>
106
107 </project>