Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
| 4 | Modified Copyright (C) 2018 Samsung Electronics Co., Ltd. |
Chenfei Gao | 6ea2e1b | 2019-01-31 16:09:09 -0500 | [diff] [blame] | 5 | Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 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 | --> |
liamfallon | 5b7f107 | 2019-09-05 22:25:55 +0000 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 23 | 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> |
| 25 | <parent> |
| 26 | <groupId>org.onap.policy.api</groupId> |
| 27 | <artifactId>policy-api</artifactId> |
Jim Hahn | eeb2aa1 | 2019-09-10 09:57:24 -0400 | [diff] [blame^] | 28 | <version>2.2.0-SNAPSHOT</version> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 29 | </parent> |
| 30 | |
| 31 | <artifactId>main</artifactId> |
| 32 | |
| 33 | <name>${project.artifactId}</name> |
| 34 | <description>The main module of Policy Api that handles startup, lifecycle management, and parameters.</description> |
| 35 | |
| 36 | <dependencies> |
| 37 | <dependency> |
| 38 | <groupId>org.onap.policy.common</groupId> |
| 39 | <artifactId>capabilities</artifactId> |
| 40 | <version>${policy.common.version}</version> |
| 41 | </dependency> |
| 42 | <dependency> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 43 | <groupId>commons-cli</groupId> |
| 44 | <artifactId>commons-cli</artifactId> |
| 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>com.google.code.gson</groupId> |
| 48 | <artifactId>gson</artifactId> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>org.onap.policy.common</groupId> |
| 52 | <artifactId>common-parameters</artifactId> |
| 53 | <version>${policy.common.version}</version> |
| 54 | </dependency> |
Chenfei Gao | 0c117e6 | 2019-02-18 16:28:54 -0500 | [diff] [blame] | 55 | <dependency> |
| 56 | <groupId>org.onap.policy.models</groupId> |
Chenfei Gao | 851984a | 2019-03-06 18:54:25 -0500 | [diff] [blame] | 57 | <artifactId>policy-models-tosca</artifactId> |
Chenfei Gao | 0c117e6 | 2019-02-18 16:28:54 -0500 | [diff] [blame] | 58 | <version>${policy.models.version}</version> |
| 59 | </dependency> |
| 60 | <dependency> |
Chenfei Gao | 61b6623 | 2019-03-15 11:28:16 -0400 | [diff] [blame] | 61 | <groupId>org.onap.policy.models</groupId> |
| 62 | <artifactId>policy-models-provider</artifactId> |
| 63 | <version>${policy.models.version}</version> |
| 64 | </dependency> |
| 65 | <dependency> |
liamfallon | 5b7f107 | 2019-09-05 22:25:55 +0000 | [diff] [blame] | 66 | <groupId>org.onap.policy.models</groupId> |
| 67 | <artifactId>policy-models-examples</artifactId> |
| 68 | <version>${policy.models.version}</version> |
| 69 | </dependency> |
| 70 | <dependency> |
Chenfei Gao | 0c117e6 | 2019-02-18 16:28:54 -0500 | [diff] [blame] | 71 | <groupId>org.projectlombok</groupId> |
| 72 | <artifactId>lombok</artifactId> |
Chenfei Gao | 0c117e6 | 2019-02-18 16:28:54 -0500 | [diff] [blame] | 73 | <scope>provided</scope> |
| 74 | </dependency> |
Chenfei Gao | e156fb8 | 2019-04-02 08:55:17 -0400 | [diff] [blame] | 75 | <dependency> |
| 76 | <groupId>com.h2database</groupId> |
| 77 | <artifactId>h2</artifactId> |
| 78 | <scope>test</scope> |
| 79 | </dependency> |
| 80 | <dependency> |
| 81 | <groupId>org.mariadb.jdbc</groupId> |
| 82 | <artifactId>mariadb-java-client</artifactId> |
| 83 | </dependency> |
Chenfei Gao | 74d69a2 | 2019-04-04 21:47:01 -0400 | [diff] [blame] | 84 | <dependency> |
| 85 | <groupId>org.assertj</groupId> |
| 86 | <artifactId>assertj-core</artifactId> |
| 87 | <scope>test</scope> |
| 88 | </dependency> |
ramverma | 2ab8ff1 | 2019-06-26 15:00:39 +0000 | [diff] [blame] | 89 | <dependency> |
| 90 | <groupId>org.onap.policy.common</groupId> |
| 91 | <artifactId>utils-test</artifactId> |
| 92 | <version>${policy.common.version}</version> |
| 93 | <scope>test</scope> |
| 94 | </dependency> |
Krishnajinka | da9e01a | 2018-08-31 20:01:30 +0900 | [diff] [blame] | 95 | </dependencies> |
| 96 | |
| 97 | <build> |
| 98 | <resources> |
| 99 | <!-- Output the version of the api service --> |
| 100 | <resource> |
| 101 | <directory>src/main/resources</directory> |
| 102 | <filtering>true</filtering> |
| 103 | <includes> |
| 104 | <include>**/version.txt</include> |
| 105 | </includes> |
| 106 | </resource> |
| 107 | <resource> |
| 108 | <directory>src/main/resources</directory> |
| 109 | <filtering>false</filtering> |
| 110 | <excludes> |
| 111 | <exclude>**/version.txt</exclude> |
| 112 | </excludes> |
| 113 | </resource> |
| 114 | </resources> |
| 115 | </build> |
| 116 | |
| 117 | </project> |