blob: 5366313f46c7a7a827dafec53b2c1c6284b45322 [file] [log] [blame]
Pawel486429d2020-02-10 10:36:16 +01001<?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"
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>
18
19 <parent>
20 <groupId>org.onap.oparent</groupId>
21 <artifactId>oparent</artifactId>
22 <version>3.0.0</version>
23 </parent>
Bartosz Gardziejewskibeecacb2020-02-13 07:31:47 +010024 <groupId>org.onap.aaf.certservice</groupId>
Bartosz Gardziejewski5d71eb72020-02-13 08:17:55 +010025 <artifactId>aaf-certservice</artifactId>
Bartosz Gardziejewskidd700fc2020-02-13 08:44:03 +010026 <version>1.0.0-SNAPSHOT</version>
Bartosz Gardziejewski5d71eb72020-02-13 08:17:55 +010027 <name>aaf-certservice</name>
28 <description>AAF Certification Service</description>
Pawel486429d2020-02-10 10:36:16 +010029 <packaging>pom</packaging>
Tomasz Golabek3b531c02020-02-12 08:56:23 +010030
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 Golabekce778052020-02-14 09:14:05 +010037 <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>
49 <springdoc-openapi-ui.version>1.2.30</springdoc-openapi-ui.version>
50 <bouncycastle.version>1.60</bouncycastle.version>
51 <docker-maven-plugin.version>0.33.0</docker-maven-plugin.version>
52 <springdoc-openapi-maven-plugin.version>0.2</springdoc-openapi-maven-plugin.version>
53 <gson.version>2.8.6</gson.version>
54 <docker-maven-plugin.version>0.33.0</docker-maven-plugin.version>
kjaniak6e2234c2020-02-17 23:04:25 +010055 <junit.version>5.5.2</junit.version>
kjaniak3a1f8302020-02-18 13:25:43 +010056 <mockito-junit-jupiter.version>2.17.0</mockito-junit-jupiter.version>
Tomasz Golabekce778052020-02-14 09:14:05 +010057
58 <!-- Docker -->
59 <skipDockerPush>true</skipDockerPush>
60 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
61 <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry>
62 <docker-image.namespace>onap</docker-image.namespace>
63 <docker-image.name>${project.groupId}.${project.artifactId}</docker-image.name>
64 <docker-image.latest>${project.version}</docker-image.latest>
65 <version>${project.version}</version>
66 <docker.http_proxy/>
67
Tomasz Golabek3b531c02020-02-12 08:56:23 +010068 </properties>
69
Pawel486429d2020-02-10 10:36:16 +010070 <modules>
71 <module>certService</module>
kjaniak8209f7c2020-02-14 14:33:27 +010072 <module>certServiceClient</module>
Pawel486429d2020-02-10 10:36:16 +010073 </modules>
Tomasz Golabek3b531c02020-02-12 08:56:23 +010074
kjaniak85022a82020-02-14 16:27:00 +010075 <build>
76 <pluginManagement>
77 <plugins>
78 <plugin>
kjaniak6e2234c2020-02-17 23:04:25 +010079 <groupId>org.springdoc</groupId>
80 <artifactId>springdoc-openapi-maven-plugin</artifactId>
81 <version>${springdoc-openapi-maven-plugin.version}</version>
82 <executions>
83 <execution>
84 <phase>integration-test</phase>
85 <goals>
86 <goal>generate</goal>
87 </goals>
88 </execution>
89 </executions>
90 <configuration>
91 <apiDocsUrl>${springdoc-openapi-maven-plugin.apiDocsUrl}</apiDocsUrl>
92 <outputFileName>api-docs.json</outputFileName>
93 <outputDir>${project.build.directory}</outputDir>
94 </configuration>
95 </plugin>
96 <plugin>
kjaniak85022a82020-02-14 16:27:00 +010097 <groupId>org.springframework.boot</groupId>
98 <artifactId>spring-boot-maven-plugin</artifactId>
99 <version>${spring-boot-starter.version}</version>
kjaniak6e2234c2020-02-17 23:04:25 +0100100 <executions>
101 <execution>
102 <goals>
103 <goal>repackage</goal>
104 </goals>
105 </execution>
106 <execution>
107 <id>pre-integration-test</id>
108 <goals>
109 <goal>start</goal>
110 </goals>
111 </execution>
112 <execution>
113 <id>post-integration-test</id>
114 <goals>
115 <goal>stop</goal>
116 </goals>
117 </execution>
118 </executions>
kjaniak85022a82020-02-14 16:27:00 +0100119 </plugin>
120 <plugin>
kjaniak6e2234c2020-02-17 23:04:25 +0100121 <groupId>org.apache.maven.plugins</groupId>
kjaniak85022a82020-02-14 16:27:00 +0100122 <artifactId>maven-javadoc-plugin</artifactId>
123 <version>${maven-javadoc-plugin.version}</version>
kjaniak6e2234c2020-02-17 23:04:25 +0100124 <configuration>
125 <quiet>true</quiet>
126 <verbose>false</verbose>
127 <useStandardDocletOptions>false</useStandardDocletOptions>
128 <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
129 </configuration>
130 <executions>
131 <execution>
132 <id>aggregate</id>
133 <phase>site</phase>
134 <goals>
135 <goal>aggregate</goal>
136 </goals>
137 </execution>
138 <execution>
139 <id>attach-javadoc</id>
140 <goals>
141 <goal>jar</goal>
142 </goals>
143 </execution>
144 </executions>
kjaniak85022a82020-02-14 16:27:00 +0100145 </plugin>
146 <plugin>
147 <groupId>org.apache.maven.plugins</groupId>
148 <artifactId>maven-surefire-plugin</artifactId>
149 <version>${maven-surefire-plugin.version}</version>
150 </plugin>
151 </plugins>
152 </pluginManagement>
153 </build>
154
Tomasz Golabek3b531c02020-02-12 08:56:23 +0100155 <distributionManagement>
156 <repository>
157 <id>ecomp-releases</id>
158 <name>AAF Release Repository</name>
159 <url>${nexusproxy}${releaseNexusPath}</url>
160 </repository>
161 <snapshotRepository>
162 <id>ecomp-snapshots</id>
163 <name>AAF Snapshot Repository</name>
164 <url>${nexusproxy}${snapshotNexusPath}</url>
165 </snapshotRepository>
166 <site>
167 <id>ecomp-site</id>
168 <url>dav:${nexusproxy}${sitePath}</url>
169 </site>
170 </distributionManagement>
171
kjaniak8209f7c2020-02-14 14:33:27 +0100172 <dependencyManagement>
173
174 <dependencies>
175 <dependency>
176 <groupId>org.springframework.boot</groupId>
177 <artifactId>spring-boot-starter-web</artifactId>
178 <version>${spring-boot-starter.version}</version>
179 <exclusions>
180 <exclusion>
181 <groupId>org.springframework.boot</groupId>
182 <artifactId>spring-boot-starter-logging</artifactId>
183 </exclusion>
184 </exclusions>
185 </dependency>
186 <dependency>
187 <groupId>org.springframework.boot</groupId>
188 <artifactId>spring-boot-starter-log4j2</artifactId>
189 <version>${spring-boot-starter-log4j2.version}</version>
190 </dependency>
191 <dependency>
192 <groupId>org.springframework.boot</groupId>
193 <artifactId>spring-boot-starter-test</artifactId>
194 <version>${spring-boot-starter.version}</version>
195 <scope>test</scope>
196 <exclusions>
197 <exclusion>
198 <groupId>org.junit.vintage</groupId>
199 <artifactId>junit-vintage-engine</artifactId>
200 </exclusion>
201 </exclusions>
202 </dependency>
203 <dependency>
204 <groupId>org.springframework.boot</groupId>
205 <artifactId>spring-boot-starter-actuator</artifactId>
206 <version>${spring-boot-starter-actuator.version}</version>
207 </dependency>
208 <dependency>
209 <groupId>org.springdoc</groupId>
210 <artifactId>springdoc-openapi-ui</artifactId>
211 <version>${springdoc-openapi-ui.version}</version>
212 </dependency>
213 <dependency>
214 <groupId>org.bouncycastle</groupId>
215 <artifactId>bcpkix-jdk15on</artifactId>
216 <version>${bouncycastle.version}</version>
217 </dependency>
218 <dependency>
219 <groupId>org.bouncycastle</groupId>
220 <artifactId>bcprov-jdk15on</artifactId>
221 <version>${bouncycastle.version}</version>
222 </dependency>
223 <dependency>
224 <groupId>com.google.code.gson</groupId>
225 <artifactId>gson</artifactId>
226 <version>${gson.version}</version>
227 </dependency>
228 <dependency>
229 <!-- Import dependency management from Spring Boot -->
230 <groupId>org.springframework.boot</groupId>
231 <artifactId>spring-boot-dependencies</artifactId>
232 <version>${spring-boot-starter.version}</version>
233 <type>pom</type>
234 <scope>import</scope>
235 </dependency>
236
237 <!-- Test dependecies -->
kjaniak6e2234c2020-02-17 23:04:25 +0100238 <dependency>
239 <groupId>org.assertj</groupId>
240 <artifactId>assertj-core</artifactId>
241 <version>${assertj-core.version}</version>
242 <scope>test</scope>
243 </dependency>
kjaniak8209f7c2020-02-14 14:33:27 +0100244 <dependency>
kjaniak85022a82020-02-14 16:27:00 +0100245 <groupId>org.junit.jupiter</groupId>
246 <artifactId>junit-jupiter-engine</artifactId>
247 <version>${junit.version}</version>
248 <scope>test</scope>
249 </dependency>
250 <dependency>
kjaniak6e2234c2020-02-17 23:04:25 +0100251 <groupId>org.junit.jupiter</groupId>
252 <artifactId>junit-jupiter-api</artifactId>
253 <version>${junit.version}</version>
kjaniak8209f7c2020-02-14 14:33:27 +0100254 <scope>test</scope>
255 </dependency>
256 <dependency>
kjaniak6e2234c2020-02-17 23:04:25 +0100257 <groupId>org.mockito</groupId>
258 <artifactId>mockito-core</artifactId>
259 <version>${mockito-core.version}</version>
kjaniak8209f7c2020-02-14 14:33:27 +0100260 <scope>test</scope>
261 </dependency>
kjaniak3a1f8302020-02-18 13:25:43 +0100262 <dependency>
263 <groupId>org.mockito</groupId>
264 <artifactId>mockito-junit-jupiter</artifactId>
265 <version>${mockito-junit-jupiter.version}</version>
266 <scope>test</scope>
267 </dependency>
268
kjaniak8209f7c2020-02-14 14:33:27 +0100269 </dependencies>
270 </dependencyManagement>
271
Pawel486429d2020-02-10 10:36:16 +0100272</project>