blob: b3b83deb567b0c15ce21d946af7a590c93479df3 [file] [log] [blame]
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +01001<?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>
Pawel486429d2020-02-10 10:36:16 +010019 <groupId>org.onap.aaf</groupId>
20 <artifactId>aaf-certservice-parent</artifactId>
21 <version>0.0.1-SNAPSHOT</version>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010022 </parent>
23 <groupId>org.onap.aaf</groupId>
24 <artifactId>cert-service</artifactId>
25 <version>0.0.1-SNAPSHOT</version>
26 <name>cert-service</name>
27 <description>Certification service</description>
28 <packaging>jar</packaging>
29
30 <properties>
31 <java.version>11</java.version>
32 <assertj-core.version>3.11.1</assertj-core.version>
33 <mockito-core.version>3.2.4</mockito-core.version>
34 <spring-core.version>5.2.3.RELEASE</spring-core.version>
35 <spring-boot-starter.version>2.2.4.RELEASE</spring-boot-starter.version>
36 <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
37 <maven-surefire-plugin.version>3.0.0-M1</maven-surefire-plugin.version>
Paweldb979302020-02-05 11:24:54 +010038 <spring-boot-starter-actuator.version>2.2.4.RELEASE</spring-boot-starter-actuator.version>
Pawel Kasperkiewicz68016582020-02-06 11:54:06 +010039 <spring-boot-starter-log4j2.version>2.1.5.RELEASE</spring-boot-starter-log4j2.version>
Bartosz Gardziejewski4dd87392020-02-07 08:27:34 +010040 <springdoc-openapi-ui.version>1.2.21</springdoc-openapi-ui.version>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010041 </properties>
42
43 <dependencyManagement>
44 <dependencies>
45 <dependency>
46 <!-- Import dependency management from Spring Boot -->
47 <groupId>org.springframework.boot</groupId>
48 <artifactId>spring-boot-dependencies</artifactId>
49 <version>${spring-boot-starter.version}</version>
50 <type>pom</type>
51 <scope>import</scope>
52 </dependency>
53 </dependencies>
54 </dependencyManagement>
55
56 <dependencies>
57 <dependency>
58 <groupId>org.springframework.boot</groupId>
59 <artifactId>spring-boot-starter-web</artifactId>
60 <version>${spring-boot-starter.version}</version>
Pawel Kasperkiewicz68016582020-02-06 11:54:06 +010061 <exclusions>
62 <exclusion>
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-logging</artifactId>
65 </exclusion>
66 </exclusions>
67 </dependency>
68 <dependency>
69 <groupId>org.springframework.boot</groupId>
70 <artifactId>spring-boot-starter-log4j2</artifactId>
71 <version>${spring-boot-starter-log4j2.version}</version>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010072 </dependency>
73 <dependency>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-test</artifactId>
76 <version>${spring-boot-starter.version}</version>
77 <scope>test</scope>
78 <exclusions>
79 <exclusion>
80 <groupId>org.junit.vintage</groupId>
81 <artifactId>junit-vintage-engine</artifactId>
82 </exclusion>
83 </exclusions>
84 </dependency>
85 <dependency>
86 <groupId>org.mockito</groupId>
87 <artifactId>mockito-core</artifactId>
88 <version>${mockito-core.version}</version>
89 <scope>test</scope>
90 </dependency>
91 <dependency>
92 <groupId>org.assertj</groupId>
93 <artifactId>assertj-core</artifactId>
94 <version>${assertj-core.version}</version>
95 <scope>test</scope>
96 </dependency>
Paweldb979302020-02-05 11:24:54 +010097 <dependency>
98 <groupId>org.springframework.boot</groupId>
99 <artifactId>spring-boot-starter-actuator</artifactId>
100 <version>${spring-boot-starter-actuator.version}</version>
101 </dependency>
Bartosz Gardziejewski4dd87392020-02-07 08:27:34 +0100102 <dependency>
103 <groupId>org.springdoc</groupId>
104 <artifactId>springdoc-openapi-ui</artifactId>
105 <version>${springdoc-openapi-ui.version}</version>
106 </dependency>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +0100107 </dependencies>
108
109 <build>
110 <pluginManagement>
111 <plugins>
112 <plugin>
113 <groupId>org.springframework.boot</groupId>
114 <artifactId>spring-boot-maven-plugin</artifactId>
115 <version>${spring-boot-starter.version}</version>
116 </plugin>
117 <plugin>
118 <artifactId>maven-javadoc-plugin</artifactId>
119 <version>${maven-javadoc-plugin.version}</version>
120 </plugin>
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-surefire-plugin</artifactId>
124 <version>${maven-surefire-plugin.version}</version>
125 </plugin>
126
127 </plugins>
128 </pluginManagement>
129 <plugins>
130 <plugin>
131 <groupId>org.springframework.boot</groupId>
132 <artifactId>spring-boot-maven-plugin</artifactId>
133 <executions>
134 <execution>
135 <goals>
136 <goal>repackage</goal>
137 </goals>
138 </execution>
139 </executions>
140 </plugin>
141 <plugin>
142 <artifactId>maven-javadoc-plugin</artifactId>
143 <configuration>
144 <quiet>true</quiet>
145 <verbose>false</verbose>
146 <useStandardDocletOptions>false</useStandardDocletOptions>
147 </configuration>
148 <executions>
149 <execution>
150 <id>aggregate</id>
151 <phase>site</phase>
152 <goals>
153 <goal>aggregate</goal>
154 </goals>
155 </execution>
156 <execution>
157 <id>attach-javadoc</id>
158 <goals>
159 <goal>jar</goal>
160 </goals>
161 </execution>
162 </executions>
163 </plugin>
164 </plugins>
165 </build>
166
167</project>