Merge "Add of dummy test"
[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.aaf.certservice</groupId>
25     <artifactId>aaf-certservice</artifactId>
26     <version>1.0.0-SNAPSHOT</version>
27     <name>aaf-certservice</name>
28     <description>AAF 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/aaf/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</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>
55         <junit.version>5.6.0</junit.version>
56
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
67     </properties>
68
69     <modules>
70         <module>certService</module>
71         <module>certServiceClient</module>
72     </modules>
73
74     <build>
75         <pluginManagement>
76             <plugins>
77                 <plugin>
78                     <groupId>org.springframework.boot</groupId>
79                     <artifactId>spring-boot-maven-plugin</artifactId>
80                     <version>${spring-boot-starter.version}</version>
81                 </plugin>
82                 <plugin>
83                     <artifactId>maven-javadoc-plugin</artifactId>
84                     <version>${maven-javadoc-plugin.version}</version>
85                 </plugin>
86                 <plugin>
87                     <groupId>org.apache.maven.plugins</groupId>
88                     <artifactId>maven-surefire-plugin</artifactId>
89                     <version>${maven-surefire-plugin.version}</version>
90                 </plugin>
91             </plugins>
92         </pluginManagement>
93     </build>
94
95     <distributionManagement>
96         <repository>
97             <id>ecomp-releases</id>
98             <name>AAF Release Repository</name>
99             <url>${nexusproxy}${releaseNexusPath}</url>
100         </repository>
101         <snapshotRepository>
102             <id>ecomp-snapshots</id>
103             <name>AAF Snapshot Repository</name>
104             <url>${nexusproxy}${snapshotNexusPath}</url>
105         </snapshotRepository>
106         <site>
107             <id>ecomp-site</id>
108             <url>dav:${nexusproxy}${sitePath}</url>
109         </site>
110     </distributionManagement>
111
112     <dependencyManagement>
113
114         <dependencies>
115             <dependency>
116                 <groupId>org.springframework.boot</groupId>
117                 <artifactId>spring-boot-starter-web</artifactId>
118                 <version>${spring-boot-starter.version}</version>
119                 <exclusions>
120                     <exclusion>
121                         <groupId>org.springframework.boot</groupId>
122                         <artifactId>spring-boot-starter-logging</artifactId>
123                     </exclusion>
124                 </exclusions>
125             </dependency>
126             <dependency>
127                 <groupId>org.springframework.boot</groupId>
128                 <artifactId>spring-boot-starter-log4j2</artifactId>
129                 <version>${spring-boot-starter-log4j2.version}</version>
130             </dependency>
131             <dependency>
132                 <groupId>org.springframework.boot</groupId>
133                 <artifactId>spring-boot-starter-test</artifactId>
134                 <version>${spring-boot-starter.version}</version>
135                 <scope>test</scope>
136                 <exclusions>
137                     <exclusion>
138                         <groupId>org.junit.vintage</groupId>
139                         <artifactId>junit-vintage-engine</artifactId>
140                     </exclusion>
141                 </exclusions>
142             </dependency>
143             <dependency>
144                 <groupId>org.springframework.boot</groupId>
145                 <artifactId>spring-boot-starter-actuator</artifactId>
146                 <version>${spring-boot-starter-actuator.version}</version>
147             </dependency>
148             <dependency>
149                 <groupId>org.springdoc</groupId>
150                 <artifactId>springdoc-openapi-ui</artifactId>
151                 <version>${springdoc-openapi-ui.version}</version>
152             </dependency>
153             <dependency>
154                 <groupId>org.bouncycastle</groupId>
155                 <artifactId>bcpkix-jdk15on</artifactId>
156                 <version>${bouncycastle.version}</version>
157             </dependency>
158             <dependency>
159                 <groupId>org.bouncycastle</groupId>
160                 <artifactId>bcprov-jdk15on</artifactId>
161                 <version>${bouncycastle.version}</version>
162             </dependency>
163             <dependency>
164                 <groupId>com.google.code.gson</groupId>
165                 <artifactId>gson</artifactId>
166                 <version>${gson.version}</version>
167             </dependency>
168             <dependency>
169                 <!-- Import dependency management from Spring Boot -->
170                 <groupId>org.springframework.boot</groupId>
171                 <artifactId>spring-boot-dependencies</artifactId>
172                 <version>${spring-boot-starter.version}</version>
173                 <type>pom</type>
174                 <scope>import</scope>
175             </dependency>
176
177             <!--   Test dependecies    -->
178
179             <dependency>
180                 <groupId>org.junit.jupiter</groupId>
181                 <artifactId>junit-jupiter-engine</artifactId>
182                 <version>${junit.version}</version>
183                 <scope>test</scope>
184             </dependency>
185             <dependency>
186                 <groupId>org.mockito</groupId>
187                 <artifactId>mockito-core</artifactId>
188                 <version>${mockito-core.version}</version>
189                 <scope>test</scope>
190             </dependency>
191             <dependency>
192                 <groupId>org.assertj</groupId>
193                 <artifactId>assertj-core</artifactId>
194                 <version>${assertj-core.version}</version>
195                 <scope>test</scope>
196             </dependency>
197         </dependencies>
198     </dependencyManagement>
199
200 </project>