ramverma | 07b7ba0 | 2019-01-31 13:09:00 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2019 Nordix Foundation. |
HOCKLA | 9df1718 | 2020-01-14 11:06:29 -0600 | [diff] [blame] | 4 | Modifications Copyright (C) 2019-2020 AT&T Intellectual Property. |
a.sreekumar | 618ab38 | 2022-01-25 15:19:40 +0000 | [diff] [blame] | 5 | Modifications Copyright (C) 2020-2022 Bell Canada. |
ramverma | 07b7ba0 | 2019-01-31 13:09:00 +0000 | [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 | --> |
| 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> |
liamfallon | 9554900 | 2022-03-11 18:02:48 +0000 | [diff] [blame] | 29 | <version>2.6.2-SNAPSHOT</version> |
ramverma | 07b7ba0 | 2019-01-31 13:09:00 +0000 | [diff] [blame] | 30 | </parent> |
| 31 | |
Ram Krishna Verma | 9a96d62 | 2020-02-05 16:29:58 -0500 | [diff] [blame] | 32 | <artifactId>pap-main</artifactId> |
ramverma | 07b7ba0 | 2019-01-31 13:09:00 +0000 | [diff] [blame] | 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> |
a.sreekumar | 4694c15 | 2021-12-03 11:27:32 +0000 | [diff] [blame] | 39 | <groupId>org.springframework.boot</groupId> |
| 40 | <artifactId>spring-boot-starter-web</artifactId> |
ramverma | 07b7ba0 | 2019-01-31 13:09:00 +0000 | [diff] [blame] | 41 | </dependency> |
| 42 | <dependency> |
a.sreekumar | 4694c15 | 2021-12-03 11:27:32 +0000 | [diff] [blame] | 43 | <groupId>org.springframework.boot</groupId> |
a.sreekumar | 618ab38 | 2022-01-25 15:19:40 +0000 | [diff] [blame] | 44 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 45 | <version>${version.springboot}</version> |
| 46 | </dependency> |
| 47 | <dependency> |
| 48 | <groupId>org.springframework.boot</groupId> |
a.sreekumar | 4694c15 | 2021-12-03 11:27:32 +0000 | [diff] [blame] | 49 | <artifactId>spring-boot-starter-security</artifactId> |
ramverma | 07b7ba0 | 2019-01-31 13:09:00 +0000 | [diff] [blame] | 50 | </dependency> |
| 51 | <dependency> |
a.sreekumar | 4694c15 | 2021-12-03 11:27:32 +0000 | [diff] [blame] | 52 | <groupId>org.springframework.boot</groupId> |
| 53 | <artifactId>spring-boot-starter-aop</artifactId> |
| 54 | <version>${version.springboot}</version> |
ramverma | 07b7ba0 | 2019-01-31 13:09:00 +0000 | [diff] [blame] | 55 | </dependency> |
ramverma | 370c227 | 2019-02-05 10:28:22 +0000 | [diff] [blame] | 56 | <dependency> |
a.sreekumar | 4694c15 | 2021-12-03 11:27:32 +0000 | [diff] [blame] | 57 | <groupId>org.springframework.boot</groupId> |
| 58 | <artifactId>spring-boot-starter-actuator</artifactId> |
a.sreekumar | ed116b0 | 2022-02-07 11:22:59 +0000 | [diff] [blame] | 59 | <version>${version.springboot.actuator}</version> |
a.sreekumar | 4694c15 | 2021-12-03 11:27:32 +0000 | [diff] [blame] | 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>io.micrometer</groupId> |
| 63 | <artifactId>micrometer-registry-prometheus</artifactId> |
| 64 | <version>${version.io.micrometer}</version> |
| 65 | <scope>runtime</scope> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>io.springfox</groupId> |
| 69 | <artifactId>springfox-boot-starter</artifactId> |
| 70 | <version>${version.springfox}</version> |
| 71 | </dependency> |
| 72 | <dependency> |
| 73 | <groupId>io.springfox</groupId> |
| 74 | <artifactId>springfox-swagger-ui</artifactId> |
| 75 | <scope>runtime</scope> |
| 76 | </dependency> |
| 77 | |
| 78 | <dependency> |
ramverma | 370c227 | 2019-02-05 10:28:22 +0000 | [diff] [blame] | 79 | <groupId>org.onap.policy.common</groupId> |
| 80 | <artifactId>policy-endpoints</artifactId> |
| 81 | <version>${policy.common.version}</version> |
| 82 | </dependency> |
ramverma | 74ead72 | 2019-02-07 21:52:23 +0000 | [diff] [blame] | 83 | <dependency> |
Jim Hahn | 4a3cfdf | 2019-03-12 11:53:22 -0400 | [diff] [blame] | 84 | <groupId>org.onap.policy.models</groupId> |
Jim Hahn | 602572e | 2019-03-24 08:13:58 -0400 | [diff] [blame] | 85 | <artifactId>policy-models-pap</artifactId> |
| 86 | <version>${policy.models.version}</version> |
| 87 | </dependency> |
| 88 | <dependency> |
| 89 | <groupId>org.onap.policy.models</groupId> |
Jim Hahn | 0050926 | 2019-04-07 10:34:45 -0400 | [diff] [blame] | 90 | <artifactId>policy-models-pdp</artifactId> |
Jim Hahn | 602572e | 2019-03-24 08:13:58 -0400 | [diff] [blame] | 91 | <version>${policy.models.version}</version> |
| 92 | </dependency> |
| 93 | <dependency> |
Jim Hahn | b020843 | 2019-02-26 14:09:35 -0500 | [diff] [blame] | 94 | <groupId>org.onap.policy.common</groupId> |
Ram Krishna Verma | 469efa7 | 2022-02-16 12:12:20 -0500 | [diff] [blame] | 95 | <artifactId>spring-utils</artifactId> |
| 96 | <version>${policy.common.version}</version> |
| 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>org.onap.policy.common</groupId> |
Jim Hahn | b020843 | 2019-02-26 14:09:35 -0500 | [diff] [blame] | 100 | <artifactId>utils-test</artifactId> |
| 101 | <version>${policy.common.version}</version> |
| 102 | <scope>test</scope> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>org.powermock</groupId> |
HOCKLA | 9df1718 | 2020-01-14 11:06:29 -0600 | [diff] [blame] | 106 | <artifactId>powermock-api-mockito2</artifactId> |
Jim Hahn | b020843 | 2019-02-26 14:09:35 -0500 | [diff] [blame] | 107 | <scope>test</scope> |
| 108 | </dependency> |
| 109 | <dependency> |
ramverma | 63d40cd | 2019-04-09 16:49:43 +0000 | [diff] [blame] | 110 | <groupId>com.h2database</groupId> |
| 111 | <artifactId>h2</artifactId> |
| 112 | <scope>test</scope> |
| 113 | </dependency> |
a.sreekumar | 4694c15 | 2021-12-03 11:27:32 +0000 | [diff] [blame] | 114 | <dependency> |
| 115 | <groupId>junit</groupId> |
| 116 | <artifactId>junit</artifactId> |
| 117 | <scope>test</scope> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>org.junit.vintage</groupId> |
| 121 | <artifactId>junit-vintage-engine</artifactId> |
| 122 | <scope>test</scope> |
| 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>org.springframework.boot</groupId> |
| 126 | <artifactId>spring-boot-starter-test</artifactId> |
| 127 | </dependency> |
ramverma | 07b7ba0 | 2019-01-31 13:09:00 +0000 | [diff] [blame] | 128 | </dependencies> |
| 129 | |
| 130 | <build> |
| 131 | <resources> |
| 132 | <!-- Output the version of the pap service --> |
| 133 | <resource> |
| 134 | <directory>src/main/resources</directory> |
| 135 | <filtering>true</filtering> |
| 136 | <includes> |
| 137 | <include>**/version.txt</include> |
| 138 | </includes> |
| 139 | </resource> |
| 140 | <resource> |
| 141 | <directory>src/main/resources</directory> |
| 142 | <filtering>false</filtering> |
| 143 | <excludes> |
| 144 | <exclude>**/version.txt</exclude> |
| 145 | </excludes> |
| 146 | </resource> |
| 147 | </resources> |
a.sreekumar | 4694c15 | 2021-12-03 11:27:32 +0000 | [diff] [blame] | 148 | <plugins> |
| 149 | <plugin> |
| 150 | <groupId>org.springframework.boot</groupId> |
| 151 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 152 | <executions> |
| 153 | <execution> |
| 154 | <goals> |
| 155 | <goal>repackage</goal> |
| 156 | </goals> |
| 157 | <phase>package</phase> |
| 158 | </execution> |
| 159 | </executions> |
| 160 | </plugin> |
| 161 | </plugins> |
ramverma | 07b7ba0 | 2019-01-31 13:09:00 +0000 | [diff] [blame] | 162 | </build> |
a.sreekumar | ed116b0 | 2022-02-07 11:22:59 +0000 | [diff] [blame] | 163 | </project> |