1 <?xml version="1.0" encoding="UTF-8"?>
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=========================================================
15 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
16 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
17 <modelVersion>4.0.0</modelVersion>
20 <groupId>org.onap.oparent</groupId>
21 <artifactId>oparent</artifactId>
22 <version>3.0.0</version>
24 <groupId>org.onap.aaf.certservice</groupId>
25 <artifactId>aaf-certservice</artifactId>
26 <version>1.0.0-SNAPSHOT</version>
27 <name>aaf-certservice</name>
28 <description>AAF Certification Service</description>
29 <packaging>pom</packaging>
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>
37 <java.version>11</java.version>
38 <springdoc-openapi-maven-plugin.apiDocsUrl>http://localhost:8080/v3/api-docs.yaml</springdoc-openapi-maven-plugin.apiDocsUrl>
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>
49 <spring-cloud-starter-config.version>2.2.1.RELEASE</spring-cloud-starter-config.version>
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>
55 <httpcomponents.version>4.5.6</httpcomponents.version>
56 <commons-lang3.version>3.9</commons-lang3.version>
57 <commons-io.version>2.6</commons-io.version>
58 <docker-maven-plugin.version>0.33.0</docker-maven-plugin.version>
59 <junit.version>5.5.2</junit.version>
60 <mockito-junit-jupiter.version>2.17.0</mockito-junit-jupiter.version>
63 <skipDockerPush>true</skipDockerPush>
64 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
65 <maven-shade-plugin.version>3.2.2</maven-shade-plugin.version>
66 <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry>
67 <docker-image.namespace>onap</docker-image.namespace>
68 <docker-image.name>${project.groupId}.${project.artifactId}</docker-image.name>
69 <docker-image.latest>${project.version}</docker-image.latest>
70 <version>${project.version}</version>
76 <module>certService</module>
77 <module>certServiceClient</module>
84 <artifactId>maven-checkstyle-plugin</artifactId>
86 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
90 <groupId>org.springdoc</groupId>
91 <artifactId>springdoc-openapi-maven-plugin</artifactId>
92 <version>${springdoc-openapi-maven-plugin.version}</version>
95 <phase>integration-test</phase>
102 <apiDocsUrl>${springdoc-openapi-maven-plugin.apiDocsUrl}</apiDocsUrl>
103 <outputFileName>api-docs.yaml</outputFileName>
104 <outputDir>${project.build.directory}</outputDir>
108 <groupId>org.springframework.boot</groupId>
109 <artifactId>spring-boot-maven-plugin</artifactId>
110 <version>${spring-boot-starter.version}</version>
114 <goal>repackage</goal>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-javadoc-plugin</artifactId>
122 <version>${maven-javadoc-plugin.version}</version>
125 <verbose>false</verbose>
126 <useStandardDocletOptions>false</useStandardDocletOptions>
127 <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
134 <goal>aggregate</goal>
138 <id>attach-javadoc</id>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-surefire-plugin</artifactId>
148 <version>${maven-surefire-plugin.version}</version>
154 <distributionManagement>
156 <id>ecomp-releases</id>
157 <name>AAF Release Repository</name>
158 <url>${nexusproxy}${releaseNexusPath}</url>
161 <id>ecomp-snapshots</id>
162 <name>AAF Snapshot Repository</name>
163 <url>${nexusproxy}${snapshotNexusPath}</url>
164 </snapshotRepository>
167 <url>dav:${nexusproxy}${sitePath}</url>
169 </distributionManagement>
171 <dependencyManagement>
175 <groupId>org.springframework.boot</groupId>
176 <artifactId>spring-boot-starter-web</artifactId>
177 <version>${spring-boot-starter.version}</version>
180 <groupId>org.springframework.boot</groupId>
181 <artifactId>spring-boot-starter-logging</artifactId>
186 <groupId>org.springframework.boot</groupId>
187 <artifactId>spring-boot-starter-log4j2</artifactId>
188 <version>${spring-boot-starter-log4j2.version}</version>
191 <groupId>org.springframework.boot</groupId>
192 <artifactId>spring-boot-starter-test</artifactId>
193 <version>${spring-boot-starter.version}</version>
197 <groupId>org.junit.vintage</groupId>
198 <artifactId>junit-vintage-engine</artifactId>
203 <groupId>org.springframework.boot</groupId>
204 <artifactId>spring-boot-starter-actuator</artifactId>
205 <version>${spring-boot-starter-actuator.version}</version>
208 <groupId>org.springdoc</groupId>
209 <artifactId>springdoc-openapi-ui</artifactId>
210 <version>${springdoc-openapi-ui.version}</version>
213 <groupId>org.bouncycastle</groupId>
214 <artifactId>bcpkix-jdk15on</artifactId>
215 <version>${bouncycastle.version}</version>
218 <groupId>org.bouncycastle</groupId>
219 <artifactId>bcprov-jdk15on</artifactId>
220 <version>${bouncycastle.version}</version>
223 <groupId>com.google.code.gson</groupId>
224 <artifactId>gson</artifactId>
225 <version>${gson.version}</version>
228 <groupId>org.apache.httpcomponents</groupId>
229 <artifactId>httpclient</artifactId>
230 <version>${httpcomponents.version}</version>
233 <groupId>org.apache.commons</groupId>
234 <artifactId>commons-lang3</artifactId>
235 <version>${commons-lang3.version}</version>
238 <groupId>commons-io</groupId>
239 <artifactId>commons-io</artifactId>
240 <version>${commons-io.version}</version>
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>
248 <scope>import</scope>
251 <!-- Test dependecies -->
253 <groupId>org.assertj</groupId>
254 <artifactId>assertj-core</artifactId>
255 <version>${assertj-core.version}</version>
259 <groupId>org.junit.jupiter</groupId>
260 <artifactId>junit-jupiter</artifactId>
261 <version>${junit.version}</version>
265 <groupId>org.mockito</groupId>
266 <artifactId>mockito-core</artifactId>
267 <version>${mockito-core.version}</version>
271 <groupId>org.mockito</groupId>
272 <artifactId>mockito-junit-jupiter</artifactId>
273 <version>${mockito-junit-jupiter.version}</version>
278 </dependencyManagement>