forked from dremio/dremio-oss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
executable file
·3250 lines (3206 loc) · 117 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!--
Copyright (C) 2017-2019 Dremio Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.dremio</groupId>
<artifactId>dremio-parent</artifactId>
<version>12.0.0-202012212145230282-d8947fd3</version>
<packaging>pom</packaging>
<name>Dremio - Parent</name>
<description>Dremio will enable organizations to unlock the value of their data</description>
<url>https://github.com/dremio/dremio-oss</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!--
Dependencies version for this module
Submodules should rely on dependenciesManagement as much as possible
-->
<arrow.version>3.0.0-20201208112059-2953033003-dremio</arrow.version>
<avatica.version>1.12.0</avatica.version>
<calcite.version>1.16.0-202012022204530538-af1f354</calcite.version>
<derby.version>10.14.2.0</derby.version>
<jcommander.version>1.71-1499290832-ab3e8cf</jcommander.version>
<javax.servlet.version>3.1.0</javax.servlet.version>
<simpleclient.version>0.7.0</simpleclient.version>
<foodmart-data-hsqldb.version>0.3</foodmart-data-hsqldb.version>
<fmpp.version>0.9.15</fmpp.version>
<freemarker.version>2.3.28</freemarker.version>
<hibernate-validator.version>6.1.5.Final</hibernate-validator.version>
<hadoop.version>3.2.1-dremio-202007112304180043-647afb0</hadoop.version>
<avro.version>1.9.2</avro.version>
<iceberg.version>0.9.0</iceberg.version>
<plugin.hive2.azure-storage.version>8.3.0</plugin.hive2.azure-storage.version>
<plugin.hive2.azure-datalake.version>2.3.3-202004281751280881-379c12c</plugin.hive2.azure-datalake.version>
<plugin.hive2.hadoop-azure.version>2.8.5-dremio-r2-d1532684d9fd0f51b3451fda22d5f0be503a167c</plugin.hive2.hadoop-azure.version>
<plugin.hive2.hadoop-azure-datalake.version>2.8.5</plugin.hive2.hadoop-azure-datalake.version>
<plugin.hive2.aws-sdk.version>1.11.761</plugin.hive2.aws-sdk.version>
<plugin.hive2.hadoop.version>2.8.5</plugin.hive2.hadoop.version>
<plugin.hive2.hive.version>2.1.1-dremio-202007281636460620-4925919</plugin.hive2.hive.version>
<plugin.hive2.datanucleus-api-jdo.version>4.2.1</plugin.hive2.datanucleus-api-jdo.version>
<plugin.hive2.datanucleus-core.version>4.1.6</plugin.hive2.datanucleus-core.version>
<plugin.hive2.datanucleus-rdbms.version>4.1.7</plugin.hive2.datanucleus-rdbms.version>
<plugin.hive2.datanucleus-jdo.version>3.2.0-m3</plugin.hive2.datanucleus-jdo.version>
<plugin.hive2.jdo-api.version>3.0.1</plugin.hive2.jdo-api.version>
<plugin.hive2.mapr.hadoop.version>2.7.0-mapr-1803</plugin.hive2.mapr.hadoop.version>
<plugin.hive2.mapr.hive.version>2.1.1-mapr-1803-202004220542160537-7eb4f70</plugin.hive2.mapr.hive.version>
<plugin.hive2.mapr.maprfs.version>6.0.1-mapr-client-dremio-20190717</plugin.hive2.mapr.maprfs.version>
<plugin.hive2.aws.glue.version>1.10.0-202006290831310925-84f4082</plugin.hive2.aws.glue.version>
<!-- [DX-18063] HBase versions older than 1.1.7 get version info using package-info.class
metadata. However it is unreliable to get this when both the parent and child classloaders
define the same package. It is therefore recommended to not go below 1.1.7
-->
<plugin.hive2.hbase.version>1.1.13</plugin.hive2.hbase.version>
<plugin.hive3.hadoop.version>3.2.1-dremio-202007112304180043-647afb0</plugin.hive3.hadoop.version>
<plugin.hive3.azure-storage.version>8.3.0</plugin.hive3.azure-storage.version>
<plugin.hive3.azure-datalake.version>2.3.3-202004281751280881-379c12c</plugin.hive3.azure-datalake.version>
<plugin.hive3.hadoop-azure.version>${plugin.hive3.hadoop.version}</plugin.hive3.hadoop-azure.version>
<plugin.hive3.hadoop-azure-datalake.version>${plugin.hive3.hadoop.version}</plugin.hive3.hadoop-azure-datalake.version>
<plugin.hive3.aws-hadoop.version>${plugin.hive3.hadoop.version}</plugin.hive3.aws-hadoop.version>
<plugin.hive3.aws-sdk.version>1.11.761</plugin.hive3.aws-sdk.version>
<plugin.hive3.hive.version>3.1.1-dremio-202012071527090472-7e70c1a</plugin.hive3.hive.version>
<plugin.hive3.hbase.version>2.2.0</plugin.hive3.hbase.version>
<plugin.hive3.orc.version>1.5.1-dremio-202007271350010286-8131f30</plugin.hive3.orc.version>
<plugin.hive3.datanucleus-api-jdo.version>4.2.4</plugin.hive3.datanucleus-api-jdo.version>
<plugin.hive3.datanucleus-core.version>4.1.17</plugin.hive3.datanucleus-core.version>
<plugin.hive3.datanucleus-rdbms.version>4.1.19</plugin.hive3.datanucleus-rdbms.version>
<plugin.hive3.datanucleus-jdo.version>3.2.0-m3</plugin.hive3.datanucleus-jdo.version>
<plugin.hive3.jdo-api.version>3.0.1</plugin.hive3.jdo-api.version>
<plugin.hive3.hikaricp.version>2.6.1</plugin.hive3.hikaricp.version>
<hsqldb.version>2.3.1</hsqldb.version>
<jackson.version>2.10.2</jackson.version>
<jersey.version>2.30</jersey.version>
<jetty.version>9.4.26.v20200117</jetty.version>
<javax.ws.rs-api.version>2.0.1</javax.ws.rs-api.version>
<junit.version>4.12</junit.version>
<lilith.version>8.2.0</lilith.version>
<!-- Careful, 1.1.6 & 1.1.7 break a weird validate debug feature in Calcite... -->
<logback.version>1.2.3</logback.version>
<metrics.version>4.1.0</metrics.version>
<mariadb.connector.version>2.3.0</mariadb.connector.version>
<netty.version>4.1.48.Final</netty.version>
<netty.boringssl.version>2.0.28.Final</netty.boringssl.version>
<parquet.version>1.12.0-201905082117230809-0fe4d5d</parquet.version>
<pf4j.version>3.0.1</pf4j.version>
<postgresql.version>42.2.18</postgresql.version>
<protobuf.version>3.9.1</protobuf.version>
<protostuff.version>1.4.4</protostuff.version>
<scott-data-hsqldb.version>0.1</scott-data-hsqldb.version>
<slf4j.version>1.7.28</slf4j.version>
<twill.version>0.14.0</twill.version>
<zkclient.version>0.10</zkclient.version>
<zookeeper.version>3.4.14</zookeeper.version>
<curator.version>2.12.0</curator.version>
<aws-sdk.version>1.11.761</aws-sdk.version>
<aws-sdk-2.version>2.11.13</aws-sdk-2.version>
<openhft-affinity.version>3.1.7</openhft-affinity.version>
<fbs.version>1.9.0</fbs.version>
<rocksdb.version>5.14.2</rocksdb.version>
<opencensus.version>0.24.0</opencensus.version>
<grpc.version>1.30.2</grpc.version>
<guava.version>28.1-jre</guava.version>
<guice.version>4.2.2</guice.version>
<!-- Use ES 5.5 instead of 5.6. The 5.6 client sends "source" instead of "inline" which isn't supported with older ES5 servers. -->
<elasticsearch.version>5.5.3</elasticsearch.version>
<!-- Specify API versions to test ES against. -->
<tests.elasticsearch.api.version>${elasticsearch.version}</tests.elasticsearch.api.version>
<tests.elasticsearch.mvn.plugin.version>6.8</tests.elasticsearch.mvn.plugin.version>
<!-- IMPORTANT NOTE: always use the same version of lucene as elasticsearch -->
<lucene.version>6.6.0</lucene.version>
<!-- Surefire/Failsafe argline property -->
<argLine></argLine>
<target.gen.source.path>${project.basedir}/target/generated-sources</target.gen.source.path>
<proto.cas.path>${project.basedir}/src/main/protobuf/</proto.cas.path>
<forkCount>4</forkCount>
<!-- Default intercom app id -->
<dremio.ui.intercom.appid>z8apq4co</dremio.ui.intercom.appid>
<npm.registry.url>https://registry.npmjs.org</npm.registry.url>
<dremio.mapr.distribution>nonmapr</dremio.mapr.distribution>
<dremio.release>false</dremio.release>
<!--
We could not use empty property here due to a bug https://github.com/eirslett/frontend-maven-plugin/issues/771
If the token would not be overwritten from outside, we would try to access sentry with
'NO_TOKEN', which causes compilation failure.
Set project.sentry.skip=true if you by any reason want to skip sentry step
-->
<project.sentry.token>NO_TOKEN</project.sentry.token>
<project.sentry.skip>true</project.sentry.skip>
</properties>
<profiles>
<profile>
<id>errorprone-unless-ide</id>
<!-- Run Error Prone (see https://errorprone.info)
UNLESS we're running Maven inside the Eclipse IDE under M2E (i.e. only on the "mvn" CLI)
because in M2E it causes havoc for the m2e-apt extension (which configures Annotations Processors,
such as e.g. http://Immutables.org, for the Eclipse JDT APT support); see full details in
https://github.com/jbosstools/m2e-apt/issues/62. Not running errorprone within the Eclipse
IDE is not a problem, because that's not yet supported, anyway;
see https://errorprone.info/docs/installation#Eclipse. -->
<activation>
<property>
<name>!m2e.version</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerId>javac-with-errorprone</compilerId>
<compilerArgs>
<arg>-J-Xss2048m</arg>
<arg>-XDcompilePolicy=simple</arg>
<!-- Add some extra checkers -->
<arg>-Xep:PreconditionsCheckNotNullRepeated:ERROR</arg>
<arg>-Xep:PreconditionsInvalidPlaceholder:ERROR</arg>
</compilerArgs>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac-errorprone</artifactId>
<version>2.8.4</version>
</dependency>
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>2.3.4</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>with-extras-module</id>
<activation>
<file>
<exists>../extras</exists>
</file>
<property>
<name>dremio.oss-only</name>
<value>!true</value>
</property>
</activation>
<modules>
<module>../extras</module>
</modules>
</profile>
<profile>
<id>mapr</id>
<activation>
<property>
<name>mapr</name>
</property>
</activation>
<properties>
<plugin.hive2.hive.version>2.1.1-mapr-1803-202004220542160537-7eb4f70</plugin.hive2.hive.version>
<hadoop.version>2.7.0-mapr-1803</hadoop.version>
<!-- hadoop-yarn-common jar is updated in MapR patch 6.0.1 repository, it is updated to be
compatible with maprfs jar from the same patch. This jar is taken from client package folder
from MapR's patch fix repository, v6.0.1/rpm, mapr-patch-6.0.1.20180404222005.GA-20190625140628.x86_64.rpm-->
<yarn.common.version>2.7.0-mapr-1803-dremio-20190717</yarn.common.version>
<!-- This maprfs jar is taken from MapR 6.0.1 client package directly.
This jar is taken from client package folder from MapR's patch fix repository,
v6.0.1/rpm, mapr-patch-6.0.1.20180404222005.GA-20190625140628.x86_64.rpm -->
<maprfs.version>6.0.1-mapr-client-dremio-20190717</maprfs.version>
<!-- This jar is a dependency of com.mapr.hadoop:maprfs jar.
For some reason it is not packaged by the assembly plugin. Include it explicitly. -->
<org.json.version>20080701</org.json.version>
<zookeeper.version>3.4.5-mapr-1710</zookeeper.version>
<!-- The version of protobuf to shade with MapR FS -->
<maprfs.protobuf.version>2.5.0</maprfs.protobuf.version>
<argLine>
-Djava.security.auth.login.config=${WORKSPACE}/oss/common/src/test/resources/maprtest/testconfig/login.conf
-Dzookeeper.sasl.clientconfig=Client_simple
-Dzookeeper.saslprovider=com.mapr.security.simplesasl.SimpleSaslProvider
-Dzookeeper.sasl.serverconfig=Server_simple
-Dzookeeper.authProvider.1=org.apache.zookeeper.server.auth.SASLAuthenticationProvider
-Dzookeeper.authMech=SIMPLE-SECURITY
-Dmapr.home.dir=${WORKSPACE}/oss/common/src/test/resources/maprtest/testconfig
-Ddremio.mapr.profile=true
</argLine>
<dremio.mapr.distribution>mapr</dremio.mapr.distribution>
</properties>
<repositories>
<repository>
<id>mapr-releases</id>
<url>https://repository.mapr.com/maven/</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.mapr.hadoop</groupId>
<artifactId>maprfs</artifactId>
<version>${maprfs.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-common</artifactId>
<version>${yarn.common.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>community-build</id>
<activation>
<property>
<name>dremio.oss-only</name>
<value>!true</value>
</property>
</activation>
<repositories>
<repository>
<id>dremio-free</id>
<url>https://maven.dremio.com/free/</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.dremio.community.sabot</groupId>
<artifactId>dremio-ce-sabot-kernel</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>release</id>
<properties>
<dremio.release>true</dremio.release>
<!-- we should upload source maps for any release build -->
<project.sentry.skip>false</project.sentry.skip>
</properties>
</profile>
<profile>
<id>code-coverage</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-prepare-agent-integration</id>
<goals>
<goal>prepare-agent-integration</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>default-report-integration</id>
<goals>
<goal>report-integration</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>de.thetaphi</groupId>
<artifactId>forbiddenapis</artifactId>
<version>2.7</version>
<configuration>
<failOnUnresolvableSignatures>false</failOnUnresolvableSignatures>
<signaturesArtifacts>
<signaturesArtifact>
<groupId>com.dremio.tools</groupId>
<artifactId>dremio-build-tools</artifactId>
<version>${project.version}</version>
<type>jar</type>
<path>dremio-forbiddenapis/signatures.txt</path>
</signaturesArtifact>
</signaturesArtifacts>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
<goal>testCheck</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- use as plugin instead of extension to resolve issues in Eclipse. See https://github.com/xolstice/protobuf-maven-plugin/issues/10#issuecomment-419529938 for more detail -->
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.6.2</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>detect</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<!-- Specify source and test directories to not included generated source directories -->
<sourceDirectories>
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
</sourceDirectories>
<testSourceDirectories>
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
</testSourceDirectories>
<encoding>UTF-8</encoding>
<failsOnError>true</failsOnError>
<consoleOutput>true</consoleOutput>
<includeResources>true</includeResources>
<includeTestResources>true</includeTestResources>
<resourceIncludes>**/*.properties,**/*.conf,**/*.json,**/*.xml</resourceIncludes>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<configLocation>dremio-checkstyle/checkstyle-config.xml</configLocation>
<suppressionsLocation>dremio-checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
</configuration>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.19</version>
</dependency>
<dependency>
<groupId>com.dremio.tools</groupId>
<artifactId>dremio-build-tools</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>checkstyle-verification</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<useDefaultDelimiters>false</useDefaultDelimiters>
<delimiters>
<delimiter>@</delimiter>
</delimiters>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<source>1.8</source>
<target>1.8</target>
<!-- See MCOMPILER-209 for why it is set to false! -->
<useIncrementalCompilation>false</useIncrementalCompilation>
</configuration>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>validate_java_and_maven_version</id>
<phase>validate</phase>
<goals>
<goal>enforce</goal>
</goals>
<inherited>false</inherited>
<configuration>
<rules>
<requireMavenVersion>
<version>[3.3.9,4)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[1.8,1.9)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
<execution>
<id>avoid_bad_dependencies</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<bannedDependencies>
<excludes>
<exclude>commons-logging</exclude>
<exclude>commons-beanutils:commons-beanutils-core</exclude> <!-- replaced by commons-beanutils:common-beanutils -->
<exclude>javax.servlet:servlet-api</exclude>
<exclude>org.mortbay.jetty:servlet-api</exclude>
<exclude>org.mortbay.jetty:servlet-api-2.5</exclude>
<exclude>org.apache.logging.log4j:log4j-slf4j-impl</exclude>
<exclude>log4j:*</exclude>
<exclude>io.netty:*:4.0</exclude> <!-- exclude netty versions 4.0 and above. some of our dependencies (e.g. ES) still depend on netty 3.x which is fine as versions < 4.0 have a completely different package names -->
<!-- For the sake of space do not include all AWS dependencies but rely on BOM and include individual ones when needed -->
<exclude>com.amazonaws:aws-java-sdk</exclude>
<exclude>software.amazon.awssdk:aws-sdk-java</exclude>
</excludes>
<includes>
<include>io.netty:*:${netty.version}</include>
</includes>
</bannedDependencies>
<bannedPlugins>
<excludes>
<exclude>io.protostuff:protostuff-maven-plugin</exclude>
</excludes>
</bannedPlugins>
<requireSameVersions>
<plugins>
<plugin>*:*</plugin>
</plugins>
</requireSameVersions>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<useReleaseProfile>false</useReleaseProfile>
<pushChanges>false</pushChanges>
<goals>deploy</goals>
<arguments>-Pdremio-release ${arguments}</arguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/logging.properties</exclude>
<exclude>**/logback-test.xml</exclude>
<exclude>**/logback.out.xml</exclude>
<exclude>**/logback.xml</exclude>
</excludes>
<archive>
<index>true</index>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Extension-Name>com.dremio</Extension-Name>
<Built-By>${username}</Built-By>
<url>http://www.dremio.com</url>
</manifestEntries>
</archive>
</configuration>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
<configuration>
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<executions>
<execution>
<id>for-jars</id>
<inherited>true</inherited>
<goals>
<goal>revision</goal>
</goals>
<configuration>
<generateGitPropertiesFilename>target/classes/git.properties</generateGitPropertiesFilename>
</configuration>
</execution>
<execution>
<id>for-source-tarball</id>
<goals>
<goal>revision</goal>
</goals>
<inherited>false</inherited>
<configuration>
<generateGitPropertiesFilename>./git.properties</generateGitPropertiesFilename>
</configuration>
</execution>
</executions>
<configuration>
<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
<verbose>true</verbose>
<skipPoms>false</skipPoms>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
<useNativeGit>true</useNativeGit>
<injectAllReactorProjects>false</injectAllReactorProjects>
<includeOnlyProperties>
<includeOnlyProperty>git.build.time</includeOnlyProperty>
<includeOnlyProperty>git.build.user.email</includeOnlyProperty>
<includeOnlyProperty>git.commit.id</includeOnlyProperty>
<includeOnlyProperty>git.commit.time</includeOnlyProperty>
</includeOnlyProperties>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
<configuration>
<inlineHeader>
Copyright (C) ${project.inceptionYear} ${owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</inlineHeader>
<properties>
<owner>Dremio Corporation</owner>
</properties>
<project>
<inceptionYear>2017-2019</inceptionYear>
</project>
<failIfUnknown>true</failIfUnknown>
<useDefaultExcludes>false</useDefaultExcludes>
<includes>
<include>src/**</include>
<include>*</include>
</includes>
<excludes>
<!-- default excludes (minus some items) from https://github.com/mycila/license-maven-plugin/blob/61f65ac65bfc38246a15fb84083796c5e3afb053/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/Default.java -->
<exclude>**/*~</exclude>
<exclude>**/#*#</exclude>
<exclude>**/.#*</exclude>
<exclude>**/%*%</exclude>
<exclude>**/._*</exclude>
<exclude>**/.repository/**</exclude>
<exclude>**/CVS</exclude>
<exclude>**/CVS/**</exclude>
<exclude>**/.cvsignore</exclude>
<exclude>**/RCS</exclude>
<exclude>**/RCS/**</exclude>
<exclude>**/SCCS</exclude>
<exclude>**/SCCS/**</exclude>
<exclude>**/vssver.scc</exclude>
<exclude>**/.svn</exclude>
<exclude>**/.svn/**</exclude>
<exclude>**/.arch-ids</exclude>
<exclude>**/.arch-ids/**</exclude>
<exclude>**/.bzr</exclude>
<exclude>**/.bzr/**</exclude>
<exclude>**/.MySCMServerInfo</exclude>
<exclude>**/.dotfile</exclude>
<exclude>**/.DS_Store</exclude>
<exclude>**/.metadata</exclude>
<exclude>**/.metadata/**</exclude>
<exclude>**/.hg</exclude>
<exclude>**/.hg/**</exclude>
<exclude>**/.hgignore</exclude>
<exclude>**/.git</exclude>
<exclude>**/.git/**</exclude>
<exclude>**/.gitignore</exclude>
<exclude>**/.gitmodules</exclude>
<exclude>**/.indexing</exclude>
<exclude>**/BitKeeper</exclude>
<exclude>**/BitKeeper/**</exclude>
<exclude>**/ChangeSet</exclude>
<exclude>**/ChangeSet/**</exclude>
<exclude>**/_darcs</exclude>
<exclude>**/_darcs/**</exclude>
<exclude>**/.darcsrepo</exclude>
<exclude>**/.darcsrepo/**</exclude>
<exclude>**/-darcs-backup*</exclude>
<exclude>**/.darcs-temp-mail</exclude>
<!-- <exclude>**/target/**</exclude> want this for add-license-for-java-generated-from-proto -->
<exclude>**/test-output/**</exclude>
<exclude>**/release.properties</exclude>
<exclude>**/dependency-reduced-pom.xml</exclude>
<exclude>**/release-pom.xml</exclude>
<exclude>**/pom.xml.releaseBackup</exclude>
<exclude>**/cobertura.ser</exclude>
<exclude>**/.clover/**</exclude>
<exclude>**/.classpath</exclude>
<exclude>**/.project</exclude>
<exclude>**/.settings/**</exclude>
<exclude>**/*.iml</exclude>
<exclude>**/*.ipr</exclude>
<exclude>**/*.iws</exclude>
<exclude>.idea/**</exclude>
<exclude>**/nb-configuration.xml</exclude>
<exclude>**/MANIFEST.MF</exclude>
<exclude>**/*.jpg</exclude>
<exclude>**/*.png</exclude>
<exclude>**/*.gif</exclude>
<exclude>**/*.ico</exclude>
<exclude>**/*.bmp</exclude>
<exclude>**/*.tiff</exclude>
<exclude>**/*.tif</exclude>
<exclude>**/*.cr2</exclude>
<exclude>**/*.xcf</exclude>
<exclude>**/*.class</exclude>
<exclude>**/*.exe</exclude>
<exclude>**/*.dll</exclude>
<exclude>**/*.so</exclude>
<exclude>**/*.md5</exclude>
<exclude>**/*.sha1</exclude>
<exclude>**/*.jar</exclude>
<exclude>**/*.zip</exclude>
<exclude>**/*.rar</exclude>
<exclude>**/*.tar</exclude>
<exclude>**/*.tar.gz</exclude>
<exclude>**/*.tar.bz2</exclude>
<exclude>**/*.gz</exclude>
<exclude>**/*.xls</exclude>
<exclude>**/META-INF/services/**</exclude>
<exclude>**/*.md</exclude>
<exclude>**/*.xls</exclude>
<exclude>**/*.doc</exclude>
<exclude>**/*.odt</exclude>
<exclude>**/*.ods</exclude>
<exclude>**/*.pdf</exclude>
<exclude>**/.travis.yml</exclude>
<exclude>**/*.swf</exclude>
<exclude>**/*.json</exclude>
<!-- <exclude>**/*.svg</exclude> -->
<exclude>**/*.eot</exclude>
<exclude>**/*.ttf</exclude>
<exclude>**/*.woff</exclude>
<exclude>**/*.xlsx</exclude>
<exclude>**/*.docx</exclude>
<exclude>**/*.ppt</exclude>
<exclude>**/*.pptx</exclude>
<!-- end default excludes -->
<!-- by file extension -->
<exclude>**/*.log</exclude>
<exclude>**/*.txt</exclude>
<exclude>**/*.csv</exclude>
<exclude>**/*.tsv</exclude>
<exclude>**/*.parquet</exclude>
<exclude>**/*.orc</exclude>
<exclude>**/*.jks</exclude>
<exclude>**/*.nonformat</exclude>
<exclude>**/*.gzip</exclude>
<exclude>**/*.fbs</exclude>
<exclude>**/*.idx</exclude>
<exclude>**/*.tpl</exclude>
<exclude>**/*.spec.js.snap</exclude>
<exclude>**/*.yarnrc</exclude>
<!-- by file name -->
<exclude>**/Jenkinsfile</exclude>
<exclude>**/.cproject</exclude>
<exclude>**/LICENSE</exclude>
<exclude>**/NOTICE</exclude>
<exclude>**/postinstall</exclude>
<exclude>**/.factorypath</exclude>
<exclude>**/.babelrc</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/.eslintcache</exclude>
<exclude>**/.eslintignore</exclude>
<exclude>**/.eslintrc</exclude>
<exclude>**/.sentryclirc</exclude>
<exclude>**/git.properties</exclude>
<exclude>**/pom.xml.versionsBackup</exclude>
<exclude>**/scheduler-core-default.xml</exclude>
<exclude>**/scheduler-yarn-default.xml</exclude>
<exclude>mvnw</exclude>
<exclude>mvnw.cmd</exclude>
<exclude>**/*.no_license</exclude>
<exclude>**/rpm/conf/dremio-env</exclude>
<exclude>**/rpm/conf/dremio.conf</exclude>
<exclude>**/yarn.lock</exclude>
<exclude>**/.env</exclude>
<exclude>**/microsoft-logo.svg</exclude>
<!-- by directory name -->
<exclude>**/node_modules/**</exclude>
<exclude>**/.idea/**</exclude>
</excludes>
<mapping>
<java>SLASHSTAR_STYLE</java>
<cc>SLASHSTAR_STYLE</cc>
<h>SLASHSTAR_STYLE</h>
<map>SCRIPT_STYLE</map>
<hql>DOUBLEDASHES_STYLE</hql>
<jnk>DOUBLESLASH_STYLE</jnk>
<stg>DOUBLESLASH_STYLE</stg>
<g>DOUBLESLASH_STYLE</g>
<proto>SLASHSTAR_STYLE</proto>
<less>SLASHSTAR_STYLE</less>
<scss>SLASHSTAR_STYLE</scss>
<hpp>SLASHSTAR_STYLE</hpp>
<cc>SLASHSTAR_STYLE</cc>
<tdd>SCRIPT_STYLE</tdd>
<command>SCRIPT_STYLE</command>
<fmpp>SCRIPT_STYLE</fmpp>
<q>DOUBLEDASHES_STYLE</q>
<conf>SCRIPT_STYLE</conf>
<jj>SLASHSTAR_STYLE</jj>
<dss>SCRIPT_STYLE</dss>
<rc>SCRIPT_STYLE</rc>
<service>SCRIPT_STYLE</service>
<svg>XML_STYLE</svg>
<mvnw>SCRIPT_STYLE</mvnw>
<ts>SLASHSTAR_STYLE</ts>
<tsx>SLASHSTAR_STYLE</tsx>
</mapping>
</configuration>
<executions>
<execution>
<id>default-cli</id>
<goals>
<goal>format</goal>
</goals>
</execution>
<execution>
<id>add-license-to-java-generated-from-proto</id>
<phase>process-sources</phase>
<goals>
<goal>format</goal>
</goals>
<configuration>
<includes combine.self="override">
<skipExistingHeaders>true</skipExistingHeaders>
<include>${project.build.directory}/**/*.java</include>
</includes>
</configuration>
</execution>
<execution>
<id>verify-license-headers</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
<configuration>
<argLine>
-Xms512M
-Xmx3G
-Xss2048k
-XX:MaxDirectMemorySize=5120M
-XX:+CMSClassUnloadingEnabled
@{argLine}
</argLine>
<enableAssertions>true</enableAssertions>
<forkCount>${forkCount}</forkCount>
<reuseForks>true</reuseForks>
<systemPropertyVariables>
<dremio.exec.compile.cache_max_size>50</dremio.exec.compile.cache_max_size>
<dremio.exec.http.enabled>false</dremio.exec.http.enabled>
<dremio.test.query.printing.silent>true</dremio.test.query.printing.silent>
<dremio.catastrophic_to_standard_out>true</dremio.catastrophic_to_standard_out>
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
<java.awt.headless>true</java.awt.headless>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.0.0-M3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.6.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<dependencies>
<!-- Updating slf4j version to avoid classpath issues -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>${slf4j.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>5.3.2</version>
<dependencies>
<dependency>
<groupId>com.dremio.tools</groupId>
<artifactId>dremio-build-tools</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<configuration>
<cveUrlBase>${nvd.cvebase.url}</cveUrlBase>
<cveUrlModified>${nvd.cvemodified.url}</cveUrlModified>
<skipSystemScope>true</skipSystemScope>
<suppressionFiles>
<suppressionFile>dremio-owasp/suppressions.xml</suppressionFile>
<suppressionFile>dremio-owasp/suppressions-npm.xml</suppressionFile>
</suppressionFiles>
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
</configuration>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>4.0.0</version>
</plugin>
<plugin>