Create healthcheck WS
[oom/platform/cert-service.git] / certService / 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     <parent>
19         <groupId>org.onap.oparent</groupId>
20         <artifactId>oparent</artifactId>
21         <version>3.0.0</version>
22         <relativePath/>
23     </parent>
24     <groupId>org.onap.aaf</groupId>
25     <artifactId>cert-service</artifactId>
26     <version>0.0.1-SNAPSHOT</version>
27     <name>cert-service</name>
28     <description>Certification service</description>
29     <packaging>jar</packaging>
30
31     <properties>
32         <java.version>11</java.version>
33         <assertj-core.version>3.11.1</assertj-core.version>
34         <mockito-core.version>3.2.4</mockito-core.version>
35         <spring-core.version>5.2.3.RELEASE</spring-core.version>
36         <spring-boot-starter.version>2.2.4.RELEASE</spring-boot-starter.version>
37         <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
38         <maven-surefire-plugin.version>3.0.0-M1</maven-surefire-plugin.version>
39         <spring-boot-starter-actuator.version>2.2.4.RELEASE</spring-boot-starter-actuator.version>
40     </properties>
41
42     <dependencyManagement>
43         <dependencies>
44             <dependency>
45                 <!-- Import dependency management from Spring Boot -->
46                 <groupId>org.springframework.boot</groupId>
47                 <artifactId>spring-boot-dependencies</artifactId>
48                 <version>${spring-boot-starter.version}</version>
49                 <type>pom</type>
50                 <scope>import</scope>
51             </dependency>
52         </dependencies>
53     </dependencyManagement>
54
55     <dependencies>
56         <dependency>
57             <groupId>org.springframework.boot</groupId>
58             <artifactId>spring-boot-starter-web</artifactId>
59             <version>${spring-boot-starter.version}</version>
60         </dependency>
61         <dependency>
62             <groupId>org.springframework.boot</groupId>
63             <artifactId>spring-boot-starter-test</artifactId>
64             <version>${spring-boot-starter.version}</version>
65             <scope>test</scope>
66             <exclusions>
67                 <exclusion>
68                     <groupId>org.junit.vintage</groupId>
69                     <artifactId>junit-vintage-engine</artifactId>
70                 </exclusion>
71             </exclusions>
72         </dependency>
73         <dependency>
74             <groupId>org.mockito</groupId>
75             <artifactId>mockito-core</artifactId>
76             <version>${mockito-core.version}</version>
77             <scope>test</scope>
78         </dependency>
79         <dependency>
80             <groupId>org.assertj</groupId>
81             <artifactId>assertj-core</artifactId>
82             <version>${assertj-core.version}</version>
83             <scope>test</scope>
84         </dependency>
85         <dependency>
86             <groupId>org.springframework.boot</groupId>
87             <artifactId>spring-boot-starter-actuator</artifactId>
88             <version>${spring-boot-starter-actuator.version}</version>
89         </dependency>
90     </dependencies>
91
92     <build>
93         <pluginManagement>
94             <plugins>
95                 <plugin>
96                     <groupId>org.springframework.boot</groupId>
97                     <artifactId>spring-boot-maven-plugin</artifactId>
98                     <version>${spring-boot-starter.version}</version>
99                 </plugin>
100                 <plugin>
101                     <artifactId>maven-javadoc-plugin</artifactId>
102                     <version>${maven-javadoc-plugin.version}</version>
103                 </plugin>
104                 <plugin>
105                     <groupId>org.apache.maven.plugins</groupId>
106                     <artifactId>maven-surefire-plugin</artifactId>
107                     <version>${maven-surefire-plugin.version}</version>
108                 </plugin>
109
110             </plugins>
111         </pluginManagement>
112         <plugins>
113             <plugin>
114                 <groupId>org.springframework.boot</groupId>
115                 <artifactId>spring-boot-maven-plugin</artifactId>
116                 <executions>
117                     <execution>
118                         <goals>
119                             <goal>repackage</goal>
120                         </goals>
121                     </execution>
122                 </executions>
123             </plugin>
124             <plugin>
125                 <artifactId>maven-javadoc-plugin</artifactId>
126                 <configuration>
127                     <quiet>true</quiet>
128                     <verbose>false</verbose>
129                     <useStandardDocletOptions>false</useStandardDocletOptions>
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         </plugins>
148     </build>
149
150 </project>