PatrikBuhr | 3bdae60 | 2019-11-28 10:58:54 +0100 | [diff] [blame] | 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> |
YongchaoWu | 6fe1880 | 2019-12-09 10:00:46 +0100 | [diff] [blame] | 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> |
PatrikBuhr | 3bdae60 | 2019-11-28 10:58:54 +0100 | [diff] [blame] | 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> |
RehanRaza | 6d8231a | 2019-12-12 11:05:55 +0100 | [diff] [blame] | 91 | <dependency> |
| 92 | <groupId>org.json</groupId> |
| 93 | <artifactId>json</artifactId> |
| 94 | <version>20180130</version> |
| 95 | </dependency> |
PatrikBuhr | 3bdae60 | 2019-11-28 10:58:54 +0100 | [diff] [blame] | 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> |
YongchaoWu | 6fe1880 | 2019-12-09 10:00:46 +0100 | [diff] [blame] | 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> |
YongchaoWu | 2ac18dd | 2019-12-10 22:53:54 +0100 | [diff] [blame] | 126 | <version>${junit-jupiter.version}</version> |
YongchaoWu | 6fe1880 | 2019-12-09 10:00:46 +0100 | [diff] [blame] | 127 | <scope>test</scope> |
| 128 | </dependency> |
PatrikBuhr | 3bdae60 | 2019-11-28 10:58:54 +0100 | [diff] [blame] | 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> |
YongchaoWu | 6fe1880 | 2019-12-09 10:00:46 +0100 | [diff] [blame] | 134 | <sdk.version>1.1.6</sdk.version> |
YongchaoWu | 2ac18dd | 2019-12-10 22:53:54 +0100 | [diff] [blame] | 135 | <junit-jupiter.version>5.4.0</junit-jupiter.version> |
PatrikBuhr | 3bdae60 | 2019-11-28 10:58:54 +0100 | [diff] [blame] | 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> |
YongchaoWu | 6fe1880 | 2019-12-09 10:00:46 +0100 | [diff] [blame] | 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> |
Lathish | 54b04f9 | 2019-12-12 15:35:14 +0000 | [diff] [blame^] | 177 | <plugin> |
| 178 | <groupId>org.codehaus.mojo</groupId> |
| 179 | <artifactId>build-helper-maven-plugin</artifactId> |
| 180 | <executions> |
| 181 | <execution> |
| 182 | <id>add-source</id> |
| 183 | <phase>generate-sources</phase> |
| 184 | <goals> |
| 185 | <goal>add-source</goal> |
| 186 | </goals> |
| 187 | <configuration> |
| 188 | <sources> |
| 189 | <source>${project.build.directory}/generated-sources/annotations/</source> |
| 190 | </sources> |
| 191 | </configuration> |
| 192 | </execution> |
| 193 | </executions> |
| 194 | </plugin> |
PatrikBuhr | 3bdae60 | 2019-11-28 10:58:54 +0100 | [diff] [blame] | 195 | </plugins> |
| 196 | </build> |
| 197 | </project> |