Merge "changing dockerfile plugin and springboot versions"
[dcaegen2/platform.git] / mod2 / auth-service / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ /*
4   ~  * ============LICENSE_START=======================================================
5   ~  *  org.onap.dcae
6   ~  *  ================================================================================
7   ~  *  Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
8   ~  *  ================================================================================
9   ~  *  Licensed under the Apache License, Version 2.0 (the "License");
10   ~  *  you may not use this file except in compliance with the License.
11   ~  *  You may obtain a copy of the License at
12   ~  *
13   ~  *       http://www.apache.org/licenses/LICENSE-2.0
14   ~  *
15   ~  *  Unless required by applicable law or agreed to in writing, software
16   ~  *  distributed under the License is distributed on an "AS IS" BASIS,
17   ~  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   ~  *  See the License for the specific language governing permissions and
19   ~  *  limitations under the License.
20   ~  *  ============LICENSE_END=========================================================
21   ~  */
22   -->
23
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25                  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
26         <modelVersion>4.0.0</modelVersion>
27         <parent>
28                 <groupId>org.onap.oparent</groupId>
29                 <artifactId>oparent</artifactId>
30                 <version>2.0.0</version>
31         </parent>
32         <groupId>org.onap.dcaegen2.platform.mod</groupId>
33         <artifactId>auth-service</artifactId>
34         <version>1.0.0-SNAPSHOT</version>
35         <name>auth-service</name>
36         <description>REST APIs to serve Auth Service</description>
37
38         <properties>
39                 <java.version>11</java.version>
40                 <maven.compiler.source>${java.version}</maven.compiler.source>
41                 <maven.compiler.target>${java.version}</maven.compiler.target>
42         </properties>
43
44         <dependencies>
45                 <dependency>
46                         <groupId>org.springframework.boot</groupId>
47                         <artifactId>spring-boot-starter-data-mongodb</artifactId>
48                 </dependency>
49                 <dependency>
50                         <groupId>org.springframework.boot</groupId>
51                         <artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
52                 </dependency>
53                 <dependency>
54                         <groupId>com.google.code.gson</groupId>
55                         <artifactId>gson</artifactId>
56                         <version>2.8.6</version>
57                 </dependency>
58                 <dependency>
59                         <groupId>org.springframework.boot</groupId>
60                         <artifactId>spring-boot-starter-security</artifactId>
61                 </dependency>
62                 <dependency>
63                         <groupId>io.jsonwebtoken</groupId>
64                         <artifactId>jjwt</artifactId>
65                         <version>0.9.1</version>
66                 </dependency>
67                 <dependency>
68                         <groupId>org.springframework.boot</groupId>
69                         <artifactId>spring-boot-starter-web</artifactId>
70                 </dependency>
71                 <dependency>
72                         <groupId>org.springframework.boot</groupId>
73                         <artifactId>spring-boot-starter-webflux</artifactId>
74                 </dependency>
75                 <dependency>
76                         <groupId>org.springframework.boot</groupId>
77                         <artifactId>spring-boot-starter-validation</artifactId>
78                 </dependency>
79                 <!-- CODE GENERATION -->
80                 <dependency>
81                         <groupId>org.projectlombok</groupId>
82                         <artifactId>lombok</artifactId>
83                 </dependency>
84                 <dependency>
85                         <groupId>com.squareup.okhttp3</groupId>
86                         <artifactId>okhttp</artifactId>
87                         <version>4.0.1</version>
88                 </dependency>
89
90                 <!--TEST DEPENDENCIES-->
91                 <dependency>
92                         <groupId>org.springframework.boot</groupId>
93                         <artifactId>spring-boot-starter-test</artifactId>
94                         <scope>test</scope>
95                         <exclusions>
96                                 <exclusion>
97                                         <groupId>org.junit.vintage</groupId>
98                                         <artifactId>junit-vintage-engine</artifactId>
99                                 </exclusion>
100                         </exclusions>
101                 </dependency>
102                 <dependency>
103                         <groupId>org.springframework.security</groupId>
104                         <artifactId>spring-security-test</artifactId>
105                         <scope>test</scope>
106                 </dependency>
107                 <dependency>
108                         <groupId>com.squareup.okhttp3</groupId>
109                         <artifactId>mockwebserver</artifactId>
110                         <version>4.0.1</version>
111                         <scope>test</scope>
112                 </dependency>
113                 <dependency>
114                         <groupId>org.springframework.security</groupId>
115                         <artifactId>spring-security-test</artifactId>
116                         <scope>test</scope>
117                 </dependency>
118                 <dependency>
119                         <groupId>io.projectreactor</groupId>
120                         <artifactId>reactor-test</artifactId>
121                         <scope>test</scope>
122                 </dependency>
123                 <dependency>
124                         <groupId>javax.xml.bind</groupId>
125                         <artifactId>jaxb-api</artifactId>
126                         <version>2.3.1</version>
127                 </dependency>
128         <dependency>
129             <groupId>org.testng</groupId>
130             <artifactId>testng</artifactId>
131             <version>RELEASE</version>
132             <scope>test</scope>
133         </dependency>
134     </dependencies>
135
136         <dependencyManagement>
137                 <dependencies>
138                         <dependency>
139                                 <!-- Import dependency management from Spring Boot -->
140                                 <groupId>org.springframework.boot</groupId>
141                                 <artifactId>spring-boot-dependencies</artifactId>
142                                 <version>2.2.5.RELEASE</version>
143                                 <type>pom</type>
144                                 <scope>import</scope>
145                         </dependency>
146                 </dependencies>
147         </dependencyManagement>
148
149
150         <build>
151                 <plugins>
152                         <plugin>
153                                 <groupId>org.springframework.boot</groupId>
154                                 <artifactId>spring-boot-maven-plugin</artifactId>
155                                 <version>2.2.5.RELEASE</version>
156                                 <executions>
157                                         <execution>
158                                                 <goals>
159                                                         <goal>repackage</goal>
160                                                 </goals>
161                                         </execution>
162                                 </executions>
163                         </plugin>
164                         <plugin>
165                                 <groupId>org.apache.maven.plugins</groupId>
166                                 <artifactId>maven-surefire-plugin</artifactId>
167                                 <version>2.22.2</version>
168                         </plugin>
169                 </plugins>
170         </build>
171 </project>