blob: 9780c8f905d91bd68ad7d3b2d6a5ecf0b11df668 [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"
kjaniakc45f39c2020-02-19 16:42:38 +010016 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
Pawel486429d2020-02-10 10:36:16 +010017 <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>
Bartosz Gardziejewski08558462020-03-10 16:05:09 +010038 <springdoc-openapi-maven-plugin.apiDocsUrl>http://localhost:8080/v3/api-docs.yaml</springdoc-openapi-maven-plugin.apiDocsUrl>
Tomasz Golabekce778052020-02-14 09:14:05 +010039
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 Golabek7244c902020-02-21 15:49:34 +010049 <spring-cloud-starter-config.version>2.2.1.RELEASE</spring-cloud-starter-config.version>
Tomasz Golabekce778052020-02-14 09:14:05 +010050 <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>
EmmettCox153a7ac2020-02-17 13:54:05 +000055 <httpcomponents.version>4.5.6</httpcomponents.version>
Joanna Jeremiczee672c32020-02-26 14:30:36 +010056 <commons-lang3.version>3.9</commons-lang3.version>
EmmettCox153a7ac2020-02-17 13:54:05 +000057 <commons-io.version>2.6</commons-io.version>
Tomasz Golabekce778052020-02-14 09:14:05 +010058 <docker-maven-plugin.version>0.33.0</docker-maven-plugin.version>
kjaniak6e2234c2020-02-17 23:04:25 +010059 <junit.version>5.5.2</junit.version>
kjaniak3a1f8302020-02-18 13:25:43 +010060 <mockito-junit-jupiter.version>2.17.0</mockito-junit-jupiter.version>
Tomasz Golabekce778052020-02-14 09:14:05 +010061
62 <!-- Docker -->
63 <skipDockerPush>true</skipDockerPush>
64 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
kjaniakc45f39c2020-02-19 16:42:38 +010065 <maven-shade-plugin.version>3.2.2</maven-shade-plugin.version>
Tomasz Golabekce778052020-02-14 09:14:05 +010066 <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>
71 <docker.http_proxy/>
72
Tomasz Golabek3b531c02020-02-12 08:56:23 +010073 </properties>
74
Pawel486429d2020-02-10 10:36:16 +010075 <modules>
76 <module>certService</module>
kjaniak8209f7c2020-02-14 14:33:27 +010077 <module>certServiceClient</module>
Pawel486429d2020-02-10 10:36:16 +010078 </modules>
Tomasz Golabek3b531c02020-02-12 08:56:23 +010079
kjaniak85022a82020-02-14 16:27:00 +010080 <build>
81 <pluginManagement>
82 <plugins>
83 <plugin>
Bartosz Gardziejewskib9dadbd2020-03-18 11:31:45 +010084 <artifactId>maven-checkstyle-plugin</artifactId>
85 <configuration>
86 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
87 </configuration>
88 </plugin>
89 <plugin>
kjaniak6e2234c2020-02-17 23:04:25 +010090 <groupId>org.springdoc</groupId>
91 <artifactId>springdoc-openapi-maven-plugin</artifactId>
92 <version>${springdoc-openapi-maven-plugin.version}</version>
93 <executions>
94 <execution>
95 <phase>integration-test</phase>
96 <goals>
97 <goal>generate</goal>
98 </goals>
99 </execution>
100 </executions>
101 <configuration>
102 <apiDocsUrl>${springdoc-openapi-maven-plugin.apiDocsUrl}</apiDocsUrl>
Bartosz Gardziejewski08558462020-03-10 16:05:09 +0100103 <outputFileName>api-docs.yaml</outputFileName>
kjaniak6e2234c2020-02-17 23:04:25 +0100104 <outputDir>${project.build.directory}</outputDir>
105 </configuration>
106 </plugin>
107 <plugin>
kjaniak85022a82020-02-14 16:27:00 +0100108 <groupId>org.springframework.boot</groupId>
109 <artifactId>spring-boot-maven-plugin</artifactId>
110 <version>${spring-boot-starter.version}</version>
kjaniak6e2234c2020-02-17 23:04:25 +0100111 <executions>
112 <execution>
113 <goals>
114 <goal>repackage</goal>
115 </goals>
116 </execution>
117 <execution>
118 <id>pre-integration-test</id>
119 <goals>
120 <goal>start</goal>
121 </goals>
122 </execution>
123 <execution>
124 <id>post-integration-test</id>
125 <goals>
126 <goal>stop</goal>
127 </goals>
128 </execution>
129 </executions>
kjaniak85022a82020-02-14 16:27:00 +0100130 </plugin>
131 <plugin>
kjaniak6e2234c2020-02-17 23:04:25 +0100132 <groupId>org.apache.maven.plugins</groupId>
kjaniak85022a82020-02-14 16:27:00 +0100133 <artifactId>maven-javadoc-plugin</artifactId>
134 <version>${maven-javadoc-plugin.version}</version>
kjaniak6e2234c2020-02-17 23:04:25 +0100135 <configuration>
136 <quiet>true</quiet>
137 <verbose>false</verbose>
138 <useStandardDocletOptions>false</useStandardDocletOptions>
139 <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
140 </configuration>
141 <executions>
142 <execution>
143 <id>aggregate</id>
144 <phase>site</phase>
145 <goals>
146 <goal>aggregate</goal>
147 </goals>
148 </execution>
149 <execution>
150 <id>attach-javadoc</id>
151 <goals>
152 <goal>jar</goal>
153 </goals>
154 </execution>
155 </executions>
kjaniak85022a82020-02-14 16:27:00 +0100156 </plugin>
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-surefire-plugin</artifactId>
160 <version>${maven-surefire-plugin.version}</version>
161 </plugin>
162 </plugins>
163 </pluginManagement>
164 </build>
165
Tomasz Golabek3b531c02020-02-12 08:56:23 +0100166 <distributionManagement>
167 <repository>
168 <id>ecomp-releases</id>
169 <name>AAF Release Repository</name>
170 <url>${nexusproxy}${releaseNexusPath}</url>
171 </repository>
172 <snapshotRepository>
173 <id>ecomp-snapshots</id>
174 <name>AAF Snapshot Repository</name>
175 <url>${nexusproxy}${snapshotNexusPath}</url>
176 </snapshotRepository>
177 <site>
178 <id>ecomp-site</id>
179 <url>dav:${nexusproxy}${sitePath}</url>
180 </site>
181 </distributionManagement>
182
kjaniak8209f7c2020-02-14 14:33:27 +0100183 <dependencyManagement>
184
185 <dependencies>
186 <dependency>
187 <groupId>org.springframework.boot</groupId>
188 <artifactId>spring-boot-starter-web</artifactId>
189 <version>${spring-boot-starter.version}</version>
190 <exclusions>
191 <exclusion>
192 <groupId>org.springframework.boot</groupId>
193 <artifactId>spring-boot-starter-logging</artifactId>
194 </exclusion>
195 </exclusions>
196 </dependency>
197 <dependency>
198 <groupId>org.springframework.boot</groupId>
199 <artifactId>spring-boot-starter-log4j2</artifactId>
200 <version>${spring-boot-starter-log4j2.version}</version>
201 </dependency>
202 <dependency>
203 <groupId>org.springframework.boot</groupId>
204 <artifactId>spring-boot-starter-test</artifactId>
205 <version>${spring-boot-starter.version}</version>
206 <scope>test</scope>
207 <exclusions>
208 <exclusion>
209 <groupId>org.junit.vintage</groupId>
210 <artifactId>junit-vintage-engine</artifactId>
211 </exclusion>
212 </exclusions>
213 </dependency>
214 <dependency>
215 <groupId>org.springframework.boot</groupId>
216 <artifactId>spring-boot-starter-actuator</artifactId>
217 <version>${spring-boot-starter-actuator.version}</version>
218 </dependency>
219 <dependency>
220 <groupId>org.springdoc</groupId>
221 <artifactId>springdoc-openapi-ui</artifactId>
222 <version>${springdoc-openapi-ui.version}</version>
223 </dependency>
224 <dependency>
225 <groupId>org.bouncycastle</groupId>
226 <artifactId>bcpkix-jdk15on</artifactId>
227 <version>${bouncycastle.version}</version>
228 </dependency>
229 <dependency>
230 <groupId>org.bouncycastle</groupId>
231 <artifactId>bcprov-jdk15on</artifactId>
232 <version>${bouncycastle.version}</version>
233 </dependency>
234 <dependency>
235 <groupId>com.google.code.gson</groupId>
236 <artifactId>gson</artifactId>
237 <version>${gson.version}</version>
238 </dependency>
239 <dependency>
EmmettCox153a7ac2020-02-17 13:54:05 +0000240 <groupId>org.apache.httpcomponents</groupId>
241 <artifactId>httpclient</artifactId>
242 <version>${httpcomponents.version}</version>
243 </dependency>
244 <dependency>
Joanna Jeremiczee672c32020-02-26 14:30:36 +0100245 <groupId>org.apache.commons</groupId>
246 <artifactId>commons-lang3</artifactId>
247 <version>${commons-lang3.version}</version>
248 </dependency>
249 <dependency>
EmmettCox153a7ac2020-02-17 13:54:05 +0000250 <groupId>commons-io</groupId>
251 <artifactId>commons-io</artifactId>
252 <version>${commons-io.version}</version>
253 </dependency>
254 <dependency>
kjaniak8209f7c2020-02-14 14:33:27 +0100255 <!-- Import dependency management from Spring Boot -->
256 <groupId>org.springframework.boot</groupId>
257 <artifactId>spring-boot-dependencies</artifactId>
258 <version>${spring-boot-starter.version}</version>
259 <type>pom</type>
260 <scope>import</scope>
261 </dependency>
262
263 <!-- Test dependecies -->
kjaniak6e2234c2020-02-17 23:04:25 +0100264 <dependency>
265 <groupId>org.assertj</groupId>
266 <artifactId>assertj-core</artifactId>
267 <version>${assertj-core.version}</version>
268 <scope>test</scope>
269 </dependency>
kjaniak8209f7c2020-02-14 14:33:27 +0100270 <dependency>
kjaniak85022a82020-02-14 16:27:00 +0100271 <groupId>org.junit.jupiter</groupId>
Remigiusz Janeczekd18af892020-02-28 12:27:12 +0100272 <artifactId>junit-jupiter</artifactId>
kjaniak6e2234c2020-02-17 23:04:25 +0100273 <version>${junit.version}</version>
kjaniak8209f7c2020-02-14 14:33:27 +0100274 <scope>test</scope>
275 </dependency>
276 <dependency>
kjaniak6e2234c2020-02-17 23:04:25 +0100277 <groupId>org.mockito</groupId>
278 <artifactId>mockito-core</artifactId>
279 <version>${mockito-core.version}</version>
kjaniak8209f7c2020-02-14 14:33:27 +0100280 <scope>test</scope>
281 </dependency>
kjaniak3a1f8302020-02-18 13:25:43 +0100282 <dependency>
283 <groupId>org.mockito</groupId>
284 <artifactId>mockito-junit-jupiter</artifactId>
285 <version>${mockito-junit-jupiter.version}</version>
286 <scope>test</scope>
287 </dependency>
288
kjaniak8209f7c2020-02-14 14:33:27 +0100289 </dependencies>
290 </dependencyManagement>
291
Pawel486429d2020-02-10 10:36:16 +0100292</project>