Create project structure
[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     </properties>
40
41     <dependencyManagement>
42         <dependencies>
43             <dependency>
44                 <!-- Import dependency management from Spring Boot -->
45                 <groupId>org.springframework.boot</groupId>
46                 <artifactId>spring-boot-dependencies</artifactId>
47                 <version>${spring-boot-starter.version}</version>
48                 <type>pom</type>
49                 <scope>import</scope>
50             </dependency>
51         </dependencies>
52     </dependencyManagement>
53
54     <dependencies>
55         <dependency>
56             <groupId>org.springframework.boot</groupId>
57             <artifactId>spring-boot-starter-web</artifactId>
58             <version>${spring-boot-starter.version}</version>
59         </dependency>
60         <dependency>
61             <groupId>org.springframework.boot</groupId>
62             <artifactId>spring-boot-starter-test</artifactId>
63             <version>${spring-boot-starter.version}</version>
64             <scope>test</scope>
65             <exclusions>
66                 <exclusion>
67                     <groupId>org.junit.vintage</groupId>
68                     <artifactId>junit-vintage-engine</artifactId>
69                 </exclusion>
70             </exclusions>
71         </dependency>
72         <dependency>
73             <groupId>org.mockito</groupId>
74             <artifactId>mockito-core</artifactId>
75             <version>${mockito-core.version}</version>
76             <scope>test</scope>
77         </dependency>
78         <dependency>
79             <groupId>org.assertj</groupId>
80             <artifactId>assertj-core</artifactId>
81             <version>${assertj-core.version}</version>
82             <scope>test</scope>
83         </dependency>
84     </dependencies>
85
86     <build>
87         <pluginManagement>
88             <plugins>
89                 <plugin>
90                     <groupId>org.springframework.boot</groupId>
91                     <artifactId>spring-boot-maven-plugin</artifactId>
92                     <version>${spring-boot-starter.version}</version>
93                 </plugin>
94                 <plugin>
95                     <artifactId>maven-javadoc-plugin</artifactId>
96                     <version>${maven-javadoc-plugin.version}</version>
97                 </plugin>
98                 <plugin>
99                     <groupId>org.apache.maven.plugins</groupId>
100                     <artifactId>maven-surefire-plugin</artifactId>
101                     <version>${maven-surefire-plugin.version}</version>
102                 </plugin>
103
104             </plugins>
105         </pluginManagement>
106         <plugins>
107             <plugin>
108                 <groupId>org.springframework.boot</groupId>
109                 <artifactId>spring-boot-maven-plugin</artifactId>
110                 <executions>
111                     <execution>
112                         <goals>
113                             <goal>repackage</goal>
114                         </goals>
115                     </execution>
116                 </executions>
117             </plugin>
118             <plugin>
119                 <artifactId>maven-javadoc-plugin</artifactId>
120                 <configuration>
121                     <quiet>true</quiet>
122                     <verbose>false</verbose>
123                     <useStandardDocletOptions>false</useStandardDocletOptions>
124                 </configuration>
125                 <executions>
126                     <execution>
127                         <id>aggregate</id>
128                         <phase>site</phase>
129                         <goals>
130                             <goal>aggregate</goal>
131                         </goals>
132                     </execution>
133                     <execution>
134                         <id>attach-javadoc</id>
135                         <goals>
136                             <goal>jar</goal>
137                         </goals>
138                     </execution>
139                 </executions>
140             </plugin>
141         </plugins>
142     </build>
143
144 </project>