Minor pom updates
[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     <parent>
36         <groupId>org.springframework.boot</groupId>
37         <artifactId>spring-boot-starter-parent</artifactId>
38         <version>2.1.6.RELEASE</version>
39         <relativePath />
40     </parent>
41     <dependencies>
42         <dependency>
43             <groupId>org.springframework.boot</groupId>
44             <artifactId>spring-boot-starter-web</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.springframework.boot</groupId>
48             <artifactId>spring-boot-starter-thymeleaf</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.springframework.boot</groupId>
52             <artifactId>spring-boot-starter-webflux</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.springframework.boot</groupId>
56             <artifactId>spring-boot-devtools</artifactId>
57             <optional>true</optional>
58         </dependency>
59         <dependency>
60             <groupId>org.springframework</groupId>
61             <artifactId>spring-webflux</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>io.swagger.core.v3</groupId>
65             <artifactId>swagger-jaxrs2</artifactId>
66             <version>2.0.0</version>
67         </dependency>
68         <dependency>
69             <groupId>io.swagger.core.v3</groupId>
70             <artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
71             <version>2.0.0</version>
72         </dependency>
73         <dependency>
74             <groupId>org.immutables</groupId>
75             <artifactId>value</artifactId>
76             <version>${immutable.version}</version>
77             <scope>provided</scope>
78         </dependency>
79         <dependency>
80             <groupId>org.immutables</groupId>
81             <artifactId>gson</artifactId>
82             <version>${immutable.version}</version>
83         </dependency>
84         <!--TEST -->
85         <dependency>
86             <groupId>org.springframework.boot</groupId>
87             <artifactId>spring-boot-starter-test</artifactId>
88             <scope>test</scope>
89         </dependency>
90         <!--REQUIRED TO GENERATE DOCUMENTATION -->
91         <dependency>
92             <groupId>io.springfox</groupId>
93             <artifactId>springfox-swagger2</artifactId>
94             <version>${springfox.version}</version>
95         </dependency>
96         <dependency>
97             <groupId>io.springfox</groupId>
98             <artifactId>springfox-swagger-ui</artifactId>
99             <version>${springfox.version}</version>
100         </dependency>
101     </dependencies>
102     <properties>
103         <java.version>11</java.version>
104         <springfox.version>2.8.0</springfox.version>
105         <immutable.version>2.7.1</immutable.version>
106     </properties>
107     <build>
108         <plugins>
109             <plugin>
110                 <groupId>org.springframework.boot</groupId>
111                 <artifactId>spring-boot-maven-plugin</artifactId>
112             </plugin>
113             <plugin>
114                 <groupId>net.revelc.code.formatter</groupId>
115                 <artifactId>formatter-maven-plugin</artifactId>
116                 <version>2.8.1</version>
117                 <configuration>
118                     <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
119                 </configuration>
120                 <!-- https://code.revelc.net/formatter-maven-plugin/ use 
121                  mvn formatter:format spotless:apply process-sources -->
122             </plugin>
123             <plugin>
124                 <groupId>com.diffplug.spotless</groupId>
125                 <artifactId>spotless-maven-plugin</artifactId>
126                 <version>1.18.0</version>
127                 <configuration>
128                     <java>
129                         <removeUnusedImports/>
130                         <importOrder>
131                             <order>com,java,javax,org</order>
132                         </importOrder>
133                     </java>
134                 </configuration>
135                 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use 
136                         mvn spotless:apply to rewrite source files use mvn spotless:check to validate 
137                         source files -->
138             </plugin>
139         </plugins>
140     </build>
141 </project>