Pawel | 486429d | 2020-02-10 10:36:16 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ================================================================================ |
| 4 | Copyright (c) 2020 Nokia. All rights reserved. |
| 5 | ================================================================================ |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 7 | use this file except in compliance with the License. You may obtain a copy |
| 8 | of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| 9 | by applicable law or agreed to in writing, software distributed under the |
| 10 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 11 | OF ANY KIND, either express or implied. See the License for the specific |
| 12 | language governing permissions and limitations under the License. |
| 13 | ============LICENSE_END========================================================= |
| 14 | --> |
| 15 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
kjaniak | c45f39c | 2020-02-19 16:42:38 +0100 | [diff] [blame] | 16 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Pawel | 486429d | 2020-02-10 10:36:16 +0100 | [diff] [blame] | 17 | <modelVersion>4.0.0</modelVersion> |
| 18 | |
| 19 | <parent> |
| 20 | <groupId>org.onap.oparent</groupId> |
| 21 | <artifactId>oparent</artifactId> |
| 22 | <version>3.0.0</version> |
| 23 | </parent> |
Bartosz Gardziejewski | beecacb | 2020-02-13 07:31:47 +0100 | [diff] [blame] | 24 | <groupId>org.onap.aaf.certservice</groupId> |
Bartosz Gardziejewski | 5d71eb7 | 2020-02-13 08:17:55 +0100 | [diff] [blame] | 25 | <artifactId>aaf-certservice</artifactId> |
Bartosz Gardziejewski | dd700fc | 2020-02-13 08:44:03 +0100 | [diff] [blame] | 26 | <version>1.0.0-SNAPSHOT</version> |
Bartosz Gardziejewski | 5d71eb7 | 2020-02-13 08:17:55 +0100 | [diff] [blame] | 27 | <name>aaf-certservice</name> |
| 28 | <description>AAF Certification Service</description> |
Pawel | 486429d | 2020-02-10 10:36:16 +0100 | [diff] [blame] | 29 | <packaging>pom</packaging> |
Tomasz Golabek | 3b531c0 | 2020-02-12 08:56:23 +0100 | [diff] [blame] | 30 | |
| 31 | <properties> |
| 32 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 33 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 34 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 35 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| 36 | <sitePath>/content/sites/site/org/onap/aaf/cert-service/${project.artifactId}/${project.version}</sitePath> |
Tomasz Golabek | ce77805 | 2020-02-14 09:14:05 +0100 | [diff] [blame] | 37 | <java.version>11</java.version> |
| 38 | <springdoc-openapi-maven-plugin.apiDocsUrl>http://localhost:8080/v3/api-docs</springdoc-openapi-maven-plugin.apiDocsUrl> |
| 39 | |
| 40 | <!-- Dependencies --> |
| 41 | <assertj-core.version>3.15.0</assertj-core.version> |
| 42 | <mockito-core.version>3.2.4</mockito-core.version> |
| 43 | <spring-core.version>5.2.3.RELEASE</spring-core.version> |
| 44 | <spring-boot-starter.version>2.2.4.RELEASE</spring-boot-starter.version> |
| 45 | <maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version> |
| 46 | <maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version> |
| 47 | <spring-boot-starter-actuator.version>2.2.4.RELEASE</spring-boot-starter-actuator.version> |
| 48 | <spring-boot-starter-log4j2.version>2.1.5.RELEASE</spring-boot-starter-log4j2.version> |
Tomasz Golabek | 7244c90 | 2020-02-21 15:49:34 +0100 | [diff] [blame] | 49 | <spring-cloud-starter-config.version>2.2.1.RELEASE</spring-cloud-starter-config.version> |
Tomasz Golabek | ce77805 | 2020-02-14 09:14:05 +0100 | [diff] [blame] | 50 | <springdoc-openapi-ui.version>1.2.30</springdoc-openapi-ui.version> |
| 51 | <bouncycastle.version>1.60</bouncycastle.version> |
| 52 | <docker-maven-plugin.version>0.33.0</docker-maven-plugin.version> |
| 53 | <springdoc-openapi-maven-plugin.version>0.2</springdoc-openapi-maven-plugin.version> |
| 54 | <gson.version>2.8.6</gson.version> |
EmmettCox | 153a7ac | 2020-02-17 13:54:05 +0000 | [diff] [blame] | 55 | <httpcomponents.version>4.5.6</httpcomponents.version> |
| 56 | <commons-io.version>2.6</commons-io.version> |
Tomasz Golabek | ce77805 | 2020-02-14 09:14:05 +0100 | [diff] [blame] | 57 | <docker-maven-plugin.version>0.33.0</docker-maven-plugin.version> |
kjaniak | 6e2234c | 2020-02-17 23:04:25 +0100 | [diff] [blame] | 58 | <junit.version>5.5.2</junit.version> |
kjaniak | 3a1f830 | 2020-02-18 13:25:43 +0100 | [diff] [blame] | 59 | <mockito-junit-jupiter.version>2.17.0</mockito-junit-jupiter.version> |
Tomasz Golabek | ce77805 | 2020-02-14 09:14:05 +0100 | [diff] [blame] | 60 | |
| 61 | <!-- Docker --> |
| 62 | <skipDockerPush>true</skipDockerPush> |
| 63 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format> |
kjaniak | c45f39c | 2020-02-19 16:42:38 +0100 | [diff] [blame] | 64 | <maven-shade-plugin.version>3.2.2</maven-shade-plugin.version> |
Tomasz Golabek | ce77805 | 2020-02-14 09:14:05 +0100 | [diff] [blame] | 65 | <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry> |
| 66 | <docker-image.namespace>onap</docker-image.namespace> |
| 67 | <docker-image.name>${project.groupId}.${project.artifactId}</docker-image.name> |
| 68 | <docker-image.latest>${project.version}</docker-image.latest> |
| 69 | <version>${project.version}</version> |
| 70 | <docker.http_proxy/> |
| 71 | |
Tomasz Golabek | 3b531c0 | 2020-02-12 08:56:23 +0100 | [diff] [blame] | 72 | </properties> |
| 73 | |
Pawel | 486429d | 2020-02-10 10:36:16 +0100 | [diff] [blame] | 74 | <modules> |
| 75 | <module>certService</module> |
kjaniak | 8209f7c | 2020-02-14 14:33:27 +0100 | [diff] [blame] | 76 | <module>certServiceClient</module> |
Pawel | 486429d | 2020-02-10 10:36:16 +0100 | [diff] [blame] | 77 | </modules> |
Tomasz Golabek | 3b531c0 | 2020-02-12 08:56:23 +0100 | [diff] [blame] | 78 | |
kjaniak | 85022a8 | 2020-02-14 16:27:00 +0100 | [diff] [blame] | 79 | <build> |
| 80 | <pluginManagement> |
| 81 | <plugins> |
| 82 | <plugin> |
kjaniak | 6e2234c | 2020-02-17 23:04:25 +0100 | [diff] [blame] | 83 | <groupId>org.springdoc</groupId> |
| 84 | <artifactId>springdoc-openapi-maven-plugin</artifactId> |
| 85 | <version>${springdoc-openapi-maven-plugin.version}</version> |
| 86 | <executions> |
| 87 | <execution> |
| 88 | <phase>integration-test</phase> |
| 89 | <goals> |
| 90 | <goal>generate</goal> |
| 91 | </goals> |
| 92 | </execution> |
| 93 | </executions> |
| 94 | <configuration> |
| 95 | <apiDocsUrl>${springdoc-openapi-maven-plugin.apiDocsUrl}</apiDocsUrl> |
| 96 | <outputFileName>api-docs.json</outputFileName> |
| 97 | <outputDir>${project.build.directory}</outputDir> |
| 98 | </configuration> |
| 99 | </plugin> |
| 100 | <plugin> |
kjaniak | 85022a8 | 2020-02-14 16:27:00 +0100 | [diff] [blame] | 101 | <groupId>org.springframework.boot</groupId> |
| 102 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 103 | <version>${spring-boot-starter.version}</version> |
kjaniak | 6e2234c | 2020-02-17 23:04:25 +0100 | [diff] [blame] | 104 | <executions> |
| 105 | <execution> |
| 106 | <goals> |
| 107 | <goal>repackage</goal> |
| 108 | </goals> |
| 109 | </execution> |
| 110 | <execution> |
| 111 | <id>pre-integration-test</id> |
| 112 | <goals> |
| 113 | <goal>start</goal> |
| 114 | </goals> |
| 115 | </execution> |
| 116 | <execution> |
| 117 | <id>post-integration-test</id> |
| 118 | <goals> |
| 119 | <goal>stop</goal> |
| 120 | </goals> |
| 121 | </execution> |
| 122 | </executions> |
kjaniak | 85022a8 | 2020-02-14 16:27:00 +0100 | [diff] [blame] | 123 | </plugin> |
| 124 | <plugin> |
kjaniak | 6e2234c | 2020-02-17 23:04:25 +0100 | [diff] [blame] | 125 | <groupId>org.apache.maven.plugins</groupId> |
kjaniak | 85022a8 | 2020-02-14 16:27:00 +0100 | [diff] [blame] | 126 | <artifactId>maven-javadoc-plugin</artifactId> |
| 127 | <version>${maven-javadoc-plugin.version}</version> |
kjaniak | 6e2234c | 2020-02-17 23:04:25 +0100 | [diff] [blame] | 128 | <configuration> |
| 129 | <quiet>true</quiet> |
| 130 | <verbose>false</verbose> |
| 131 | <useStandardDocletOptions>false</useStandardDocletOptions> |
| 132 | <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> |
| 133 | </configuration> |
| 134 | <executions> |
| 135 | <execution> |
| 136 | <id>aggregate</id> |
| 137 | <phase>site</phase> |
| 138 | <goals> |
| 139 | <goal>aggregate</goal> |
| 140 | </goals> |
| 141 | </execution> |
| 142 | <execution> |
| 143 | <id>attach-javadoc</id> |
| 144 | <goals> |
| 145 | <goal>jar</goal> |
| 146 | </goals> |
| 147 | </execution> |
| 148 | </executions> |
kjaniak | 85022a8 | 2020-02-14 16:27:00 +0100 | [diff] [blame] | 149 | </plugin> |
| 150 | <plugin> |
| 151 | <groupId>org.apache.maven.plugins</groupId> |
| 152 | <artifactId>maven-surefire-plugin</artifactId> |
| 153 | <version>${maven-surefire-plugin.version}</version> |
| 154 | </plugin> |
| 155 | </plugins> |
| 156 | </pluginManagement> |
| 157 | </build> |
| 158 | |
Tomasz Golabek | 3b531c0 | 2020-02-12 08:56:23 +0100 | [diff] [blame] | 159 | <distributionManagement> |
| 160 | <repository> |
| 161 | <id>ecomp-releases</id> |
| 162 | <name>AAF Release Repository</name> |
| 163 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 164 | </repository> |
| 165 | <snapshotRepository> |
| 166 | <id>ecomp-snapshots</id> |
| 167 | <name>AAF Snapshot Repository</name> |
| 168 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 169 | </snapshotRepository> |
| 170 | <site> |
| 171 | <id>ecomp-site</id> |
| 172 | <url>dav:${nexusproxy}${sitePath}</url> |
| 173 | </site> |
| 174 | </distributionManagement> |
| 175 | |
kjaniak | 8209f7c | 2020-02-14 14:33:27 +0100 | [diff] [blame] | 176 | <dependencyManagement> |
| 177 | |
| 178 | <dependencies> |
| 179 | <dependency> |
| 180 | <groupId>org.springframework.boot</groupId> |
| 181 | <artifactId>spring-boot-starter-web</artifactId> |
| 182 | <version>${spring-boot-starter.version}</version> |
| 183 | <exclusions> |
| 184 | <exclusion> |
| 185 | <groupId>org.springframework.boot</groupId> |
| 186 | <artifactId>spring-boot-starter-logging</artifactId> |
| 187 | </exclusion> |
| 188 | </exclusions> |
| 189 | </dependency> |
| 190 | <dependency> |
| 191 | <groupId>org.springframework.boot</groupId> |
| 192 | <artifactId>spring-boot-starter-log4j2</artifactId> |
| 193 | <version>${spring-boot-starter-log4j2.version}</version> |
| 194 | </dependency> |
| 195 | <dependency> |
| 196 | <groupId>org.springframework.boot</groupId> |
| 197 | <artifactId>spring-boot-starter-test</artifactId> |
| 198 | <version>${spring-boot-starter.version}</version> |
| 199 | <scope>test</scope> |
| 200 | <exclusions> |
| 201 | <exclusion> |
| 202 | <groupId>org.junit.vintage</groupId> |
| 203 | <artifactId>junit-vintage-engine</artifactId> |
| 204 | </exclusion> |
| 205 | </exclusions> |
| 206 | </dependency> |
| 207 | <dependency> |
| 208 | <groupId>org.springframework.boot</groupId> |
| 209 | <artifactId>spring-boot-starter-actuator</artifactId> |
| 210 | <version>${spring-boot-starter-actuator.version}</version> |
| 211 | </dependency> |
| 212 | <dependency> |
| 213 | <groupId>org.springdoc</groupId> |
| 214 | <artifactId>springdoc-openapi-ui</artifactId> |
| 215 | <version>${springdoc-openapi-ui.version}</version> |
| 216 | </dependency> |
| 217 | <dependency> |
| 218 | <groupId>org.bouncycastle</groupId> |
| 219 | <artifactId>bcpkix-jdk15on</artifactId> |
| 220 | <version>${bouncycastle.version}</version> |
| 221 | </dependency> |
| 222 | <dependency> |
| 223 | <groupId>org.bouncycastle</groupId> |
| 224 | <artifactId>bcprov-jdk15on</artifactId> |
| 225 | <version>${bouncycastle.version}</version> |
| 226 | </dependency> |
| 227 | <dependency> |
| 228 | <groupId>com.google.code.gson</groupId> |
| 229 | <artifactId>gson</artifactId> |
| 230 | <version>${gson.version}</version> |
| 231 | </dependency> |
| 232 | <dependency> |
EmmettCox | 153a7ac | 2020-02-17 13:54:05 +0000 | [diff] [blame] | 233 | <groupId>org.apache.httpcomponents</groupId> |
| 234 | <artifactId>httpclient</artifactId> |
| 235 | <version>${httpcomponents.version}</version> |
| 236 | </dependency> |
| 237 | <dependency> |
| 238 | <groupId>commons-io</groupId> |
| 239 | <artifactId>commons-io</artifactId> |
| 240 | <version>${commons-io.version}</version> |
| 241 | </dependency> |
| 242 | <dependency> |
kjaniak | 8209f7c | 2020-02-14 14:33:27 +0100 | [diff] [blame] | 243 | <!-- Import dependency management from Spring Boot --> |
| 244 | <groupId>org.springframework.boot</groupId> |
| 245 | <artifactId>spring-boot-dependencies</artifactId> |
| 246 | <version>${spring-boot-starter.version}</version> |
| 247 | <type>pom</type> |
| 248 | <scope>import</scope> |
| 249 | </dependency> |
| 250 | |
| 251 | <!-- Test dependecies --> |
kjaniak | 6e2234c | 2020-02-17 23:04:25 +0100 | [diff] [blame] | 252 | <dependency> |
| 253 | <groupId>org.assertj</groupId> |
| 254 | <artifactId>assertj-core</artifactId> |
| 255 | <version>${assertj-core.version}</version> |
| 256 | <scope>test</scope> |
| 257 | </dependency> |
kjaniak | 8209f7c | 2020-02-14 14:33:27 +0100 | [diff] [blame] | 258 | <dependency> |
kjaniak | 85022a8 | 2020-02-14 16:27:00 +0100 | [diff] [blame] | 259 | <groupId>org.junit.jupiter</groupId> |
| 260 | <artifactId>junit-jupiter-engine</artifactId> |
| 261 | <version>${junit.version}</version> |
| 262 | <scope>test</scope> |
| 263 | </dependency> |
| 264 | <dependency> |
kjaniak | 6e2234c | 2020-02-17 23:04:25 +0100 | [diff] [blame] | 265 | <groupId>org.junit.jupiter</groupId> |
| 266 | <artifactId>junit-jupiter-api</artifactId> |
| 267 | <version>${junit.version}</version> |
kjaniak | 8209f7c | 2020-02-14 14:33:27 +0100 | [diff] [blame] | 268 | <scope>test</scope> |
| 269 | </dependency> |
| 270 | <dependency> |
kjaniak | 6e2234c | 2020-02-17 23:04:25 +0100 | [diff] [blame] | 271 | <groupId>org.mockito</groupId> |
| 272 | <artifactId>mockito-core</artifactId> |
| 273 | <version>${mockito-core.version}</version> |
kjaniak | 8209f7c | 2020-02-14 14:33:27 +0100 | [diff] [blame] | 274 | <scope>test</scope> |
| 275 | </dependency> |
kjaniak | 3a1f830 | 2020-02-18 13:25:43 +0100 | [diff] [blame] | 276 | <dependency> |
| 277 | <groupId>org.mockito</groupId> |
| 278 | <artifactId>mockito-junit-jupiter</artifactId> |
| 279 | <version>${mockito-junit-jupiter.version}</version> |
| 280 | <scope>test</scope> |
| 281 | </dependency> |
| 282 | |
kjaniak | 8209f7c | 2020-02-14 14:33:27 +0100 | [diff] [blame] | 283 | </dependencies> |
| 284 | </dependencyManagement> |
| 285 | |
Pawel | 486429d | 2020-02-10 10:36:16 +0100 | [diff] [blame] | 286 | </project> |