2 <?xml version="1.0" encoding="UTF-8"?>
4 * ========================LICENSE_START=================================
7 * Copyright (C) 2019 Nordix Foundation
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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===================================
23 xmlns="http://maven.apache.org/POM/4.0.0"
24 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 <groupId>org.springframework</groupId>
28 <artifactId>policy-agent</artifactId>
29 <version>0.0.0</version>
32 <name>The Apache Software License, Version 2.0</name>
33 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
37 <groupId>org.springframework.boot</groupId>
38 <artifactId>spring-boot-starter-parent</artifactId>
39 <version>2.1.6.RELEASE</version>
44 <groupId>org.springframework.boot</groupId>
45 <artifactId>spring-boot-starter-web</artifactId>
48 <groupId>org.springframework.boot</groupId>
49 <artifactId>spring-boot-starter-thymeleaf</artifactId>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-starter-webflux</artifactId>
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-devtools</artifactId>
58 <optional>true</optional>
61 <groupId>org.springframework</groupId>
62 <artifactId>spring-webflux</artifactId>
65 <groupId>io.swagger.core.v3</groupId>
66 <artifactId>swagger-jaxrs2</artifactId>
67 <version>2.0.0</version>
70 <groupId>io.swagger.core.v3</groupId>
71 <artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
72 <version>2.0.0</version>
75 <groupId>org.immutables</groupId>
76 <artifactId>value</artifactId>
77 <version>${immutable.version}</version>
78 <scope>provided</scope>
81 <groupId>org.immutables</groupId>
82 <artifactId>gson</artifactId>
83 <version>${immutable.version}</version>
87 <groupId>org.springframework.boot</groupId>
88 <artifactId>spring-boot-starter-test</artifactId>
91 <!--REQUIRED TO GENERATE DOCUMENTATION -->
93 <groupId>io.springfox</groupId>
94 <artifactId>springfox-swagger2</artifactId>
95 <version>${springfox.version}</version>
98 <groupId>io.springfox</groupId>
99 <artifactId>springfox-swagger-ui</artifactId>
100 <version>${springfox.version}</version>
104 <java.version>11</java.version>
105 <springfox.version>2.8.0</springfox.version>
106 <immutable.version>2.7.1</immutable.version>
111 <groupId>org.springframework.boot</groupId>
112 <artifactId>spring-boot-maven-plugin</artifactId>
115 <groupId>net.revelc.code.formatter</groupId>
116 <artifactId>formatter-maven-plugin</artifactId>
117 <version>2.8.1</version>
119 <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
121 <!-- https://code.revelc.net/formatter-maven-plugin/ use
122 mvn formatter:format spotless:apply process-sources -->
125 <groupId>com.diffplug.spotless</groupId>
126 <artifactId>spotless-maven-plugin</artifactId>
127 <version>1.18.0</version>
130 <removeUnusedImports/>
132 <order>com,java,javax,org</order>
136 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
137 mvn spotless:apply to rewrite source files use mvn spotless:check to validate