Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
pranitk1905 | 3e7c337 | 2023-02-06 14:13:29 +0530 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | Copyright (C) 2021-2022 Nokia. All rights reserved. |
| 5 | Copyright © 2022 Nordix Foundation. All rights reserved. |
| 6 | Copyright (c) 2023 Deutsche Telekom AG. All rights reserved. |
| 7 | ================================================================================ |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 9 | use this file except in compliance with the License. You may obtain a copy |
| 10 | 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 distributed under the |
| 15 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 16 | OF ANY KIND, either express or implied. See the License for the specific |
| 17 | language governing permissions and limitations under the License. SPDX-License-Identifier: |
| 18 | Apache-2.0 |
| 19 | ============LICENSE_END========================================================= --> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
pranitk1905 | 3e7c337 | 2023-02-06 14:13:29 +0530 | [diff] [blame] | 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
| 25 | <parent> |
| 26 | <groupId>org.onap.oparent</groupId> |
| 27 | <artifactId>oparent</artifactId> |
| 28 | <version>3.2.0</version> |
pranitk1905 | 3e7c337 | 2023-02-06 14:13:29 +0530 | [diff] [blame] | 29 | <relativePath /> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 30 | </parent> |
| 31 | |
Michal Banka | 53761bf | 2021-02-15 13:15:39 +0100 | [diff] [blame] | 32 | <groupId>org.onap.dcaegen2.platform.ves-openapi-manager</groupId> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 33 | <artifactId>ves-openapi-manager</artifactId> |
pranitk1905 | 3e7c337 | 2023-02-06 14:13:29 +0530 | [diff] [blame] | 34 | <version>1.3.1-SNAPSHOT</version> |
Tomasz Wrobel | 58b4167 | 2022-08-29 09:52:13 +0200 | [diff] [blame] | 35 | <name>dcaegen2-platform-ves-openapi-manager</name> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 36 | <packaging>jar</packaging> |
| 37 | |
| 38 | <properties> |
efiacor | 4212cd7 | 2022-11-21 08:59:13 +0000 | [diff] [blame] | 39 | <sdc-distribution-client.version>2.0.0</sdc-distribution-client.version> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 40 | <junit-jupiter.version>5.2.0</junit-jupiter.version> |
| 41 | <maven.compiler.source>11</maven.compiler.source> |
| 42 | <maven.compiler.target>11</maven.compiler.target> |
| 43 | <junit5.version>5.2.0</junit5.version> |
| 44 | <platform.version>1.2.0</platform.version> |
| 45 | <surefire.version>${mockito-core.version}</surefire.version> |
| 46 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 47 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 48 | <hibernate-validator.version>6.1.6.Final</hibernate-validator.version> |
pranitk1905 | 3e7c337 | 2023-02-06 14:13:29 +0530 | [diff] [blame] | 49 | <jackson-databind.version>2.14.1</jackson-databind.version> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 50 | <mockito-core.version>2.22.0</mockito-core.version> |
Tomasz Wrobel | d692ade | 2022-08-23 16:36:36 +0200 | [diff] [blame] | 51 | <spring.version>2.7.2</spring.version> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 52 | <docker-maven-plugin.version>0.31.0</docker-maven-plugin.version> |
| 53 | <skipDockerPush>false</skipDockerPush> |
| 54 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 55 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 56 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 57 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| 58 | <docker-image.namespace>onap</docker-image.namespace> |
| 59 | <docker-image.name.prefix>org.onap.dcaegen2.platform</docker-image.name.prefix> |
| 60 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format> |
| 61 | <maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version> |
Tomasz Wrobel | 58b4167 | 2022-08-29 09:52:13 +0200 | [diff] [blame] | 62 | <containerName>org.onap.dcaegen2.platform.ves-openapi-manager</containerName> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 63 | </properties> |
| 64 | |
| 65 | <build> |
| 66 | <finalName>ves-openapi-manager</finalName> |
| 67 | <plugins> |
| 68 | <plugin> |
| 69 | <groupId>org.apache.maven.plugins</groupId> |
| 70 | <artifactId>maven-surefire-plugin</artifactId> |
| 71 | <version>${surefire.version}</version> |
| 72 | <dependencies> |
| 73 | <dependency> |
| 74 | <groupId>org.junit.platform</groupId> |
| 75 | <artifactId>junit-platform-surefire-provider</artifactId> |
| 76 | <version>${platform.version}</version> |
| 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>org.junit.jupiter</groupId> |
| 80 | <artifactId>junit-jupiter-engine</artifactId> |
| 81 | <version>${junit5.version}</version> |
| 82 | </dependency> |
| 83 | </dependencies> |
| 84 | </plugin> |
| 85 | <plugin> |
| 86 | <groupId>org.springframework.boot</groupId> |
| 87 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 88 | <version>${spring.version}</version> |
| 89 | <executions> |
| 90 | <execution> |
| 91 | <goals> |
| 92 | <goal>repackage</goal> |
| 93 | </goals> |
| 94 | </execution> |
| 95 | </executions> |
| 96 | </plugin> |
| 97 | <plugin> |
| 98 | <groupId>org.apache.maven.plugins</groupId> |
| 99 | <artifactId>maven-compiler-plugin</artifactId> |
| 100 | <version>${maven-compiler-plugin.version}</version> |
| 101 | <configuration> |
| 102 | <source>${maven.compiler.source}</source> |
| 103 | <target>${maven.compiler.target}</target> |
| 104 | </configuration> |
| 105 | </plugin> |
Michal Banka | a3e5e53 | 2021-02-12 14:45:59 +0100 | [diff] [blame] | 106 | <plugin> |
| 107 | <groupId>io.fabric8</groupId> |
| 108 | <artifactId>docker-maven-plugin</artifactId> |
| 109 | <version>${docker-maven-plugin.version}</version> |
| 110 | <configuration> |
| 111 | <skipPush>${skipDockerPush}</skipPush> |
| 112 | <verbose>true</verbose> |
| 113 | <imagePullPolicy>IfNotPresent</imagePullPolicy> |
| 114 | <images> |
| 115 | <image> |
| 116 | <alias>${project.artifactId}</alias> |
| 117 | <name>${docker-image.namespace}/${docker-image.name.prefix}.${project.artifactId}</name> |
| 118 | <registry>${onap.nexus.dockerregistry.daily}</registry> |
| 119 | <build> |
| 120 | <dockerFileDir>${project.basedir}</dockerFileDir> |
| 121 | <tags> |
| 122 | <tag>${project.version}-${maven.build.timestamp}Z</tag> |
| 123 | </tags> |
| 124 | </build> |
| 125 | </image> |
| 126 | </images> |
| 127 | </configuration> |
| 128 | </plugin> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 129 | </plugins> |
| 130 | </build> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 131 | |
| 132 | <dependencyManagement> |
| 133 | <dependencies> |
| 134 | <dependency> |
| 135 | <!-- Import dependency management from Spring Boot --> |
| 136 | <groupId>org.springframework.boot</groupId> |
| 137 | <artifactId>spring-boot-dependencies</artifactId> |
| 138 | <version>${spring.version}</version> |
| 139 | <type>pom</type> |
| 140 | <scope>import</scope> |
pranitk1905 | 3e7c337 | 2023-02-06 14:13:29 +0530 | [diff] [blame] | 141 | </dependency> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 142 | </dependencies> |
| 143 | </dependencyManagement> |
| 144 | <dependencies> |
| 145 | <dependency> |
| 146 | <groupId>org.springframework.boot</groupId> |
| 147 | <artifactId>spring-boot-starter-web</artifactId> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>org.springframework.boot</groupId> |
| 151 | <artifactId>spring-boot-configuration-processor</artifactId> |
| 152 | <optional>true</optional> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>org.hibernate</groupId> |
| 156 | <artifactId>hibernate-validator</artifactId> |
| 157 | <version>${hibernate-validator.version}</version> |
| 158 | </dependency> |
| 159 | <dependency> |
| 160 | <groupId>org.projectlombok</groupId> |
| 161 | <artifactId>lombok</artifactId> |
| 162 | <optional>true</optional> |
| 163 | </dependency> |
| 164 | <dependency> |
| 165 | <groupId>org.onap.sdc.sdc-distribution-client</groupId> |
| 166 | <artifactId>sdc-distribution-client</artifactId> |
| 167 | <version>${sdc-distribution-client.version}</version> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>com.fasterxml.jackson.core</groupId> |
| 171 | <artifactId>jackson-databind</artifactId> |
| 172 | <version>${jackson-databind.version}</version> |
| 173 | </dependency> |
| 174 | <dependency> |
pranitk1905 | 3e7c337 | 2023-02-06 14:13:29 +0530 | [diff] [blame] | 175 | <groupId>com.fasterxml.jackson.core</groupId> |
| 176 | <artifactId>jackson-core</artifactId> |
| 177 | <version>${jackson-databind.version}</version> |
| 178 | </dependency> |
| 179 | <dependency> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 180 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 181 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 182 | <version>${jackson-databind.version}</version> |
| 183 | </dependency> |
| 184 | <dependency> |
| 185 | <groupId>com.fasterxml.jackson.datatype</groupId> |
| 186 | <artifactId>jackson-datatype-jsr310</artifactId> |
| 187 | <version>${jackson-databind.version}</version> |
| 188 | </dependency> |
| 189 | |
| 190 | <dependency> |
| 191 | <groupId>org.springframework.boot</groupId> |
| 192 | <artifactId>spring-boot-starter-test</artifactId> |
| 193 | <scope>test</scope> |
| 194 | </dependency> |
| 195 | <dependency> |
| 196 | <groupId>org.mockito</groupId> |
| 197 | <artifactId>mockito-core</artifactId> |
| 198 | <version>${mockito-core.version}</version> |
| 199 | <scope>test</scope> |
| 200 | </dependency> |
Michal Banka | 7f77049 | 2021-02-08 12:42:52 +0100 | [diff] [blame] | 201 | </dependencies> |
| 202 | |
| 203 | <distributionManagement> |
| 204 | <repository> |
| 205 | <id>ecomp-releases</id> |
| 206 | <name>Integration simulators Release Repository</name> |
| 207 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 208 | </repository> |
| 209 | <snapshotRepository> |
| 210 | <id>ecomp-snapshots</id> |
| 211 | <name>Integration simulators Snapshot Repository</name> |
| 212 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 213 | </snapshotRepository> |
| 214 | <site> |
| 215 | <id>ecomp-site</id> |
| 216 | <url>dav:${nexusproxy}${sitePath}</url> |
| 217 | </site> |
| 218 | </distributionManagement> |
| 219 | |
| 220 | </project> |