Sirisha_Manchikanti | f83411a | 2021-05-07 15:17:52 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2021 Nordix Foundation. |
| 4 | ================================================================================ |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | |
| 17 | SPDX-License-Identifier: Apache-2.0 |
| 18 | ============LICENSE_END========================================================= |
| 19 | --> |
| 20 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
liamfallon | 030ba1a | 2021-06-07 16:41:12 +0100 | [diff] [blame] | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Sirisha_Manchikanti | f83411a | 2021-05-07 15:17:52 +0100 | [diff] [blame] | 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
| 25 | <parent> |
| 26 | <groupId>org.onap.policy.clamp.participant</groupId> |
| 27 | <artifactId>policy-clamp-participant-impl</artifactId> |
| 28 | <version>6.1.2-SNAPSHOT</version> |
| 29 | </parent> |
| 30 | |
| 31 | <artifactId>policy-clamp-participant-impl-kubernetes</artifactId> |
| 32 | <name>${project.artifactId}</name> |
liamfallon | 030ba1a | 2021-06-07 16:41:12 +0100 | [diff] [blame] | 33 | <description>Kubernetes participant, that allows k8s pods to partake in control loops</description> |
| 34 | |
| 35 | <properties> |
| 36 | <springboot.version>2.5.0</springboot.version> |
| 37 | <immutable.version>2.8.8</immutable.version> |
| 38 | <springfox.version>3.0.0</springfox.version> |
| 39 | </properties> |
| 40 | |
| 41 | <dependencyManagement> |
| 42 | <dependencies> |
| 43 | <!-- Spring Boot BOM --> |
| 44 | <dependency> |
| 45 | <groupId>org.springframework.boot</groupId> |
| 46 | <artifactId>spring-boot-dependencies</artifactId> |
| 47 | <version>${springboot.version}</version> |
| 48 | <type>pom</type> |
| 49 | <scope>import</scope> |
| 50 | </dependency> |
| 51 | </dependencies> |
| 52 | </dependencyManagement> |
| 53 | |
| 54 | <dependencies> |
| 55 | <dependency> |
| 56 | <groupId>org.springframework.boot</groupId> |
| 57 | <artifactId>spring-boot-starter-web</artifactId> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.springframework.boot</groupId> |
| 61 | <artifactId>spring-boot-starter-webflux</artifactId> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.apache.tomcat.embed</groupId> |
| 65 | <artifactId>tomcat-embed-core</artifactId> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>org.immutables</groupId> |
| 69 | <artifactId>value</artifactId> |
| 70 | <version>${immutable.version}</version> |
| 71 | <scope>provided</scope> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.immutables</groupId> |
| 75 | <artifactId>gson</artifactId> |
| 76 | <version>${immutable.version}</version> |
| 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>org.json</groupId> |
| 80 | <artifactId>json</artifactId> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>org.projectlombok</groupId> |
| 84 | <artifactId>lombok</artifactId> |
| 85 | <scope>provided</scope> |
| 86 | </dependency> |
| 87 | <dependency> |
| 88 | <groupId>io.springfox</groupId> |
| 89 | <artifactId>springfox-swagger2</artifactId> |
| 90 | <version>${springfox.version}</version> |
| 91 | </dependency> |
| 92 | <dependency> |
| 93 | <groupId>io.springfox</groupId> |
| 94 | <artifactId>springfox-swagger-ui</artifactId> |
| 95 | <version>${springfox.version}</version> |
| 96 | <scope>runtime</scope> |
| 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>commons-fileupload</groupId> |
| 100 | <artifactId>commons-fileupload</artifactId> |
| 101 | <version>1.4</version> |
| 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>org.onap.policy.clamp.participant</groupId> |
| 105 | <artifactId>policy-clamp-participant-intermediary</artifactId> |
| 106 | <version>${project.version}</version> |
| 107 | </dependency> |
| 108 | |
| 109 | </dependencies> |
| 110 | |
| 111 | <build> |
| 112 | <resources> |
| 113 | <!-- Output the version of the control loop system --> |
| 114 | <resource> |
| 115 | <directory>src/main/resources</directory> |
| 116 | <filtering>true</filtering> |
| 117 | <includes> |
| 118 | <include>**/version.txt</include> |
| 119 | </includes> |
| 120 | </resource> |
| 121 | <resource> |
| 122 | <directory>src/main/resources</directory> |
| 123 | <filtering>false</filtering> |
| 124 | <excludes> |
| 125 | <exclude>**/version.txt</exclude> |
| 126 | </excludes> |
| 127 | </resource> |
| 128 | </resources> |
| 129 | <plugins> |
| 130 | <plugin> |
| 131 | <groupId>org.springframework.boot</groupId> |
| 132 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 133 | <version>${springboot.version}</version> |
| 134 | <executions> |
| 135 | <execution> |
| 136 | <goals> |
| 137 | <goal>repackage</goal> |
| 138 | </goals> |
| 139 | <phase>package</phase> |
| 140 | </execution> |
| 141 | </executions> |
| 142 | </plugin> |
| 143 | </plugins> |
| 144 | </build> |
Sirisha_Manchikanti | f83411a | 2021-05-07 15:17:52 +0100 | [diff] [blame] | 145 | </project> |