Integrate Config Binding Service client
[nonrtric.git] / policy-agent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ========================LICENSE_START=================================
4  * O-RAN-SC
5  * %%
6  * Copyright (C) 2019 Nordix Foundation
7  * %%
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ========================LICENSE_END===================================
20   -->
21 <project
22     xmlns="http://maven.apache.org/POM/4.0.0"
23     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <groupId>org.springframework</groupId>
27     <artifactId>policy-agent</artifactId>
28     <version>0.0.0</version>
29     <licenses>
30         <license>
31             <name>The Apache Software License, Version 2.0</name>
32             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
33         </license>
34     </licenses>
35     <repositories>
36         <repository>
37             <id>onap-releases</id>
38             <name>onap-releases</name>
39             <url>https://nexus.onap.org/content/repositories/releases/</url>
40         </repository>
41     </repositories>
42     <parent>
43         <groupId>org.springframework.boot</groupId>
44         <artifactId>spring-boot-starter-parent</artifactId>
45         <version>2.1.6.RELEASE</version>
46         <relativePath />
47     </parent>
48     <dependencies>
49         <dependency>
50             <groupId>org.springframework.boot</groupId>
51             <artifactId>spring-boot-starter-web</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>org.springframework.boot</groupId>
55             <artifactId>spring-boot-starter-thymeleaf</artifactId>
56         </dependency>
57         <dependency>
58             <groupId>org.springframework.boot</groupId>
59             <artifactId>spring-boot-starter-webflux</artifactId>
60         </dependency>
61         <dependency>
62             <groupId>org.springframework.boot</groupId>
63             <artifactId>spring-boot-devtools</artifactId>
64             <optional>true</optional>
65         </dependency>
66         <dependency>
67             <groupId>org.springframework</groupId>
68             <artifactId>spring-webflux</artifactId>
69         </dependency>
70         <dependency>
71             <groupId>io.swagger.core.v3</groupId>
72             <artifactId>swagger-jaxrs2</artifactId>
73             <version>2.0.0</version>
74         </dependency>
75         <dependency>
76             <groupId>io.swagger.core.v3</groupId>
77             <artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
78             <version>2.0.0</version>
79         </dependency>
80         <dependency>
81             <groupId>org.immutables</groupId>
82             <artifactId>value</artifactId>
83             <version>${immutable.version}</version>
84             <scope>provided</scope>
85         </dependency>
86         <dependency>
87             <groupId>org.immutables</groupId>
88             <artifactId>gson</artifactId>
89             <version>${immutable.version}</version>
90         </dependency>
91         <!--TEST -->
92         <dependency>
93             <groupId>org.springframework.boot</groupId>
94             <artifactId>spring-boot-starter-test</artifactId>
95             <scope>test</scope>
96         </dependency>
97         <!--REQUIRED TO GENERATE DOCUMENTATION -->
98         <dependency>
99             <groupId>io.springfox</groupId>
100             <artifactId>springfox-swagger2</artifactId>
101             <version>${springfox.version}</version>
102         </dependency>
103         <dependency>
104             <groupId>io.springfox</groupId>
105             <artifactId>springfox-swagger-ui</artifactId>
106             <version>${springfox.version}</version>
107         </dependency>
108         <dependency>
109             <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
110             <artifactId>cbs-client</artifactId>
111             <version>${sdk.version}</version>
112         </dependency>
113         <dependency>
114             <groupId>io.projectreactor</groupId>
115             <artifactId>reactor-test</artifactId>
116             <scope>test</scope>
117         </dependency>
118         <dependency>
119             <groupId>org.junit.jupiter</groupId>
120             <artifactId>junit-jupiter-engine</artifactId>
121             <scope>test</scope>
122         </dependency>
123     </dependencies>
124     <properties>
125         <java.version>11</java.version>
126         <springfox.version>2.8.0</springfox.version>
127         <immutable.version>2.7.1</immutable.version>
128         <sdk.version>1.1.6</sdk.version>
129     </properties>
130     <build>
131         <plugins>
132             <plugin>
133                 <groupId>org.springframework.boot</groupId>
134                 <artifactId>spring-boot-maven-plugin</artifactId>
135             </plugin>
136             <plugin>
137                 <groupId>net.revelc.code.formatter</groupId>
138                 <artifactId>formatter-maven-plugin</artifactId>
139                 <version>2.8.1</version>
140                 <configuration>
141                     <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
142                 </configuration>
143                 <!-- https://code.revelc.net/formatter-maven-plugin/ use 
144                  mvn formatter:format spotless:apply process-sources -->
145             </plugin>
146             <plugin>
147                 <groupId>com.diffplug.spotless</groupId>
148                 <artifactId>spotless-maven-plugin</artifactId>
149                 <version>1.18.0</version>
150                 <configuration>
151                     <java>
152                         <removeUnusedImports/>
153                         <importOrder>
154                             <order>com,java,javax,org</order>
155                         </importOrder>
156                     </java>
157                 </configuration>
158                 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use 
159                         mvn spotless:apply to rewrite source files use mvn spotless:check to validate 
160                         source files -->
161             </plugin>
162             <plugin>
163                 <groupId>org.apache.maven.plugins</groupId>
164                 <artifactId>maven-surefire-plugin</artifactId>
165                 <version>2.17</version>
166                 <configuration>
167                     <skipTests>false</skipTests>
168                 </configuration>
169             </plugin>
170         </plugins>
171     </build>
172 </project>