Muthuramalingam, Brinda Santh(bs2796) | 594b5e1 | 2018-09-04 20:24:35 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright © 2017-2018 AT&T Intellectual Property. |
| 4 | ~ |
| 5 | ~ Modifications Copyright © 2018 IBM. |
| 6 | ~ |
| 7 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | ~ you may not use this file except in compliance with the License. |
| 9 | ~ You may obtain a copy of the License at |
| 10 | ~ |
| 11 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ~ |
| 13 | ~ Unless required by applicable law or agreed to in writing, software |
| 14 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | ~ See the License for the specific language governing permissions and |
| 17 | ~ limitations under the License. |
| 18 | --> |
| 19 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | <parent> |
| 22 | <groupId>org.onap.ccsdk.apps</groupId> |
| 23 | <artifactId>components</artifactId> |
| 24 | <version>0.3.0-SNAPSHOT</version> |
| 25 | </parent> |
| 26 | <groupId>org.onap.ccsdk.apps.components</groupId> |
| 27 | <artifactId>parent</artifactId> |
| 28 | <name>App Components Parent</name> |
| 29 | <packaging>pom</packaging> |
| 30 | <properties> |
| 31 | <spring.boot.version>2.0.4.RELEASE</spring.boot.version> |
| 32 | <spring.version>5.0.8.RELEASE</spring.version> |
| 33 | <kotlin.version>1.2.60</kotlin.version> |
| 34 | <eelf.version>1.0.0</eelf.version> |
| 35 | <guava.version>26.0-jre</guava.version> |
| 36 | <springfox.swagger2.version>2.9.2</springfox.swagger2.version> |
| 37 | <h2database.version>1.4.197</h2database.version> |
| 38 | <onap.logger.slf4j>1.2.2-SNAPSHOT</onap.logger.slf4j> |
| 39 | </properties> |
| 40 | <dependencyManagement> |
| 41 | <dependencies> |
| 42 | <!-- Spring boot --> |
| 43 | <dependency> |
| 44 | <groupId>org.springframework.boot</groupId> |
| 45 | <artifactId>spring-boot-dependencies</artifactId> |
| 46 | <version>${spring.boot.version}</version> |
| 47 | <type>pom</type> |
| 48 | <scope>import</scope> |
| 49 | </dependency> |
| 50 | |
| 51 | <dependency> |
| 52 | <groupId>com.att.eelf</groupId> |
| 53 | <artifactId>eelf-core</artifactId> |
| 54 | <version>${eelf.version}</version> |
| 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>org.onap.logging-analytics</groupId> |
| 58 | <artifactId>logging-slf4j</artifactId> |
| 59 | <version>${onap.logger.slf4j}</version> |
| 60 | </dependency> |
| 61 | |
| 62 | <!--Swagger Dependencies --> |
| 63 | <dependency> |
| 64 | <groupId>io.springfox</groupId> |
| 65 | <artifactId>springfox-swagger2</artifactId> |
| 66 | <version>${springfox.swagger2.version}</version> |
| 67 | </dependency> |
| 68 | <dependency> |
| 69 | <groupId>io.springfox</groupId> |
| 70 | <artifactId>springfox-swagger-ui</artifactId> |
| 71 | <version>${springfox.swagger2.version}</version> |
| 72 | </dependency> |
| 73 | |
| 74 | <dependency> |
| 75 | <groupId>org.apache.commons</groupId> |
| 76 | <artifactId>commons-lang3</artifactId> |
| 77 | <version>3.2.1</version> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>commons-collections</groupId> |
| 81 | <artifactId>commons-collections</artifactId> |
| 82 | <version>3.2.2</version> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>commons-io</groupId> |
| 86 | <artifactId>commons-io</artifactId> |
| 87 | <version>2.6</version> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.apache.velocity</groupId> |
| 91 | <artifactId>velocity</artifactId> |
| 92 | <version>1.7</version> |
| 93 | </dependency> |
| 94 | <dependency> |
| 95 | <groupId>com.google.guava</groupId> |
| 96 | <artifactId>guava</artifactId> |
| 97 | <version>${guava.version}</version> |
| 98 | </dependency> |
| 99 | |
| 100 | <!-- Kotlin Dependencies --> |
| 101 | <dependency> |
| 102 | <groupId>org.jetbrains.kotlin</groupId> |
| 103 | <artifactId>kotlin-stdlib</artifactId> |
| 104 | <version>${kotlin.version}</version> |
| 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>org.jetbrains.kotlin</groupId> |
| 108 | <artifactId>kotlin-reflect</artifactId> |
| 109 | <version>${kotlin.version}</version> |
| 110 | </dependency> |
| 111 | <dependency> |
| 112 | <groupId>org.jetbrains.kotlin</groupId> |
| 113 | <artifactId>kotlin-stdlib-jdk8</artifactId> |
| 114 | <version>${kotlin.version}</version> |
| 115 | </dependency> |
| 116 | |
| 117 | |
| 118 | <!-- Database --> |
| 119 | <dependency> |
| 120 | <groupId>com.h2database</groupId> |
| 121 | <artifactId>h2</artifactId> |
| 122 | <version>${h2database.version}</version> |
| 123 | </dependency> |
| 124 | |
| 125 | |
| 126 | <!-- Application Components --> |
| 127 | <dependency> |
| 128 | <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId> |
| 129 | <artifactId>core</artifactId> |
| 130 | <version>${project.version}</version> |
| 131 | </dependency> |
| 132 | <dependency> |
| 133 | <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId> |
| 134 | <artifactId>service</artifactId> |
| 135 | <version>${project.version}</version> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId> |
| 139 | <artifactId>application</artifactId> |
| 140 | <version>${project.version}</version> |
| 141 | </dependency> |
| 142 | <dependency> |
| 143 | <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId> |
| 144 | <artifactId>resource-dict</artifactId> |
| 145 | <version>${project.version}</version> |
| 146 | </dependency> |
| 147 | |
| 148 | <!-- Testing Dependencies --> |
| 149 | <dependency> |
| 150 | <groupId>org.powermock</groupId> |
| 151 | <artifactId>powermock-api-mockito2</artifactId> |
| 152 | <version>1.7.4</version> |
| 153 | <scope>test</scope> |
| 154 | </dependency> |
| 155 | <dependency> |
| 156 | <groupId>org.jetbrains.kotlin</groupId> |
| 157 | <artifactId>kotlin-test</artifactId> |
| 158 | <version>${kotlin.version}</version> |
| 159 | <scope>test</scope> |
| 160 | </dependency> |
| 161 | </dependencies> |
| 162 | </dependencyManagement> |
| 163 | |
| 164 | <dependencies> |
| 165 | <dependency> |
| 166 | <groupId>com.att.eelf</groupId> |
| 167 | <artifactId>eelf-core</artifactId> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>org.onap.logging-analytics</groupId> |
| 171 | <artifactId>logging-slf4j</artifactId> |
| 172 | </dependency> |
| 173 | <dependency> |
| 174 | <groupId>org.apache.commons</groupId> |
| 175 | <artifactId>commons-lang3</artifactId> |
| 176 | </dependency> |
| 177 | <dependency> |
| 178 | <groupId>commons-collections</groupId> |
| 179 | <artifactId>commons-collections</artifactId> |
| 180 | </dependency> |
| 181 | <dependency> |
| 182 | <groupId>commons-io</groupId> |
| 183 | <artifactId>commons-io</artifactId> |
| 184 | </dependency> |
| 185 | <dependency> |
| 186 | <groupId>com.jayway.jsonpath</groupId> |
| 187 | <artifactId>json-path</artifactId> |
| 188 | </dependency> |
| 189 | <dependency> |
| 190 | <groupId>com.google.guava</groupId> |
| 191 | <artifactId>guava</artifactId> |
| 192 | </dependency> |
| 193 | <dependency> |
| 194 | <groupId>io.springfox</groupId> |
| 195 | <artifactId>springfox-swagger2</artifactId> |
| 196 | </dependency> |
| 197 | <dependency> |
| 198 | <groupId>io.springfox</groupId> |
| 199 | <artifactId>springfox-swagger-ui</artifactId> |
| 200 | </dependency> |
| 201 | <dependency> |
| 202 | <groupId>org.jetbrains.kotlin</groupId> |
| 203 | <artifactId>kotlin-stdlib</artifactId> |
| 204 | </dependency> |
| 205 | <dependency> |
| 206 | <groupId>org.jetbrains.kotlin</groupId> |
| 207 | <artifactId>kotlin-stdlib-jdk8</artifactId> |
| 208 | </dependency> |
| 209 | <dependency> |
| 210 | <groupId>com.fasterxml.jackson.module</groupId> |
| 211 | <artifactId>jackson-module-kotlin</artifactId> |
| 212 | </dependency> |
| 213 | </dependencies> |
| 214 | |
| 215 | <build> |
| 216 | <plugins> |
| 217 | <plugin> |
| 218 | <groupId>org.apache.maven.plugins</groupId> |
| 219 | <artifactId>maven-source-plugin</artifactId> |
| 220 | <version>3.0.1</version> |
| 221 | <executions> |
| 222 | <execution> |
| 223 | <id>attach-sources</id> |
| 224 | <goals> |
| 225 | <goal>jar</goal> |
| 226 | </goals> |
| 227 | </execution> |
| 228 | </executions> |
| 229 | </plugin> |
| 230 | |
| 231 | <plugin> |
| 232 | <artifactId>kotlin-maven-plugin</artifactId> |
| 233 | <groupId>org.jetbrains.kotlin</groupId> |
| 234 | <version>${kotlin.version}</version> |
| 235 | <executions> |
| 236 | <execution> |
| 237 | <id>compile</id> |
| 238 | <goals> |
| 239 | <goal>compile</goal> |
| 240 | </goals> |
| 241 | <configuration> |
| 242 | <sourceDirs> |
| 243 | <sourceDir>${project.basedir}/src/main/kotlin</sourceDir> |
| 244 | <sourceDir>${project.basedir}/src/main/java</sourceDir> |
| 245 | </sourceDirs> |
| 246 | </configuration> |
| 247 | </execution> |
| 248 | <execution> |
| 249 | <id>test-compile</id> |
| 250 | <goals> |
| 251 | <goal>test-compile</goal> |
| 252 | </goals> |
| 253 | <configuration> |
| 254 | <sourceDirs> |
| 255 | <sourceDir>${project.basedir}/src/test/kotlin</sourceDir> |
| 256 | <sourceDir>${project.basedir}/src/test/java</sourceDir> |
| 257 | </sourceDirs> |
| 258 | </configuration> |
| 259 | </execution> |
| 260 | </executions> |
| 261 | </plugin> |
| 262 | <plugin> |
| 263 | <groupId>org.apache.maven.plugins</groupId> |
| 264 | <artifactId>maven-compiler-plugin</artifactId> |
| 265 | <version>3.5.1</version> |
| 266 | <configuration> |
| 267 | <source>${maven.compiler.source}</source> |
| 268 | <target>${maven.compiler.target}</target> |
| 269 | </configuration> |
| 270 | <executions> |
| 271 | <!-- Replacing default-compile as it is treated specially by maven --> |
| 272 | <execution> |
| 273 | <id>default-compile</id> |
| 274 | <phase>none</phase> |
| 275 | </execution> |
| 276 | <!-- Replacing default-testCompile as it is treated specially by maven --> |
| 277 | <execution> |
| 278 | <id>default-testCompile</id> |
| 279 | <phase>none</phase> |
| 280 | </execution> |
| 281 | <execution> |
| 282 | <id>java-compile</id> |
| 283 | <phase>compile</phase> |
| 284 | <goals> |
| 285 | <goal>compile</goal> |
| 286 | </goals> |
| 287 | </execution> |
| 288 | <execution> |
| 289 | <id>java-test-compile</id> |
| 290 | <phase>test-compile</phase> |
| 291 | <goals> |
| 292 | <goal>testCompile</goal> |
| 293 | </goals> |
| 294 | </execution> |
| 295 | </executions> |
| 296 | </plugin> |
| 297 | </plugins> |
| 298 | </build> |
| 299 | </project> |