Merge "[OOM-CERT-SERVICE] Add change-log"
[oom/platform/cert-service.git] / pom.xml
1 <?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>
24     <groupId>org.onap.oom.platform.cert-service</groupId>
25     <artifactId>oom-certservice</artifactId>
26     <version>2.5.0-SNAPSHOT</version>
27     <name>oom-certservice</name>
28     <description>OOM Certification Service</description>
29     <packaging>pom</packaging>
30
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/oom/platform/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>
39
40         <!-- Dependencies -->
41         <assertj-core.version>3.15.0</assertj-core.version>
42         <mockito-core.version>3.2.4</mockito-core.version>
43         <maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
44         <maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version>
45         <spring-boot-starter.version>2.5.8</spring-boot-starter.version>
46         <spring-boot-starter-actuator.version>2.6.1</spring-boot-starter-actuator.version>
47         <spring-boot-starter-log4j2.version>2.6.2</spring-boot-starter-log4j2.version>
48
49         <spring.cloud-version>2020.0.3</spring.cloud-version>
50
51         <springdoc-openapi-ui.version>1.2.30</springdoc-openapi-ui.version>
52         <bouncycastle.version>1.60</bouncycastle.version>
53         <docker-maven-plugin.version>0.33.0</docker-maven-plugin.version>
54         <springdoc-openapi-maven-plugin.version>0.2</springdoc-openapi-maven-plugin.version>
55         <gson.version>2.8.6</gson.version>
56         <httpcomponents.version>4.5.6</httpcomponents.version>
57         <commons-lang3.version>3.9</commons-lang3.version>
58         <commons-validator.version>1.7</commons-validator.version>
59         <commons-io.version>2.6</commons-io.version>
60         <junit.version>5.5.2</junit.version>
61         <mockito-junit-jupiter.version>2.17.0</mockito-junit-jupiter.version>
62         <log4j2.version>2.17.1</log4j2.version>
63         <!-- Docker -->
64         <skipDockerPush>true</skipDockerPush>
65         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
66         <maven-shade-plugin.version>3.2.2</maven-shade-plugin.version>
67         <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry>
68         <docker-image.namespace>onap</docker-image.namespace>
69         <docker-image.name>${project.groupId}.${project.artifactId}</docker-image.name>
70         <docker-image.latest>${project.version}</docker-image.latest>
71         <docker-image.tag.latest>latest</docker-image.tag.latest>
72         <version>${project.version}</version>
73         <docker.http_proxy/>
74
75     </properties>
76
77     <modules>
78         <module>certService</module>
79         <module>certServicePostProcessor</module>
80         <module>certServiceK8sExternalProvider</module>
81     </modules>
82
83     <build>
84         <pluginManagement>
85             <plugins>
86                 <plugin>
87                     <artifactId>maven-checkstyle-plugin</artifactId>
88                     <configuration>
89                         <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
90                     </configuration>
91                 </plugin>
92                 <plugin>
93                     <groupId>org.springdoc</groupId>
94                     <artifactId>springdoc-openapi-maven-plugin</artifactId>
95                     <version>${springdoc-openapi-maven-plugin.version}</version>
96                     <executions>
97                         <execution>
98                             <phase>integration-test</phase>
99                             <goals>
100                                 <goal>generate</goal>
101                             </goals>
102                         </execution>
103                     </executions>
104                     <configuration>
105                         <apiDocsUrl>${springdoc-openapi-maven-plugin.apiDocsUrl}</apiDocsUrl>
106                         <outputFileName>api-docs.yaml</outputFileName>
107                         <outputDir>${project.build.directory}</outputDir>
108                     </configuration>
109                 </plugin>
110                 <plugin>
111                     <groupId>org.springframework.boot</groupId>
112                     <artifactId>spring-boot-maven-plugin</artifactId>
113                     <version>${spring-boot-starter.version}</version>
114                     <executions>
115                         <execution>
116                             <goals>
117                                 <goal>repackage</goal>
118                             </goals>
119                         </execution>
120                     </executions>
121                 </plugin>
122                 <plugin>
123                     <groupId>org.apache.maven.plugins</groupId>
124                     <artifactId>maven-javadoc-plugin</artifactId>
125                     <version>${maven-javadoc-plugin.version}</version>
126                     <configuration>
127                         <quiet>true</quiet>
128                         <verbose>false</verbose>
129                         <useStandardDocletOptions>false</useStandardDocletOptions>
130                         <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
131                     </configuration>
132                     <executions>
133                         <execution>
134                             <id>aggregate</id>
135                             <phase>site</phase>
136                             <goals>
137                                 <goal>aggregate</goal>
138                             </goals>
139                         </execution>
140                         <execution>
141                             <id>attach-javadoc</id>
142                             <goals>
143                                 <goal>jar</goal>
144                             </goals>
145                         </execution>
146                     </executions>
147                 </plugin>
148                 <plugin>
149                     <groupId>org.apache.maven.plugins</groupId>
150                     <artifactId>maven-surefire-plugin</artifactId>
151                     <version>${maven-surefire-plugin.version}</version>
152                 </plugin>
153             </plugins>
154         </pluginManagement>
155     </build>
156
157     <distributionManagement>
158         <repository>
159             <id>ecomp-releases</id>
160             <name>OOM Release Repository</name>
161             <url>${nexusproxy}${releaseNexusPath}</url>
162         </repository>
163         <snapshotRepository>
164             <id>ecomp-snapshots</id>
165             <name>OOM Snapshot Repository</name>
166             <url>${nexusproxy}${snapshotNexusPath}</url>
167         </snapshotRepository>
168         <site>
169             <id>ecomp-site</id>
170             <url>dav:${nexusproxy}${sitePath}</url>
171         </site>
172     </distributionManagement>
173
174     <dependencyManagement>
175
176         <dependencies>
177             <dependency>
178                 <groupId>org.springframework.boot</groupId>
179                 <artifactId>spring-boot-starter-web</artifactId>
180                 <version>${spring-boot-starter.version}</version>
181                 <exclusions>
182                     <exclusion>
183                         <groupId>org.springframework.boot</groupId>
184                         <artifactId>spring-boot-starter-logging</artifactId>
185                     </exclusion>
186                 </exclusions>
187             </dependency>
188 <!--            <dependency>-->
189 <!--                <groupId>org.springframework.boot</groupId>-->
190 <!--                <artifactId>spring-boot-starter-log4j2</artifactId>-->
191 <!--                <version>${spring-boot-starter-log4j2.version}</version>-->
192 <!--            </dependency>-->
193             <dependency>
194                 <groupId>org.springframework.boot</groupId>
195                 <artifactId>spring-boot-starter-test</artifactId>
196                 <version>${spring-boot-starter.version}</version>
197                 <scope>test</scope>
198                 <exclusions>
199                     <exclusion>
200                         <groupId>org.junit.vintage</groupId>
201                         <artifactId>junit-vintage-engine</artifactId>
202                     </exclusion>
203                 </exclusions>
204             </dependency>
205             <dependency>
206                 <groupId>org.springframework.boot</groupId>
207                 <artifactId>spring-boot-starter-actuator</artifactId>
208                 <version>${spring-boot-starter-actuator.version}</version>
209             </dependency>
210             <dependency>
211                 <groupId>org.springdoc</groupId>
212                 <artifactId>springdoc-openapi-ui</artifactId>
213                 <version>${springdoc-openapi-ui.version}</version>
214             </dependency>
215             <dependency>
216                 <groupId>org.bouncycastle</groupId>
217                 <artifactId>bcpkix-jdk15on</artifactId>
218                 <version>${bouncycastle.version}</version>
219             </dependency>
220             <dependency>
221                 <groupId>org.bouncycastle</groupId>
222                 <artifactId>bcprov-jdk15on</artifactId>
223                 <version>${bouncycastle.version}</version>
224             </dependency>
225             <dependency>
226                 <groupId>com.google.code.gson</groupId>
227                 <artifactId>gson</artifactId>
228                 <version>${gson.version}</version>
229             </dependency>
230             <dependency>
231                 <groupId>org.apache.httpcomponents</groupId>
232                 <artifactId>httpclient</artifactId>
233                 <version>${httpcomponents.version}</version>
234             </dependency>
235             <dependency>
236                 <groupId>org.apache.commons</groupId>
237                 <artifactId>commons-lang3</artifactId>
238                 <version>${commons-lang3.version}</version>
239             </dependency>
240             <dependency>
241                 <groupId>commons-io</groupId>
242                 <artifactId>commons-io</artifactId>
243                 <version>${commons-io.version}</version>
244             </dependency>
245             <dependency>
246                 <groupId>commons-validator</groupId>
247                 <artifactId>commons-validator</artifactId>
248                 <version>${commons-validator.version}</version>
249             </dependency>
250             <dependency>
251                 <!-- Import dependency management from Spring Boot -->
252                 <groupId>org.springframework.boot</groupId>
253                 <artifactId>spring-boot-dependencies</artifactId>
254                 <version>${spring-boot-starter.version}</version>
255                 <type>pom</type>
256                 <scope>import</scope>
257             </dependency>
258
259             <!--   Test dependecies    -->
260             <dependency>
261                 <groupId>org.assertj</groupId>
262                 <artifactId>assertj-core</artifactId>
263                 <version>${assertj-core.version}</version>
264                 <scope>test</scope>
265             </dependency>
266             <dependency>
267                 <groupId>org.junit.jupiter</groupId>
268                 <artifactId>junit-jupiter</artifactId>
269                 <version>${junit.version}</version>
270                 <scope>test</scope>
271             </dependency>
272             <dependency>
273                 <groupId>org.mockito</groupId>
274                 <artifactId>mockito-core</artifactId>
275                 <version>${mockito-core.version}</version>
276                 <scope>test</scope>
277             </dependency>
278             <dependency>
279                 <groupId>org.mockito</groupId>
280                 <artifactId>mockito-junit-jupiter</artifactId>
281                 <version>${mockito-junit-jupiter.version}</version>
282                 <scope>test</scope>
283             </dependency>
284
285             <dependency>
286                 <groupId>org.hibernate.validator</groupId>
287                 <artifactId>hibernate-validator</artifactId>
288                 <version>6.2.1.Final</version>
289             </dependency>
290             <dependency>
291                 <groupId>org.apache.logging.log4j</groupId>
292                 <artifactId>log4j-bom</artifactId>
293                 <version>${log4j2.version}</version>
294                 <scope>import</scope>
295                 <type>pom</type>
296             </dependency>
297             <dependency>
298                 <groupId>org.springframework.cloud</groupId>
299                 <artifactId>spring-cloud-dependencies</artifactId>
300                 <version>${spring.cloud-version}</version>
301                 <type>pom</type>
302                 <scope>import</scope>
303             </dependency>
304         </dependencies>
305     </dependencyManagement>
306
307 </project>