Merge "[OOM-CERT-SERVICE] Add logic for KUR/CR detection"
[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.4.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         <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-validator.version>1.7</commons-validator.version>
58         <commons-io.version>2.6</commons-io.version>
59         <junit.version>5.5.2</junit.version>
60         <mockito-junit-jupiter.version>2.17.0</mockito-junit-jupiter.version>
61
62         <!-- Docker -->
63         <skipDockerPush>true</skipDockerPush>
64         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
65         <maven-shade-plugin.version>3.2.2</maven-shade-plugin.version>
66         <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         <docker-image.tag.latest>latest</docker-image.tag.latest>
71         <version>${project.version}</version>
72         <docker.http_proxy/>
73
74     </properties>
75
76     <modules>
77         <module>certService</module>
78         <module>certServicePostProcessor</module>
79         <module>certServiceK8sExternalProvider</module>
80     </modules>
81
82     <build>
83         <pluginManagement>
84             <plugins>
85                 <plugin>
86                     <artifactId>maven-checkstyle-plugin</artifactId>
87                     <configuration>
88                         <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
89                     </configuration>
90                 </plugin>
91                 <plugin>
92                     <groupId>org.springdoc</groupId>
93                     <artifactId>springdoc-openapi-maven-plugin</artifactId>
94                     <version>${springdoc-openapi-maven-plugin.version}</version>
95                     <executions>
96                         <execution>
97                             <phase>integration-test</phase>
98                             <goals>
99                                 <goal>generate</goal>
100                             </goals>
101                         </execution>
102                     </executions>
103                     <configuration>
104                         <apiDocsUrl>${springdoc-openapi-maven-plugin.apiDocsUrl}</apiDocsUrl>
105                         <outputFileName>api-docs.yaml</outputFileName>
106                         <outputDir>${project.build.directory}</outputDir>
107                     </configuration>
108                 </plugin>
109                 <plugin>
110                     <groupId>org.springframework.boot</groupId>
111                     <artifactId>spring-boot-maven-plugin</artifactId>
112                     <version>${spring-boot-starter.version}</version>
113                     <executions>
114                         <execution>
115                             <goals>
116                                 <goal>repackage</goal>
117                             </goals>
118                         </execution>
119                     </executions>
120                 </plugin>
121                 <plugin>
122                     <groupId>org.apache.maven.plugins</groupId>
123                     <artifactId>maven-javadoc-plugin</artifactId>
124                     <version>${maven-javadoc-plugin.version}</version>
125                     <configuration>
126                         <quiet>true</quiet>
127                         <verbose>false</verbose>
128                         <useStandardDocletOptions>false</useStandardDocletOptions>
129                         <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
130                     </configuration>
131                     <executions>
132                         <execution>
133                             <id>aggregate</id>
134                             <phase>site</phase>
135                             <goals>
136                                 <goal>aggregate</goal>
137                             </goals>
138                         </execution>
139                         <execution>
140                             <id>attach-javadoc</id>
141                             <goals>
142                                 <goal>jar</goal>
143                             </goals>
144                         </execution>
145                     </executions>
146                 </plugin>
147                 <plugin>
148                     <groupId>org.apache.maven.plugins</groupId>
149                     <artifactId>maven-surefire-plugin</artifactId>
150                     <version>${maven-surefire-plugin.version}</version>
151                 </plugin>
152             </plugins>
153         </pluginManagement>
154     </build>
155
156     <distributionManagement>
157         <repository>
158             <id>ecomp-releases</id>
159             <name>OOM Release Repository</name>
160             <url>${nexusproxy}${releaseNexusPath}</url>
161         </repository>
162         <snapshotRepository>
163             <id>ecomp-snapshots</id>
164             <name>OOM Snapshot Repository</name>
165             <url>${nexusproxy}${snapshotNexusPath}</url>
166         </snapshotRepository>
167         <site>
168             <id>ecomp-site</id>
169             <url>dav:${nexusproxy}${sitePath}</url>
170         </site>
171     </distributionManagement>
172
173     <dependencyManagement>
174
175         <dependencies>
176             <dependency>
177                 <groupId>org.springframework.boot</groupId>
178                 <artifactId>spring-boot-starter-web</artifactId>
179                 <version>${spring-boot-starter.version}</version>
180                 <exclusions>
181                     <exclusion>
182                         <groupId>org.springframework.boot</groupId>
183                         <artifactId>spring-boot-starter-logging</artifactId>
184                     </exclusion>
185                 </exclusions>
186             </dependency>
187             <dependency>
188                 <groupId>org.springframework.boot</groupId>
189                 <artifactId>spring-boot-starter-log4j2</artifactId>
190                 <version>${spring-boot-starter-log4j2.version}</version>
191             </dependency>
192             <dependency>
193                 <groupId>org.springframework.boot</groupId>
194                 <artifactId>spring-boot-starter-test</artifactId>
195                 <version>${spring-boot-starter.version}</version>
196                 <scope>test</scope>
197                 <exclusions>
198                     <exclusion>
199                         <groupId>org.junit.vintage</groupId>
200                         <artifactId>junit-vintage-engine</artifactId>
201                     </exclusion>
202                 </exclusions>
203             </dependency>
204             <dependency>
205                 <groupId>org.springframework.boot</groupId>
206                 <artifactId>spring-boot-starter-actuator</artifactId>
207                 <version>${spring-boot-starter-actuator.version}</version>
208             </dependency>
209             <dependency>
210                 <groupId>org.springdoc</groupId>
211                 <artifactId>springdoc-openapi-ui</artifactId>
212                 <version>${springdoc-openapi-ui.version}</version>
213             </dependency>
214             <dependency>
215                 <groupId>org.bouncycastle</groupId>
216                 <artifactId>bcpkix-jdk15on</artifactId>
217                 <version>${bouncycastle.version}</version>
218             </dependency>
219             <dependency>
220                 <groupId>org.bouncycastle</groupId>
221                 <artifactId>bcprov-jdk15on</artifactId>
222                 <version>${bouncycastle.version}</version>
223             </dependency>
224             <dependency>
225                 <groupId>com.google.code.gson</groupId>
226                 <artifactId>gson</artifactId>
227                 <version>${gson.version}</version>
228             </dependency>
229             <dependency>
230                 <groupId>org.apache.httpcomponents</groupId>
231                 <artifactId>httpclient</artifactId>
232                 <version>${httpcomponents.version}</version>
233             </dependency>
234             <dependency>
235                 <groupId>org.apache.commons</groupId>
236                 <artifactId>commons-lang3</artifactId>
237                 <version>${commons-lang3.version}</version>
238             </dependency>
239             <dependency>
240                 <groupId>commons-io</groupId>
241                 <artifactId>commons-io</artifactId>
242                 <version>${commons-io.version}</version>
243             </dependency>
244             <dependency>
245                 <groupId>commons-validator</groupId>
246                 <artifactId>commons-validator</artifactId>
247                 <version>${commons-validator.version}</version>
248             </dependency>
249             <dependency>
250                 <!-- Import dependency management from Spring Boot -->
251                 <groupId>org.springframework.boot</groupId>
252                 <artifactId>spring-boot-dependencies</artifactId>
253                 <version>${spring-boot-starter.version}</version>
254                 <type>pom</type>
255                 <scope>import</scope>
256             </dependency>
257
258             <!--   Test dependecies    -->
259             <dependency>
260                 <groupId>org.assertj</groupId>
261                 <artifactId>assertj-core</artifactId>
262                 <version>${assertj-core.version}</version>
263                 <scope>test</scope>
264             </dependency>
265             <dependency>
266                 <groupId>org.junit.jupiter</groupId>
267                 <artifactId>junit-jupiter</artifactId>
268                 <version>${junit.version}</version>
269                 <scope>test</scope>
270             </dependency>
271             <dependency>
272                 <groupId>org.mockito</groupId>
273                 <artifactId>mockito-core</artifactId>
274                 <version>${mockito-core.version}</version>
275                 <scope>test</scope>
276             </dependency>
277             <dependency>
278                 <groupId>org.mockito</groupId>
279                 <artifactId>mockito-junit-jupiter</artifactId>
280                 <version>${mockito-junit-jupiter.version}</version>
281                 <scope>test</scope>
282             </dependency>
283
284         </dependencies>
285     </dependencyManagement>
286
287 </project>