1 <?xml version="1.0" encoding="UTF-8"?>
3 * ========================LICENSE_START=================================
6 * Copyright (C) 2019 Nordix Foundation
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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===================================
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.oransc</groupId>
27 <artifactId>policy-agent</artifactId>
28 <version>1.0.0-SNAPSHOT</version>
31 <name>The Apache Software License, Version 2.0</name>
32 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
37 <id>onap-releases</id>
38 <name>onap-releases</name>
39 <url>https://nexus.onap.org/content/repositories/releases/</url>
43 <groupId>org.springframework.boot</groupId>
44 <artifactId>spring-boot-starter-parent</artifactId>
45 <version>2.1.6.RELEASE</version>
50 <groupId>org.springframework.boot</groupId>
51 <artifactId>spring-boot-starter-web</artifactId>
54 <groupId>org.springframework.boot</groupId>
55 <artifactId>spring-boot-starter-thymeleaf</artifactId>
58 <groupId>org.springframework.boot</groupId>
59 <artifactId>spring-boot-starter-webflux</artifactId>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-devtools</artifactId>
64 <optional>true</optional>
67 <groupId>org.springframework</groupId>
68 <artifactId>spring-webflux</artifactId>
71 <groupId>io.swagger.core.v3</groupId>
72 <artifactId>swagger-jaxrs2</artifactId>
73 <version>2.0.0</version>
76 <groupId>io.swagger.core.v3</groupId>
77 <artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
78 <version>2.0.0</version>
81 <groupId>io.springfox</groupId>
82 <artifactId>springfox-swagger-ui</artifactId>
83 <version>2.9.2</version>
86 <groupId>javax.xml.bind</groupId>
87 <artifactId>jaxb-api</artifactId>
90 <groupId>org.immutables</groupId>
91 <artifactId>value</artifactId>
92 <version>${immutable.version}</version>
93 <scope>provided</scope>
96 <groupId>org.immutables</groupId>
97 <artifactId>gson</artifactId>
98 <version>${immutable.version}</version>
101 <groupId>org.json</groupId>
102 <artifactId>json</artifactId>
103 <version>20180130</version>
107 <groupId>org.springframework.boot</groupId>
108 <artifactId>spring-boot-starter-test</artifactId>
111 <!--REQUIRED TO GENERATE DOCUMENTATION -->
113 <groupId>io.springfox</groupId>
114 <artifactId>springfox-swagger2</artifactId>
115 <version>${springfox.version}</version>
118 <groupId>io.springfox</groupId>
119 <artifactId>springfox-swagger-ui</artifactId>
120 <version>${springfox.version}</version>
123 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
124 <artifactId>cbs-client</artifactId>
125 <version>${sdk.version}</version>
128 <groupId>io.projectreactor</groupId>
129 <artifactId>reactor-test</artifactId>
133 <groupId>org.junit.jupiter</groupId>
134 <artifactId>junit-jupiter-engine</artifactId>
135 <version>${junit-jupiter.version}</version>
140 <java.version>11</java.version>
141 <springfox.version>2.8.0</springfox.version>
142 <immutable.version>2.7.1</immutable.version>
143 <sdk.version>1.1.6</sdk.version>
144 <junit-jupiter.version>5.4.0</junit-jupiter.version>
149 <groupId>org.springframework.boot</groupId>
150 <artifactId>spring-boot-maven-plugin</artifactId>
153 <groupId>net.revelc.code.formatter</groupId>
154 <artifactId>formatter-maven-plugin</artifactId>
155 <version>2.8.1</version>
157 <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
159 <!-- https://code.revelc.net/formatter-maven-plugin/ use
160 mvn formatter:format spotless:apply process-sources -->
163 <groupId>com.diffplug.spotless</groupId>
164 <artifactId>spotless-maven-plugin</artifactId>
165 <version>1.18.0</version>
168 <removeUnusedImports/>
170 <order>com,java,javax,org</order>
174 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
175 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-surefire-plugin</artifactId>
181 <version>2.17</version>
183 <skipTests>false</skipTests>
187 <groupId>com.spotify</groupId>
188 <artifactId>dockerfile-maven-plugin</artifactId>
190 <repository>oransc/policy-agent</repository>
191 <tag>${project.version}</tag>
193 <JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
198 <groupId>org.codehaus.mojo</groupId>
199 <artifactId>build-helper-maven-plugin</artifactId>
203 <phase>generate-sources</phase>
205 <goal>add-source</goal>
209 <source>${project.build.directory}/generated-sources/annotations/</source>