[OOM-CERT-SERVICE] Align implementation with RFC4210
[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.1.1-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         <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         <spring-cloud-starter-config.version>2.2.1.RELEASE</spring-cloud-starter-config.version>
50         <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>
55         <httpcomponents.version>4.5.6</httpcomponents.version>
56         <commons-lang3.version>3.9</commons-lang3.version>
57         <commons-io.version>2.6</commons-io.version>
58         <junit.version>5.5.2</junit.version>
59         <mockito-junit-jupiter.version>2.17.0</mockito-junit-jupiter.version>
60
61         <!-- Docker -->
62         <skipDockerPush>true</skipDockerPush>
63         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
64         <maven-shade-plugin.version>3.2.2</maven-shade-plugin.version>
65         <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry>
66         <docker-image.namespace>onap</docker-image.namespace>
67         <docker-image.name>${project.groupId}.${project.artifactId}</docker-image.name>
68         <docker-image.latest>${project.version}</docker-image.latest>
69         <docker-image.tag.latest>guilin-latest</docker-image.tag.latest>
70         <version>${project.version}</version>
71         <docker.http_proxy/>
72
73     </properties>
74
75     <modules>
76         <module>certService</module>
77         <module>certServiceClient</module>
78         <module>certServicePostProcessor</module>
79     </modules>
80
81     <build>
82         <pluginManagement>
83             <plugins>
84                 <plugin>
85                     <artifactId>maven-checkstyle-plugin</artifactId>
86                     <configuration>
87                         <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
88                     </configuration>
89                 </plugin>
90                 <plugin>
91                     <groupId>org.springdoc</groupId>
92                     <artifactId>springdoc-openapi-maven-plugin</artifactId>
93                     <version>${springdoc-openapi-maven-plugin.version}</version>
94                     <executions>
95                         <execution>
96                             <phase>integration-test</phase>
97                             <goals>
98                                 <goal>generate</goal>
99                             </goals>
100                         </execution>
101                     </executions>
102                     <configuration>
103                         <apiDocsUrl>${springdoc-openapi-maven-plugin.apiDocsUrl}</apiDocsUrl>
104                         <outputFileName>api-docs.yaml</outputFileName>
105                         <outputDir>${project.build.directory}</outputDir>
106                     </configuration>
107                 </plugin>
108                 <plugin>
109                     <groupId>org.springframework.boot</groupId>
110                     <artifactId>spring-boot-maven-plugin</artifactId>
111                     <version>${spring-boot-starter.version}</version>
112                     <executions>
113                         <execution>
114                             <goals>
115                                 <goal>repackage</goal>
116                             </goals>
117                         </execution>
118                     </executions>
119                 </plugin>
120                 <plugin>
121                     <groupId>org.apache.maven.plugins</groupId>
122                     <artifactId>maven-javadoc-plugin</artifactId>
123                     <version>${maven-javadoc-plugin.version}</version>
124                     <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>
145                 </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
155     <distributionManagement>
156         <repository>
157             <id>ecomp-releases</id>
158             <name>OOM Release Repository</name>
159             <url>${nexusproxy}${releaseNexusPath}</url>
160         </repository>
161         <snapshotRepository>
162             <id>ecomp-snapshots</id>
163             <name>OOM 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
172     <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                 <groupId>org.apache.httpcomponents</groupId>
230                 <artifactId>httpclient</artifactId>
231                 <version>${httpcomponents.version}</version>
232             </dependency>
233             <dependency>
234                 <groupId>org.apache.commons</groupId>
235                 <artifactId>commons-lang3</artifactId>
236                 <version>${commons-lang3.version}</version>
237             </dependency>
238             <dependency>
239                 <groupId>commons-io</groupId>
240                 <artifactId>commons-io</artifactId>
241                 <version>${commons-io.version}</version>
242             </dependency>
243             <dependency>
244                 <!-- Import dependency management from Spring Boot -->
245                 <groupId>org.springframework.boot</groupId>
246                 <artifactId>spring-boot-dependencies</artifactId>
247                 <version>${spring-boot-starter.version}</version>
248                 <type>pom</type>
249                 <scope>import</scope>
250             </dependency>
251
252             <!--   Test dependecies    -->
253             <dependency>
254                 <groupId>org.assertj</groupId>
255                 <artifactId>assertj-core</artifactId>
256                 <version>${assertj-core.version}</version>
257                 <scope>test</scope>
258             </dependency>
259             <dependency>
260                 <groupId>org.junit.jupiter</groupId>
261                 <artifactId>junit-jupiter</artifactId>
262                 <version>${junit.version}</version>
263                 <scope>test</scope>
264             </dependency>
265             <dependency>
266                 <groupId>org.mockito</groupId>
267                 <artifactId>mockito-core</artifactId>
268                 <version>${mockito-core.version}</version>
269                 <scope>test</scope>
270             </dependency>
271             <dependency>
272                 <groupId>org.mockito</groupId>
273                 <artifactId>mockito-junit-jupiter</artifactId>
274                 <version>${mockito-junit-jupiter.version}</version>
275                 <scope>test</scope>
276             </dependency>
277
278         </dependencies>
279     </dependencyManagement>
280
281 </project>