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>
19 <groupId>org.onap.aaf.certservice</groupId>
20 <artifactId>aaf-certservice</artifactId>
21 <version>1.0.0-SNAPSHOT</version>
23 <artifactId>aaf-certservice-api</artifactId>
24 <version>1.0.0-SNAPSHOT</version>
25 <name>aaf-certservice-api</name>
26 <description>AAF Certification Service Api</description>
27 <packaging>jar</packaging>
29 <dependencyManagement>
32 <!-- Import dependency management from Spring Boot -->
33 <groupId>org.springframework.boot</groupId>
34 <artifactId>spring-boot-dependencies</artifactId>
35 <version>${spring-boot-starter.version}</version>
40 </dependencyManagement>
44 <groupId>org.springframework.boot</groupId>
45 <artifactId>spring-boot-starter-web</artifactId>
46 <version>${spring-boot-starter.version}</version>
49 <groupId>org.springframework.boot</groupId>
50 <artifactId>spring-boot-starter-logging</artifactId>
55 <groupId>org.springframework.boot</groupId>
56 <artifactId>spring-boot-starter-log4j2</artifactId>
57 <version>${spring-boot-starter-log4j2.version}</version>
60 <groupId>org.springframework.boot</groupId>
61 <artifactId>spring-boot-starter-test</artifactId>
62 <version>${spring-boot-starter.version}</version>
66 <groupId>org.junit.vintage</groupId>
67 <artifactId>junit-vintage-engine</artifactId>
72 <groupId>org.mockito</groupId>
73 <artifactId>mockito-core</artifactId>
74 <version>${mockito-core.version}</version>
78 <groupId>org.assertj</groupId>
79 <artifactId>assertj-core</artifactId>
80 <version>${assertj-core.version}</version>
84 <groupId>org.springframework.boot</groupId>
85 <artifactId>spring-boot-starter-actuator</artifactId>
86 <version>${spring-boot-starter-actuator.version}</version>
89 <groupId>org.springdoc</groupId>
90 <artifactId>springdoc-openapi-ui</artifactId>
91 <version>${springdoc-openapi-ui.version}</version>
94 <groupId>org.bouncycastle</groupId>
95 <artifactId>bcpkix-jdk15on</artifactId>
96 <version>${bouncycastle.version}</version>
99 <groupId>org.bouncycastle</groupId>
100 <artifactId>bcprov-jdk15on</artifactId>
101 <version>${bouncycastle.version}</version>
104 <groupId>com.google.code.gson</groupId>
105 <artifactId>gson</artifactId>
106 <version>${gson.version}</version>
114 <groupId>org.springframework.boot</groupId>
115 <artifactId>spring-boot-maven-plugin</artifactId>
116 <version>${spring-boot-starter.version}</version>
119 <artifactId>maven-javadoc-plugin</artifactId>
120 <version>${maven-javadoc-plugin.version}</version>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-surefire-plugin</artifactId>
125 <version>${maven-surefire-plugin.version}</version>
131 <groupId>org.springframework.boot</groupId>
132 <artifactId>spring-boot-maven-plugin</artifactId>
136 <goal>repackage</goal>
140 <id>pre-integration-test</id>
146 <id>post-integration-test</id>
154 <artifactId>maven-javadoc-plugin</artifactId>
157 <verbose>false</verbose>
158 <useStandardDocletOptions>false</useStandardDocletOptions>
159 <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
166 <goal>aggregate</goal>
170 <id>attach-javadoc</id>
178 <groupId>org.springdoc</groupId>
179 <artifactId>springdoc-openapi-maven-plugin</artifactId>
180 <version>${springdoc-openapi-maven-plugin.version}</version>
183 <phase>integration-test</phase>
185 <goal>generate</goal>
190 <apiDocsUrl>${springdoc-openapi-maven-plugin.apiDocsUrl}</apiDocsUrl>
191 <outputFileName>api-docs.json</outputFileName>
192 <outputDir>${project.build.directory}</outputDir>
200 <id>docker-staging</id>
202 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
203 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
210 <activeByDefault>false</activeByDefault>
213 <os.detected.name>linux</os.detected.name>
214 <os.detected.arch>x86_64</os.detected.arch>
215 <os.detected.classifier>${os.detected.name}-${os.detected.arch}</os.detected.classifier>
220 <groupId>io.fabric8</groupId>
221 <artifactId>docker-maven-plugin</artifactId>
222 <version>${docker-maven-plugin.version}</version>
225 <id>docker-build-image</id>
226 <phase>package</phase>
232 <id>docker-push-image</id>
233 <phase>deploy</phase>
240 <skipPush>${skipDockerPush}</skipPush>
241 <verbose>true</verbose>
242 <imagePullPolicy>IfNotPresent</imagePullPolicy>
245 <alias>${project.artifactId}</alias>
246 <name>${docker-image.namespace}/${docker-image.name}
248 <registry>${docker-image.registry}</registry>
250 <dockerFileDir>${project.basedir}</dockerFileDir>
252 <tag>${project.version}-${maven.build.timestamp}Z</tag>
253 <tag>${project.version}</tag>
254 <tag>${docker-image.latest}</tag>
266 <distributionManagement>
268 <id>ecomp-releases</id>
269 <name>AAF Release Repository</name>
270 <url>${nexusproxy}${releaseNexusPath}</url>
273 <id>ecomp-snapshots</id>
274 <name>AAF Snapshot Repository</name>
275 <url>${nexusproxy}${snapshotNexusPath}</url>
276 </snapshotRepository>
279 <url>dav:${nexusproxy}${sitePath}</url>
281 </distributionManagement>