Support generating assembling JAR for store-sdk module
[carbondata.git] / integration / presto / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. 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 -->
18 <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">
19
20 <modelVersion>4.0.0</modelVersion>
21
22 <parent>
23 <groupId>org.apache.carbondata</groupId>
24 <artifactId>carbondata-parent</artifactId>
25 <version>1.3.0-SNAPSHOT</version>
26 <relativePath>../../pom.xml</relativePath>
27 </parent>
28
29 <artifactId>carbondata-presto</artifactId>
30 <name>Apache CarbonData :: presto</name>
31 <packaging>presto-plugin</packaging>
32
33 <properties>
34 <presto.version>0.187</presto.version>
35 <dev.path>${basedir}/../../dev</dev.path>
36 </properties>
37
38 <dependencies>
39
40 <dependency>
41 <groupId>com.fasterxml.jackson.core</groupId>
42 <artifactId>jackson-databind</artifactId>
43 <version>2.8.1</version>
44 <exclusions>
45 <exclusion>
46 <groupId>com.fasterxml.jackson.core</groupId>
47 <artifactId>jackson-annotations</artifactId>
48 </exclusion>
49 </exclusions>
50 </dependency>
51
52 <dependency>
53 <groupId>com.fasterxml.jackson.core</groupId>
54 <artifactId>jackson-annotations</artifactId>
55 <version>2.8.1</version>
56 <scope>provided</scope>
57 </dependency>
58
59
60 <dependency>
61 <groupId>org.apache.carbondata</groupId>
62 <artifactId>carbondata-hadoop</artifactId>
63 <version>${project.version}</version>
64 <exclusions>
65 <exclusion>
66 <groupId>com.sun.jersey</groupId>
67 <artifactId>jersey-core</artifactId>
68 </exclusion>
69 <exclusion>
70 <groupId>org.apache.hadoop</groupId>
71 <artifactId>hadoop-common</artifactId>
72 </exclusion>
73 <exclusion>
74 <groupId>org.apache.hadoop</groupId>
75 <artifactId>hadoop-client</artifactId>
76 </exclusion>
77 <exclusion>
78 <groupId>org.apache.hadoop</groupId>
79 <artifactId>hadoop-hdfs</artifactId>
80 </exclusion>
81 <exclusion>
82 <groupId>org.apache.spark</groupId>
83 <artifactId>spark-tags_2.11</artifactId>
84 </exclusion>
85 <exclusion>
86 <groupId>org.apache.parquet</groupId>
87 <artifactId>parquet-column</artifactId>
88 </exclusion>
89 <exclusion>
90 <groupId>org.apache.parquet</groupId>
91 <artifactId>parquet-hadoop</artifactId>
92 </exclusion>
93 <exclusion>
94 <groupId>org.glassfish.jersey.core</groupId>
95 <artifactId>jersey-client</artifactId>
96 </exclusion>
97 <exclusion>
98 <groupId>org.glassfish.jersey.core</groupId>
99 <artifactId>jersey-common</artifactId>
100 </exclusion>
101 <exclusion>
102 <groupId>org.glassfish.jersey.core</groupId>
103 <artifactId>jersey-server</artifactId>
104 </exclusion>
105 <exclusion>
106 <groupId>org.glassfish.jersey.containers</groupId>
107 <artifactId>jersey-container-servlet</artifactId>
108 </exclusion>
109 <exclusion>
110 <groupId>org.glassfish.jersey.containers</groupId>
111 <artifactId>jersey-container-servlet-core</artifactId>
112 </exclusion>
113 <exclusion>
114 <groupId>org.glassfish.jersey.containers</groupId>
115 <artifactId>jersey-container-servlet-core</artifactId>
116 </exclusion>
117
118 <exclusion>
119 <groupId>org.apache.curator</groupId>
120 <artifactId>curator-recipes</artifactId>
121 </exclusion>
122 <exclusion>
123 <groupId>org.apache.avro</groupId>
124 <artifactId>avro-mapred</artifactId>
125 </exclusion>
126 <exclusion>
127 <groupId>com.twitter</groupId>
128 <artifactId>chill_2.11</artifactId>
129 </exclusion>
130 <exclusion>
131 <groupId>io.dropwizard.metrics</groupId>
132 <artifactId>metrics-core</artifactId>
133 </exclusion>
134 <exclusion>
135 <groupId>io.dropwizard.metrics</groupId>
136 <artifactId>metrics-jvm</artifactId>
137 </exclusion>
138 <exclusion>
139 <groupId>io.dropwizard.metrics</groupId>
140 <artifactId>metrics-json</artifactId>
141 </exclusion>
142 <exclusion>
143 <groupId>io.dropwizard.metrics</groupId>
144 <artifactId>metrics-graphite</artifactId>
145 </exclusion>
146 <exclusion>
147 <groupId>com.google.code.findbugs</groupId>
148 <artifactId>jsr305</artifactId>
149 </exclusion>
150 <exclusion>
151 <groupId>net.java.dev</groupId>
152 <artifactId>jets3t</artifactId>
153 </exclusion>
154 <exclusion>
155 <groupId>org.apache.xbean</groupId>
156 <artifactId>xbean-asm5-shaded</artifactId>
157 </exclusion>
158 <exclusion>
159 <groupId>org.apache.spark</groupId>
160 <artifactId>spark-launcher_2.11</artifactId>
161 </exclusion>
162 <exclusion>
163 <groupId>org.apache.spark</groupId>
164 <artifactId>spark-network-common_2.11</artifactId>
165 </exclusion>
166 <exclusion>
167 <groupId>com.ning</groupId>
168 <artifactId>compress-lzf</artifactId>
169 </exclusion>
170 <exclusion>
171 <groupId>org.roaringbitmap</groupId>
172 <artifactId>RoaringBitmap</artifactId>
173 </exclusion>
174 <exclusion>
175 <groupId>com.thoughtworks.paranamer</groupId>
176 <artifactId>paranamer</artifactId>
177 </exclusion>
178 <exclusion>
179 <groupId>org.scala-lang</groupId>
180 <artifactId>scalap</artifactId>
181 </exclusion>
182 <exclusion>
183 <groupId>org.scala-lang</groupId>
184 <artifactId>scala-compiler</artifactId>
185 </exclusion>
186 <exclusion>
187 <groupId>org.scala-lang..modules</groupId>
188 <artifactId>parser-combinators_2.11</artifactId>
189 </exclusion>
190 <exclusion>
191 <groupId>org.scala-lang..modules</groupId>
192 <artifactId>scala-xml_2.11</artifactId>
193 </exclusion>
194 <exclusion>
195 <groupId>org.scalatest</groupId>
196 <artifactId>scalatest_${scala.binary.version}</artifactId>
197 </exclusion>
198 <exclusion>
199 <groupId>org.apache.zookeeper</groupId>
200 <artifactId>zookeeper</artifactId>
201 </exclusion>
202 <exclusion>
203 <groupId>net.sf.py4</groupId>
204 <artifactId>py4j</artifactId>
205 </exclusion>
206 <exclusion>
207 <groupId>net.razorvine</groupId>
208 <artifactId>pyrolite</artifactId>
209 </exclusion>
210 <exclusion>
211 <groupId>com.clearspring.analytics</groupId>
212 <artifactId>stream</artifactId>
213 </exclusion>
214 <exclusion>
215 <groupId>org.slf4j</groupId>
216 <artifactId>jul-to-slf4j</artifactId>
217 </exclusion>
218 <exclusion>
219 <groupId>org.apache.ivy</groupId>
220 <artifactId>ivy</artifactId>
221 </exclusion>
222 <exclusion>
223 <groupId>oro</groupId>
224 <artifactId>oro</artifactId>
225 </exclusion>
226 <exclusion>
227 <groupId>org.apache.spark</groupId>
228 <artifactId>spark-sql_2.11</artifactId>
229 </exclusion>
230 </exclusions>
231 </dependency>
232 <dependency>
233 <groupId>com.facebook.presto</groupId>
234 <artifactId>presto-tests</artifactId>
235 <scope>test</scope>
236 <version>${presto.version}</version>
237 <exclusions>
238 <exclusion>
239 <groupId>org.openjdk.jol</groupId>
240 <artifactId>jol-core</artifactId>
241 </exclusion>
242 <exclusion>
243 <groupId>org.antlr</groupId>
244 <artifactId>antlr4-runtime</artifactId>
245 </exclusion>
246 <exclusion>
247 <groupId>com.fasterxml.jackson.core</groupId>
248 <artifactId>jackson-databind</artifactId>
249 </exclusion>
250 </exclusions>
251 </dependency>
252 <dependency>
253 <groupId>io.airlift</groupId>
254 <artifactId>bootstrap</artifactId>
255 <version>0.144</version>
256 <!--<scope>provided</scope>-->
257 <exclusions>
258 <exclusion>
259 <groupId>org.slf4j</groupId>
260 <artifactId>slf4j-jdk14</artifactId>
261 </exclusion>
262 <exclusion>
263 <groupId>ch.qos.logback</groupId>
264 <artifactId>logback-core</artifactId>
265 </exclusion>
266 <exclusion>
267 <groupId>org.slf4j</groupId>
268 <artifactId>jcl-over-slf4j</artifactId>
269 </exclusion>
270 <exclusion>
271 <groupId>javax.xml.bind</groupId>
272 <artifactId>jaxb-api</artifactId>
273 </exclusion>
274 <exclusion>
275 <groupId>aopalliance</groupId>
276 <artifactId>aopalliance</artifactId>
277 </exclusion>
278 <exclusion>
279 <groupId>org.weakref</groupId>
280 <artifactId>jmxutils</artifactId>
281 </exclusion>
282 <exclusion>
283 <groupId>cglib</groupId>
284 <artifactId>cglib-nodep</artifactId>
285 </exclusion>
286 <exclusion>
287 <groupId>com.google.code.findbugs</groupId>
288 <artifactId>annotations</artifactId>
289 </exclusion>
290 <exclusion>
291 <groupId>org.slf4j</groupId>
292 <artifactId>log4j-over-slf4j</artifactId>
293 </exclusion>
294 </exclusions>
295 </dependency>
296
297 <dependency>
298 <groupId>io.airlift</groupId>
299 <artifactId>json</artifactId>
300 <version>0.144</version>
301 <!--<scope>provided</scope>-->
302 <exclusions>
303 <exclusion>
304 <groupId>org.slf4j</groupId>
305 <artifactId>slf4j-jdk14</artifactId>
306 </exclusion>
307 <exclusion>
308 <groupId>org.slf4j</groupId>
309 <artifactId>slf4j-log4j12</artifactId>
310 </exclusion>
311 <exclusion>
312 <groupId>org.slf4j</groupId>
313 <artifactId>log4j-over-slf4j</artifactId>
314 </exclusion>
315 <exclusion>
316 <groupId>com.fasterxml.jackson.core</groupId>
317 <artifactId>jackson-databind</artifactId>
318 </exclusion>
319 <exclusion>
320 <groupId>com.fasterxml.jackson.core</groupId>
321 <artifactId>jackson-annotations</artifactId>
322 </exclusion>
323 <exclusion>
324 <groupId>com.fasterxml.jackson.core</groupId>
325 <artifactId>jackson-core</artifactId>
326 </exclusion>
327
328 </exclusions>
329 </dependency>
330 <dependency>
331 <groupId>org.scalatest</groupId>
332 <artifactId>scalatest_${scala.binary.version}</artifactId>
333 <scope>test</scope>
334 </dependency>
335
336 <dependency>
337 <groupId>io.airlift</groupId>
338 <artifactId>units</artifactId>
339 <version>1.0</version>
340 <scope>provided</scope>
341 <exclusions>
342 <exclusion>
343 <groupId>org.slf4j</groupId>
344 <artifactId>slf4j-jdk14</artifactId>
345 </exclusion>
346 <exclusion>
347 <groupId>org.slf4j</groupId>
348 <artifactId>slf4j-log4j12</artifactId>
349 </exclusion>
350 <exclusion>
351 <groupId>org.slf4j</groupId>
352 <artifactId>log4j-over-slf4j</artifactId>
353 </exclusion>
354 </exclusions>
355 </dependency>
356
357 <!--presto integrated-->
358 <dependency>
359 <groupId>com.facebook.presto</groupId>
360 <artifactId>presto-spi</artifactId>
361 <version>${presto.version}</version>
362 <scope>provided</scope>
363 <exclusions>
364 <exclusion>
365 <groupId>org.antlr</groupId>
366 <artifactId>antlr4-runtime</artifactId>
367 </exclusion>
368 <exclusion>
369 <groupId>com.fasterxml.jackson.core</groupId>
370 <artifactId>jackson-databind</artifactId>
371 </exclusion>
372 </exclusions>
373 </dependency>
374 <dependency>
375 <groupId>commons-lang</groupId>
376 <artifactId>commons-lang</artifactId>
377 <version>2.5</version>
378 </dependency>
379 <dependency>
380 <groupId>com.facebook.presto.hadoop</groupId>
381 <artifactId>hadoop-apache2</artifactId>
382 <version>2.7.3-1</version>
383 <exclusions>
384 <exclusion>
385 <groupId>org.antlr</groupId>
386 <artifactId>antlr4-runtime</artifactId>
387 </exclusion>
388 <exclusion>
389 <groupId>com.fasterxml.jackson.core</groupId>
390 <artifactId>jackson-databind</artifactId>
391 </exclusion>
392 </exclusions>
393 </dependency>
394
395 <dependency>
396 <groupId>com.facebook.presto</groupId>
397 <artifactId>presto-jdbc</artifactId>
398 <version>${presto.version}</version>
399 <exclusions>
400 <exclusion>
401 <groupId>org.antlr</groupId>
402 <artifactId>antlr4-runtime</artifactId>
403 </exclusion>
404 <exclusion>
405 <groupId>com.fasterxml.jackson.core</groupId>
406 <artifactId>jackson-databind</artifactId>
407 </exclusion>
408 </exclusions>
409 </dependency>
410 <dependency>
411 <groupId>org.apache.commons</groupId>
412 <artifactId>commons-compress</artifactId>
413 <version>1.4.1</version>
414 </dependency>
415 <dependency>
416 <groupId>io.airlift</groupId>
417 <artifactId>slice</artifactId>
418 <version>0.31</version>
419 <scope>provided</scope>
420 <exclusions>
421 <exclusion>
422 <groupId>org.slf4j</groupId>
423 <artifactId>slf4j-jdk14</artifactId>
424 </exclusion>
425 <exclusion>
426 <groupId>org.slf4j</groupId>
427 <artifactId>slf4j-log4j12</artifactId>
428 </exclusion>
429 <exclusion>
430 <groupId>org.slf4j</groupId>
431 <artifactId>log4j-over-slf4j</artifactId>
432 </exclusion>
433 </exclusions>
434 </dependency>
435 <dependency>
436 <groupId>org.apache.spark</groupId>
437 <artifactId>spark-network-common_2.11</artifactId>
438 <scope>test</scope>
439 <version>2.1.0</version>
440 </dependency>
441 <dependency>
442 <groupId>org.apache.spark</groupId>
443 <artifactId>spark-core_2.11</artifactId>
444 <scope>test</scope>
445 <version>2.1.0</version>
446 <exclusions>
447 <exclusion>
448 <groupId>org.apache.hadoop</groupId>
449 <artifactId>hadoop-client</artifactId>
450 </exclusion>
451 </exclusions>
452 </dependency>
453 <dependency>
454 <groupId>org.antlr</groupId>
455 <artifactId>antlr4-runtime</artifactId>
456 <scope>test</scope>
457 <version>4.5.3</version>
458 </dependency>
459 <dependency>
460 <groupId>com.google.code.findbugs</groupId>
461 <artifactId>jsr305</artifactId>
462 <version>3.0.2</version>
463 <scope>provided</scope>
464 </dependency>
465 <dependency>
466 <groupId>com.google.code.findbugs</groupId>
467 <artifactId>jsr305</artifactId>
468 <version>3.0.2</version>
469 <scope>provided</scope>
470 </dependency>
471 <dependency>
472 <groupId>org.glassfish.hk2</groupId>
473 <artifactId>hk2-api</artifactId>
474 <version>2.5.0-b42</version>
475 </dependency>
476 <dependency>
477 <groupId>org.glassfish.hk2</groupId>
478 <artifactId>hk2-locator</artifactId>
479 <version>2.5.0-b42</version>
480 </dependency>
481 <dependency>
482 <groupId>org.glassfish.hk2</groupId>
483 <artifactId>hk2-utils</artifactId>
484 <version>2.5.0-b42</version>
485 </dependency>
486
487 </dependencies>
488
489 <build>
490 <testSourceDirectory>src/test/scala</testSourceDirectory>
491 <resources>
492 <resource>
493 <directory>src/resources</directory>
494 </resource>
495 <resource>
496 <directory>.</directory>
497 <includes>
498 <include>CARBON_SPARK_INTERFACELogResource.properties</include>
499 </includes>
500 </resource>
501 </resources>
502 <plugins>
503 <plugin>
504 <artifactId>maven-compiler-plugin</artifactId>
505 <configuration>
506 <source>1.8</source>
507 <target>1.8</target>
508 </configuration>
509 </plugin>
510 <plugin>
511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-surefire-plugin</artifactId>
513 <version>2.18</version>
514 <!-- Note config is repeated in scalatest config -->
515 <configuration>
516 <skip>false</skip>
517 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
518 <argLine>-Xmx3g -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=512m</argLine>
519 <systemProperties>
520 <java.awt.headless>true</java.awt.headless>
521 </systemProperties>
522 <testFailureIgnore>false</testFailureIgnore>
523 <failIfNoTests>false</failIfNoTests>
524 </configuration>
525 </plugin>
526
527 <plugin>
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-checkstyle-plugin</artifactId>
530 <version>2.17</version>
531 <configuration>
532 <skip>true</skip>
533 </configuration>
534 </plugin>
535 <plugin>
536 <groupId>org.scala-tools</groupId>
537 <artifactId>maven-scala-plugin</artifactId>
538 <version>2.15.2</version>
539 <executions>
540 <execution>
541 <id>compile</id>
542 <goals>
543 <goal>compile</goal>
544 </goals>
545 <phase>compile</phase>
546 </execution>
547 <execution>
548 <id>testCompile</id>
549 <goals>
550 <goal>testCompile</goal>
551 </goals>
552 <phase>test</phase>
553 </execution>
554 <execution>
555 <phase>process-resources</phase>
556 <goals>
557 <goal>compile</goal>
558 </goals>
559 </execution>
560 </executions>
561 </plugin>
562 <plugin>
563 <groupId>org.apache.maven.plugins</groupId>
564 <artifactId>maven-enforcer-plugin</artifactId>
565 <version>1.4.1</version>
566 <configuration>
567 <skip>true</skip>
568 </configuration>
569 </plugin>
570
571 <plugin>
572 <groupId>com.ning.maven.plugins</groupId>
573 <artifactId>maven-duplicate-finder-plugin</artifactId>
574 <configuration>
575 <skip>true</skip>
576 </configuration>
577 </plugin>
578 <plugin>
579 <groupId>io.takari.maven.plugins</groupId>
580 <artifactId>presto-maven-plugin</artifactId>
581 <version>0.1.12</version>
582 <extensions>true</extensions>
583 </plugin>
584 <plugin>
585 <groupId>pl.project13.maven</groupId>
586 <artifactId>git-commit-id-plugin</artifactId>
587 <configuration>
588 <skip>true</skip>
589 </configuration>
590 </plugin>
591 <plugin>
592 <groupId>org.scalatest</groupId>
593 <artifactId>scalatest-maven-plugin</artifactId>
594 <version>1.0</version>
595 <!-- Note config is repeated in surefire config -->
596 <configuration>
597 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
598 <junitxml>.</junitxml>
599 <testFailureIgnore>false</testFailureIgnore>
600 <filereports>CarbonTestSuite.txt</filereports>
601 <argLine>-ea -Xmx3g -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=512m
602 </argLine>
603 <stderr />
604 <environmentVariables>
605 </environmentVariables>
606 <systemProperties>
607 <java.awt.headless>true</java.awt.headless>
608 </systemProperties>
609 </configuration>
610 <executions>
611 <execution>
612 <id>test</id>
613 <goals>
614 <goal>test</goal>
615 </goals>
616 </execution>
617 </executions>
618 </plugin>
619 </plugins>
620 </build>
621 <profiles>
622 <profile>
623 <id>sdvtest</id>
624 <properties>
625 <maven.test.skip>true</maven.test.skip>
626 </properties>
627 </profile>
628 </profiles>
629 </project>