Add A1 Client in Policy Agent
[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         <dependency>
92             <groupId>org.json</groupId>
93             <artifactId>json</artifactId>
94             <version>20180130</version>
95         </dependency>
96         <!--TEST -->
97         <dependency>
98             <groupId>org.springframework.boot</groupId>
99             <artifactId>spring-boot-starter-test</artifactId>
100             <scope>test</scope>
101         </dependency>
102         <!--REQUIRED TO GENERATE DOCUMENTATION -->
103         <dependency>
104             <groupId>io.springfox</groupId>
105             <artifactId>springfox-swagger2</artifactId>
106             <version>${springfox.version}</version>
107         </dependency>
108         <dependency>
109             <groupId>io.springfox</groupId>
110             <artifactId>springfox-swagger-ui</artifactId>
111             <version>${springfox.version}</version>
112         </dependency>
113         <dependency>
114             <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
115             <artifactId>cbs-client</artifactId>
116             <version>${sdk.version}</version>
117         </dependency>
118         <dependency>
119             <groupId>io.projectreactor</groupId>
120             <artifactId>reactor-test</artifactId>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>org.junit.jupiter</groupId>
125             <artifactId>junit-jupiter-engine</artifactId>
126             <version>${junit-jupiter.version}</version>
127             <scope>test</scope>
128         </dependency>
129     </dependencies>
130     <properties>
131         <java.version>11</java.version>
132         <springfox.version>2.8.0</springfox.version>
133         <immutable.version>2.7.1</immutable.version>
134         <sdk.version>1.1.6</sdk.version>
135         <junit-jupiter.version>5.4.0</junit-jupiter.version>
136     </properties>
137     <build>
138         <plugins>
139             <plugin>
140                 <groupId>org.springframework.boot</groupId>
141                 <artifactId>spring-boot-maven-plugin</artifactId>
142             </plugin>
143             <plugin>
144                 <groupId>net.revelc.code.formatter</groupId>
145                 <artifactId>formatter-maven-plugin</artifactId>
146                 <version>2.8.1</version>
147                 <configuration>
148                     <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
149                 </configuration>
150                 <!-- https://code.revelc.net/formatter-maven-plugin/ use 
151                  mvn formatter:format spotless:apply process-sources -->
152             </plugin>
153             <plugin>
154                 <groupId>com.diffplug.spotless</groupId>
155                 <artifactId>spotless-maven-plugin</artifactId>
156                 <version>1.18.0</version>
157                 <configuration>
158                     <java>
159                         <removeUnusedImports/>
160                         <importOrder>
161                             <order>com,java,javax,org</order>
162                         </importOrder>
163                     </java>
164                 </configuration>
165                 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use 
166                         mvn spotless:apply to rewrite source files use mvn spotless:check to validate 
167                         source files -->
168             </plugin>
169             <plugin>
170                 <groupId>org.apache.maven.plugins</groupId>
171                 <artifactId>maven-surefire-plugin</artifactId>
172                 <version>2.17</version>
173                 <configuration>
174                     <skipTests>false</skipTests>
175                 </configuration>
176             </plugin>
177         </plugins>
178     </build>
179 </project>