Create logger for trace, audit, error
[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         <spring-boot-starter-log4j2.version>2.1.5.RELEASE</spring-boot-starter-log4j2.version>
41     </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>
61             <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>
72         </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>
97         <dependency>
98             <groupId>org.springframework.boot</groupId>
99             <artifactId>spring-boot-starter-actuator</artifactId>
100             <version>${spring-boot-starter-actuator.version}</version>
101         </dependency>
102     </dependencies>
103
104     <build>
105         <pluginManagement>
106             <plugins>
107                 <plugin>
108                     <groupId>org.springframework.boot</groupId>
109                     <artifactId>spring-boot-maven-plugin</artifactId>
110                     <version>${spring-boot-starter.version}</version>
111                 </plugin>
112                 <plugin>
113                     <artifactId>maven-javadoc-plugin</artifactId>
114                     <version>${maven-javadoc-plugin.version}</version>
115                 </plugin>
116                 <plugin>
117                     <groupId>org.apache.maven.plugins</groupId>
118                     <artifactId>maven-surefire-plugin</artifactId>
119                     <version>${maven-surefire-plugin.version}</version>
120                 </plugin>
121
122             </plugins>
123         </pluginManagement>
124         <plugins>
125             <plugin>
126                 <groupId>org.springframework.boot</groupId>
127                 <artifactId>spring-boot-maven-plugin</artifactId>
128                 <executions>
129                     <execution>
130                         <goals>
131                             <goal>repackage</goal>
132                         </goals>
133                     </execution>
134                 </executions>
135             </plugin>
136             <plugin>
137                 <artifactId>maven-javadoc-plugin</artifactId>
138                 <configuration>
139                     <quiet>true</quiet>
140                     <verbose>false</verbose>
141                     <useStandardDocletOptions>false</useStandardDocletOptions>
142                 </configuration>
143                 <executions>
144                     <execution>
145                         <id>aggregate</id>
146                         <phase>site</phase>
147                         <goals>
148                             <goal>aggregate</goal>
149                         </goals>
150                     </execution>
151                     <execution>
152                         <id>attach-javadoc</id>
153                         <goals>
154                             <goal>jar</goal>
155                         </goals>
156                     </execution>
157                 </executions>
158             </plugin>
159         </plugins>
160     </build>
161
162 </project>