Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 2 | <!-- |
| 3 | ~ ============LICENSE_START======================================================= |
| 4 | ~ Copyright (c) 2020 China Mobile. All rights reserved. |
| 5 | ~ ================================================================================ |
| 6 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | ~ you may not use this file except in compliance with the License. |
| 8 | ~ You may obtain a copy of the License at |
| 9 | ~ |
| 10 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | ~ |
| 12 | ~ Unless required by applicable law or agreed to in writing, software |
| 13 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | ~ See the License for the specific language governing permissions and |
| 16 | ~ limitations under the License. |
| 17 | ~ ============LICENSE_END========================================================= |
| 18 | --> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 19 | |
| 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 24 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 25 | <parent> |
| 26 | <groupId>org.onap.dcaegen2.services.components</groupId> |
| 27 | <artifactId>datalake-handler</artifactId> |
Niranjana | 8faf181 | 2021-02-23 15:59:05 +0000 | [diff] [blame] | 28 | <version>1.1.1-SNAPSHOT</version> |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 29 | </parent> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 30 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 31 | <artifactId>des</artifactId> |
| 32 | <packaging>jar</packaging> |
| 33 | <name>DataLake Extraction Service</name> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 34 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 35 | <properties> |
| 36 | <swagger.version>2.9.2</swagger.version> |
| 37 | <dockerfile-maven.version>1.4.10</dockerfile-maven.version> |
| 38 | <docker.image.path>onap/org.onap.dcaegen2.services.datalake.exposure.service</docker.image.path> |
| 39 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format> |
| 40 | </properties> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 41 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 42 | <dependencies> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 43 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 44 | <dependency> |
| 45 | <groupId>org.jdom</groupId> |
| 46 | <artifactId>jdom2</artifactId> |
| 47 | <version>2.0.6</version> |
| 48 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 49 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 50 | <dependency> |
| 51 | <groupId>com.facebook.presto</groupId> |
| 52 | <artifactId>presto-jdbc</artifactId> |
| 53 | <version>0.240</version> |
| 54 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 55 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 56 | <dependency> |
| 57 | <groupId>org.apache.hadoop</groupId> |
| 58 | <artifactId>hadoop-client</artifactId> |
| 59 | <version>${hadoop.version}</version> |
| 60 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 61 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 62 | <dependency> |
Niranjana | 8faf181 | 2021-02-23 15:59:05 +0000 | [diff] [blame] | 63 | <groupId>org.postgresql</groupId> |
| 64 | <artifactId>postgresql</artifactId> |
| 65 | <version>42.2.18</version> |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 66 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 67 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 68 | <dependency> |
| 69 | <groupId>org.json</groupId> |
| 70 | <artifactId>json</artifactId> |
| 71 | <version>20190722</version> |
| 72 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 73 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 74 | <dependency> |
| 75 | <groupId>org.apache.httpcomponents</groupId> |
| 76 | <artifactId>httpclient</artifactId> |
| 77 | <version>4.5.10</version> |
| 78 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 79 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 80 | <dependency> |
| 81 | <groupId>org.apache.kafka</groupId> |
| 82 | <artifactId>kafka-clients</artifactId> |
| 83 | <version>2.3.1</version> |
| 84 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 85 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 86 | <dependency> |
| 87 | <groupId>org.springframework.boot</groupId> |
| 88 | <artifactId>spring-boot-starter-web</artifactId> |
| 89 | <version>${springboot.version}</version> |
| 90 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 91 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 92 | <dependency> |
| 93 | <groupId>org.springframework.boot</groupId> |
| 94 | <artifactId>spring-boot-starter-actuator</artifactId> |
| 95 | <version>${springboot.version}</version> |
| 96 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 97 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 98 | <dependency> |
| 99 | <groupId>org.springframework.boot</groupId> |
| 100 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 101 | <version>${springboot.version}</version> |
| 102 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 103 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 104 | <dependency> |
| 105 | <groupId>org.springframework.boot</groupId> |
| 106 | <artifactId>spring-boot-starter-data-couchbase</artifactId> |
| 107 | <version>${springboot.version}</version> |
| 108 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 109 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 110 | <dependency> |
| 111 | <groupId>org.springframework.boot</groupId> |
| 112 | <artifactId>spring-boot-starter-test</artifactId> |
| 113 | <version>${springboot.version}</version> |
| 114 | <scope>test</scope> |
| 115 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 116 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 117 | <dependency> |
| 118 | <groupId>org.springframework.boot</groupId> |
| 119 | <artifactId>spring-boot-configuration-processor</artifactId> |
| 120 | <version>${springboot.version}</version> |
| 121 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 122 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 123 | <dependency> |
| 124 | <groupId>org.elasticsearch.client</groupId> |
| 125 | <artifactId>elasticsearch-rest-high-level-client</artifactId> |
| 126 | <version>${elasticsearchjava.version}</version> |
| 127 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 128 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 129 | <dependency> |
| 130 | <groupId>commons-io</groupId> |
| 131 | <artifactId>commons-io</artifactId> |
| 132 | <version>2.6</version> |
| 133 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 134 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 135 | <dependency> |
| 136 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 137 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 138 | <version>${jackson.version}</version> |
| 139 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 140 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 141 | <dependency> |
| 142 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 143 | <artifactId>jackson-dataformat-xml</artifactId> |
| 144 | <version>${jackson.version}</version> |
| 145 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 146 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 147 | <dependency> |
| 148 | <groupId>com.fasterxml.jackson.core</groupId> |
| 149 | <artifactId>jackson-databind</artifactId> |
| 150 | <version>${jackson.version}</version> |
| 151 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 152 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 153 | <dependency> |
| 154 | <groupId>com.google.code.gson</groupId> |
| 155 | <artifactId>gson</artifactId> |
| 156 | <version>2.8.2</version> |
| 157 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 158 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 159 | <dependency> |
| 160 | <groupId>org.projectlombok</groupId> |
| 161 | <artifactId>lombok</artifactId> |
| 162 | <version>1.18.10</version> |
| 163 | <scope>provided</scope> |
| 164 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 165 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 166 | <dependency> |
| 167 | <groupId>io.druid</groupId> |
| 168 | <artifactId>tranquility-core_2.11</artifactId> |
| 169 | <version>0.8.3</version> |
| 170 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 171 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 172 | <dependency> |
| 173 | <groupId>org.apache.velocity</groupId> |
| 174 | <artifactId>velocity-engine-core</artifactId> |
| 175 | <version>2.1</version> |
| 176 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 177 | |
| 178 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 179 | <dependency> |
| 180 | <groupId>org.hibernate</groupId> |
| 181 | <artifactId>hibernate-core</artifactId> |
| 182 | <version>5.3.7.Final</version> |
| 183 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 184 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 185 | <!-- jsr303 validation --> |
| 186 | <dependency> |
| 187 | <groupId>javax.validation</groupId> |
| 188 | <artifactId>validation-api</artifactId> |
| 189 | <version>2.0.1.Final</version> |
| 190 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 191 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 192 | <dependency> |
| 193 | <groupId>org.hibernate</groupId> |
| 194 | <artifactId>hibernate-validator</artifactId> |
| 195 | <version>6.1.0.Final</version> |
| 196 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 197 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 198 | <dependency> |
| 199 | <groupId>io.springfox</groupId> |
| 200 | <artifactId>springfox-swagger2</artifactId> |
| 201 | <version>${swagger.version}</version> |
| 202 | <scope>compile</scope> |
| 203 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 204 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 205 | <dependency> |
| 206 | <groupId>io.springfox</groupId> |
| 207 | <artifactId>springfox-swagger-ui</artifactId> |
| 208 | <version>${swagger.version}</version> |
| 209 | <scope>compile</scope> |
| 210 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 211 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 212 | <dependency> |
| 213 | <groupId>org.mongodb</groupId> |
| 214 | <artifactId>mongo-java-driver</artifactId> |
| 215 | <version>${mongojava.version}</version> |
| 216 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 217 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 218 | <dependency> |
| 219 | <groupId>com.couchbase.mock</groupId> |
| 220 | <artifactId>CouchbaseMock</artifactId> |
| 221 | <version>1.5.22</version> |
| 222 | <scope>test</scope> |
| 223 | </dependency> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 224 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 225 | </dependencies> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 226 | |
| 227 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 228 | <build> |
| 229 | <plugins> |
Niranjana | 6bff68d | 2021-05-06 11:00:56 +0000 | [diff] [blame] | 230 | <plugin> |
| 231 | <groupId>org.apache.maven.plugins</groupId> |
| 232 | <artifactId>maven-deploy-plugin</artifactId> |
| 233 | <version>2.8</version> |
| 234 | <configuration> |
| 235 | <skip>true</skip> |
| 236 | </configuration> |
| 237 | </plugin> |
| 238 | |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 239 | <plugin> |
| 240 | <groupId>org.springframework.boot</groupId> |
| 241 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 242 | <configuration> |
| 243 | <classifier>execute</classifier> |
| 244 | <executions> |
| 245 | <execution> |
| 246 | <goals> |
| 247 | <goal>repackage</goal> |
| 248 | </goals> |
| 249 | </execution> |
| 250 | </executions> |
| 251 | </configuration> |
| 252 | </plugin> |
| 253 | <plugin> |
| 254 | <groupId>com.spotify</groupId> |
| 255 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 256 | <version>${dockerfile-maven.version}</version> |
| 257 | <configuration> |
| 258 | <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository> |
| 259 | <tag>${project.version}</tag> |
| 260 | <dockerfile>Dockerfile</dockerfile> |
| 261 | <buildArgs> |
| 262 | <JAR_FILE>${project.build.finalName}.jar</JAR_FILE> |
| 263 | </buildArgs> |
| 264 | </configuration> |
| 265 | <executions> |
| 266 | <execution> |
| 267 | <id>build-sl-des-image</id> |
| 268 | <phase>package</phase> |
| 269 | <goals> |
| 270 | <goal>build</goal> |
| 271 | </goals> |
Niranjana | 8faf181 | 2021-02-23 15:59:05 +0000 | [diff] [blame] | 272 | <configuration> |
| 273 | <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
| 274 | </configuration> |
Kai | e0a4ff7 | 2020-09-17 11:17:13 +0800 | [diff] [blame] | 275 | </execution> |
| 276 | <execution> |
| 277 | <id>tag-and-push-image-latest</id> |
| 278 | <phase>package</phase> |
| 279 | <goals> |
| 280 | <goal>tag</goal> |
| 281 | <goal>push</goal> |
| 282 | </goals> |
| 283 | <configuration> |
| 284 | <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository> |
| 285 | <tag>latest</tag> |
| 286 | <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
| 287 | </configuration> |
| 288 | </execution> |
| 289 | <execution> |
| 290 | <id>tag-and-push-image-with-version</id> |
| 291 | <phase>package</phase> |
| 292 | <goals> |
| 293 | <goal>tag</goal> |
| 294 | <goal>push</goal> |
| 295 | </goals> |
| 296 | <configuration> |
| 297 | <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository> |
| 298 | <tag>${project.version}</tag> |
| 299 | <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
| 300 | </configuration> |
| 301 | </execution> |
| 302 | <execution> |
| 303 | <id>tag-and-push-image-with-version-and-date</id> |
| 304 | <phase>package</phase> |
| 305 | <goals> |
| 306 | <goal>tag</goal> |
| 307 | <goal>push</goal> |
| 308 | </goals> |
| 309 | <configuration> |
| 310 | <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository> |
| 311 | <tag>${project.version}-${maven.build.timestamp}Z</tag> |
| 312 | <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
| 313 | </configuration> |
| 314 | </execution> |
| 315 | </executions> |
| 316 | <dependencies> |
| 317 | <!-- To make this work on JDK 9+ --> |
| 318 | <dependency> |
| 319 | <groupId>javax.activation</groupId> |
| 320 | <artifactId>javax.activation-api</artifactId> |
| 321 | <version>1.2.0</version> |
| 322 | </dependency> |
| 323 | </dependencies> |
| 324 | </plugin> |
| 325 | </plugins> |
| 326 | </build> |
Kai | 18e8674 | 2020-07-29 11:18:59 +0800 | [diff] [blame] | 327 | </project> |