Policy-agent skeleton
[nonrtric.git] / policy-agent / pom.xml
1
2 <?xml version="1.0" encoding="UTF-8"?>
3 <!--
4  * ========================LICENSE_START=================================
5  * O-RAN-SC
6  * %%
7  * Copyright (C) 2019 Nordix Foundation
8  * %%
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
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
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===================================
21   -->
22 <project
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>
30     <licenses>
31         <license>
32             <name>The Apache Software License, Version 2.0</name>
33             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
34         </license>
35     </licenses>
36     <parent>
37         <groupId>org.springframework.boot</groupId>
38         <artifactId>spring-boot-starter-parent</artifactId>
39         <version>2.1.6.RELEASE</version>
40         <relativePath />
41     </parent>
42     <dependencies>
43         <dependency>
44             <groupId>org.springframework.boot</groupId>
45             <artifactId>spring-boot-starter-web</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>org.springframework.boot</groupId>
49             <artifactId>spring-boot-starter-thymeleaf</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.springframework.boot</groupId>
53             <artifactId>spring-boot-starter-webflux</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>org.springframework.boot</groupId>
57             <artifactId>spring-boot-devtools</artifactId>
58             <optional>true</optional>
59         </dependency>
60         <dependency>
61             <groupId>org.springframework</groupId>
62             <artifactId>spring-webflux</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>io.swagger.core.v3</groupId>
66             <artifactId>swagger-jaxrs2</artifactId>
67             <version>2.0.0</version>
68         </dependency>
69         <dependency>
70             <groupId>io.swagger.core.v3</groupId>
71             <artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
72             <version>2.0.0</version>
73         </dependency>
74         <dependency>
75             <groupId>org.immutables</groupId>
76             <artifactId>value</artifactId>
77             <version>${immutable.version}</version>
78             <scope>provided</scope>
79         </dependency>
80         <dependency>
81             <groupId>org.immutables</groupId>
82             <artifactId>gson</artifactId>
83             <version>${immutable.version}</version>
84         </dependency>
85         <!--TEST -->
86         <dependency>
87             <groupId>org.springframework.boot</groupId>
88             <artifactId>spring-boot-starter-test</artifactId>
89             <scope>test</scope>
90         </dependency>
91         <!--REQUIRED TO GENERATE DOCUMENTATION -->
92         <dependency>
93             <groupId>io.springfox</groupId>
94             <artifactId>springfox-swagger2</artifactId>
95             <version>${springfox.version}</version>
96         </dependency>
97         <dependency>
98             <groupId>io.springfox</groupId>
99             <artifactId>springfox-swagger-ui</artifactId>
100             <version>${springfox.version}</version>
101         </dependency>
102     </dependencies>
103     <properties>
104         <java.version>11</java.version>
105         <springfox.version>2.8.0</springfox.version>
106         <immutable.version>2.7.1</immutable.version>
107     </properties>
108     <build>
109         <plugins>
110             <plugin>
111                 <groupId>org.springframework.boot</groupId>
112                 <artifactId>spring-boot-maven-plugin</artifactId>
113             </plugin>
114             <plugin>
115                 <groupId>net.revelc.code.formatter</groupId>
116                 <artifactId>formatter-maven-plugin</artifactId>
117                 <version>2.8.1</version>
118                 <configuration>
119                     <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
120                 </configuration>
121                 <!-- https://code.revelc.net/formatter-maven-plugin/ use 
122                  mvn formatter:format spotless:apply process-sources -->
123             </plugin>
124             <plugin>
125                 <groupId>com.diffplug.spotless</groupId>
126                 <artifactId>spotless-maven-plugin</artifactId>
127                 <version>1.18.0</version>
128                 <configuration>
129                     <java>
130                         <removeUnusedImports/>
131                         <importOrder>
132                             <order>com,java,javax,org</order>
133                         </importOrder>
134                     </java>
135                 </configuration>
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 
138                         source files -->
139             </plugin>
140         </plugins>
141     </build>
142 </project>