blob: 38dfc9f3bb1c3fee79b1e14e3c057a565a203e0f [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>
Tomasz Golabekce778052020-02-14 09:14:05 +010056
57 <!-- Docker -->
58 <skipDockerPush>true</skipDockerPush>
59 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
60 <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry>
61 <docker-image.namespace>onap</docker-image.namespace>
62 <docker-image.name>${project.groupId}.${project.artifactId}</docker-image.name>
63 <docker-image.latest>${project.version}</docker-image.latest>
64 <version>${project.version}</version>
65 <docker.http_proxy/>
66
Tomasz Golabek3b531c02020-02-12 08:56:23 +010067 </properties>
68
Pawel486429d2020-02-10 10:36:16 +010069 <modules>
70 <module>certService</module>
kjaniak8209f7c2020-02-14 14:33:27 +010071 <module>certServiceClient</module>
Pawel486429d2020-02-10 10:36:16 +010072 </modules>
Tomasz Golabek3b531c02020-02-12 08:56:23 +010073
kjaniak85022a82020-02-14 16:27:00 +010074 <build>
75 <pluginManagement>
76 <plugins>
77 <plugin>
kjaniak6e2234c2020-02-17 23:04:25 +010078 <groupId>org.springdoc</groupId>
79 <artifactId>springdoc-openapi-maven-plugin</artifactId>
80 <version>${springdoc-openapi-maven-plugin.version}</version>
81 <executions>
82 <execution>
83 <phase>integration-test</phase>
84 <goals>
85 <goal>generate</goal>
86 </goals>
87 </execution>
88 </executions>
89 <configuration>
90 <apiDocsUrl>${springdoc-openapi-maven-plugin.apiDocsUrl}</apiDocsUrl>
91 <outputFileName>api-docs.json</outputFileName>
92 <outputDir>${project.build.directory}</outputDir>
93 </configuration>
94 </plugin>
95 <plugin>
kjaniak85022a82020-02-14 16:27:00 +010096 <groupId>org.springframework.boot</groupId>
97 <artifactId>spring-boot-maven-plugin</artifactId>
98 <version>${spring-boot-starter.version}</version>
kjaniak6e2234c2020-02-17 23:04:25 +010099 <executions>
100 <execution>
101 <goals>
102 <goal>repackage</goal>
103 </goals>
104 </execution>
105 <execution>
106 <id>pre-integration-test</id>
107 <goals>
108 <goal>start</goal>
109 </goals>
110 </execution>
111 <execution>
112 <id>post-integration-test</id>
113 <goals>
114 <goal>stop</goal>
115 </goals>
116 </execution>
117 </executions>
kjaniak85022a82020-02-14 16:27:00 +0100118 </plugin>
119 <plugin>
kjaniak6e2234c2020-02-17 23:04:25 +0100120 <groupId>org.apache.maven.plugins</groupId>
kjaniak85022a82020-02-14 16:27:00 +0100121 <artifactId>maven-javadoc-plugin</artifactId>
122 <version>${maven-javadoc-plugin.version}</version>
kjaniak6e2234c2020-02-17 23:04:25 +0100123 <configuration>
124 <quiet>true</quiet>
125 <verbose>false</verbose>
126 <useStandardDocletOptions>false</useStandardDocletOptions>
127 <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
128 </configuration>
129 <executions>
130 <execution>
131 <id>aggregate</id>
132 <phase>site</phase>
133 <goals>
134 <goal>aggregate</goal>
135 </goals>
136 </execution>
137 <execution>
138 <id>attach-javadoc</id>
139 <goals>
140 <goal>jar</goal>
141 </goals>
142 </execution>
143 </executions>
kjaniak85022a82020-02-14 16:27:00 +0100144 </plugin>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-surefire-plugin</artifactId>
148 <version>${maven-surefire-plugin.version}</version>
149 </plugin>
150 </plugins>
151 </pluginManagement>
152 </build>
153
Tomasz Golabek3b531c02020-02-12 08:56:23 +0100154 <distributionManagement>
155 <repository>
156 <id>ecomp-releases</id>
157 <name>AAF Release Repository</name>
158 <url>${nexusproxy}${releaseNexusPath}</url>
159 </repository>
160 <snapshotRepository>
161 <id>ecomp-snapshots</id>
162 <name>AAF Snapshot Repository</name>
163 <url>${nexusproxy}${snapshotNexusPath}</url>
164 </snapshotRepository>
165 <site>
166 <id>ecomp-site</id>
167 <url>dav:${nexusproxy}${sitePath}</url>
168 </site>
169 </distributionManagement>
170
kjaniak8209f7c2020-02-14 14:33:27 +0100171 <dependencyManagement>
172
173 <dependencies>
174 <dependency>
175 <groupId>org.springframework.boot</groupId>
176 <artifactId>spring-boot-starter-web</artifactId>
177 <version>${spring-boot-starter.version}</version>
178 <exclusions>
179 <exclusion>
180 <groupId>org.springframework.boot</groupId>
181 <artifactId>spring-boot-starter-logging</artifactId>
182 </exclusion>
183 </exclusions>
184 </dependency>
185 <dependency>
186 <groupId>org.springframework.boot</groupId>
187 <artifactId>spring-boot-starter-log4j2</artifactId>
188 <version>${spring-boot-starter-log4j2.version}</version>
189 </dependency>
190 <dependency>
191 <groupId>org.springframework.boot</groupId>
192 <artifactId>spring-boot-starter-test</artifactId>
193 <version>${spring-boot-starter.version}</version>
194 <scope>test</scope>
195 <exclusions>
196 <exclusion>
197 <groupId>org.junit.vintage</groupId>
198 <artifactId>junit-vintage-engine</artifactId>
199 </exclusion>
200 </exclusions>
201 </dependency>
202 <dependency>
203 <groupId>org.springframework.boot</groupId>
204 <artifactId>spring-boot-starter-actuator</artifactId>
205 <version>${spring-boot-starter-actuator.version}</version>
206 </dependency>
207 <dependency>
208 <groupId>org.springdoc</groupId>
209 <artifactId>springdoc-openapi-ui</artifactId>
210 <version>${springdoc-openapi-ui.version}</version>
211 </dependency>
212 <dependency>
213 <groupId>org.bouncycastle</groupId>
214 <artifactId>bcpkix-jdk15on</artifactId>
215 <version>${bouncycastle.version}</version>
216 </dependency>
217 <dependency>
218 <groupId>org.bouncycastle</groupId>
219 <artifactId>bcprov-jdk15on</artifactId>
220 <version>${bouncycastle.version}</version>
221 </dependency>
222 <dependency>
223 <groupId>com.google.code.gson</groupId>
224 <artifactId>gson</artifactId>
225 <version>${gson.version}</version>
226 </dependency>
227 <dependency>
228 <!-- Import dependency management from Spring Boot -->
229 <groupId>org.springframework.boot</groupId>
230 <artifactId>spring-boot-dependencies</artifactId>
231 <version>${spring-boot-starter.version}</version>
232 <type>pom</type>
233 <scope>import</scope>
234 </dependency>
235
236 <!-- Test dependecies -->
kjaniak6e2234c2020-02-17 23:04:25 +0100237 <dependency>
238 <groupId>org.assertj</groupId>
239 <artifactId>assertj-core</artifactId>
240 <version>${assertj-core.version}</version>
241 <scope>test</scope>
242 </dependency>
kjaniak8209f7c2020-02-14 14:33:27 +0100243 <dependency>
kjaniak85022a82020-02-14 16:27:00 +0100244 <groupId>org.junit.jupiter</groupId>
245 <artifactId>junit-jupiter-engine</artifactId>
246 <version>${junit.version}</version>
247 <scope>test</scope>
248 </dependency>
249 <dependency>
kjaniak6e2234c2020-02-17 23:04:25 +0100250 <groupId>org.junit.jupiter</groupId>
251 <artifactId>junit-jupiter-api</artifactId>
252 <version>${junit.version}</version>
kjaniak8209f7c2020-02-14 14:33:27 +0100253 <scope>test</scope>
254 </dependency>
255 <dependency>
kjaniak6e2234c2020-02-17 23:04:25 +0100256 <groupId>org.mockito</groupId>
257 <artifactId>mockito-core</artifactId>
258 <version>${mockito-core.version}</version>
kjaniak8209f7c2020-02-14 14:33:27 +0100259 <scope>test</scope>
260 </dependency>
261 </dependencies>
262 </dependencyManagement>
263
Pawel486429d2020-02-10 10:36:16 +0100264</project>