Skip to content

Commit d7caeaf

Browse files
authored
HIVE-24553. Exclude calcite from test-jar dependency of hive-exec (#1794)
1 parent 52a4ab8 commit d7caeaf

File tree

11 files changed

+168
-0
lines changed

11 files changed

+168
-0
lines changed

beeline/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,20 @@
9999
<version>${project.version}</version>
100100
<classifier>tests</classifier>
101101
<scope>test</scope>
102+
<exclusions>
103+
<exclusion>
104+
<groupId>org.apache.calcite</groupId>
105+
<artifactId>calcite-core</artifactId>
106+
</exclusion>
107+
<exclusion>
108+
<groupId>org.apache.calcite</groupId>
109+
<artifactId>calcite-druid</artifactId>
110+
</exclusion>
111+
<exclusion>
112+
<groupId>org.apache.calcite.avatica</groupId>
113+
<artifactId>avatica</artifactId>
114+
</exclusion>
115+
</exclusions>
102116
</dependency>
103117
<dependency>
104118
<groupId>org.apache.hive</groupId>

hcatalog/core/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,20 @@
6666
<version>${project.version}</version>
6767
<type>test-jar</type>
6868
<scope>test</scope>
69+
<exclusions>
70+
<exclusion>
71+
<groupId>org.apache.calcite</groupId>
72+
<artifactId>calcite-core</artifactId>
73+
</exclusion>
74+
<exclusion>
75+
<groupId>org.apache.calcite</groupId>
76+
<artifactId>calcite-druid</artifactId>
77+
</exclusion>
78+
<exclusion>
79+
<groupId>org.apache.calcite.avatica</groupId>
80+
<artifactId>avatica</artifactId>
81+
</exclusion>
82+
</exclusions>
6983
</dependency>
7084
<!-- inter-project -->
7185
<dependency>

hcatalog/hcatalog-pig-adapter/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,20 @@
101101
<version>${project.version}</version>
102102
<type>test-jar</type>
103103
<scope>test</scope>
104+
<exclusions>
105+
<exclusion>
106+
<groupId>org.apache.calcite</groupId>
107+
<artifactId>calcite-core</artifactId>
108+
</exclusion>
109+
<exclusion>
110+
<groupId>org.apache.calcite</groupId>
111+
<artifactId>calcite-druid</artifactId>
112+
</exclusion>
113+
<exclusion>
114+
<groupId>org.apache.calcite.avatica</groupId>
115+
<artifactId>avatica</artifactId>
116+
</exclusion>
117+
</exclusions>
104118
</dependency>
105119
<!-- test inter-project -->
106120
<dependency>

hcatalog/server-extensions/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,20 @@
7575
<version>${project.version}</version>
7676
<type>test-jar</type>
7777
<scope>test</scope>
78+
<exclusions>
79+
<exclusion>
80+
<groupId>org.apache.calcite</groupId>
81+
<artifactId>calcite-core</artifactId>
82+
</exclusion>
83+
<exclusion>
84+
<groupId>org.apache.calcite</groupId>
85+
<artifactId>calcite-druid</artifactId>
86+
</exclusion>
87+
<exclusion>
88+
<groupId>org.apache.calcite.avatica</groupId>
89+
<artifactId>avatica</artifactId>
90+
</exclusion>
91+
</exclusions>
7892
</dependency>
7993
<!-- test inter-project -->
8094
<dependency>

hcatalog/webhcat/java-client/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,20 @@
7373
<version>${project.version}</version>
7474
<type>test-jar</type>
7575
<scope>test</scope>
76+
<exclusions>
77+
<exclusion>
78+
<groupId>org.apache.calcite</groupId>
79+
<artifactId>calcite-core</artifactId>
80+
</exclusion>
81+
<exclusion>
82+
<groupId>org.apache.calcite</groupId>
83+
<artifactId>calcite-druid</artifactId>
84+
</exclusion>
85+
<exclusion>
86+
<groupId>org.apache.calcite.avatica</groupId>
87+
<artifactId>avatica</artifactId>
88+
</exclusion>
89+
</exclusions>
7690
</dependency>
7791
<dependency>
7892
<groupId>org.apache.hive.hcatalog</groupId>

itests/hive-minikdc/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,20 @@
116116
<version>${project.version}</version>
117117
<scope>test</scope>
118118
<classifier>tests</classifier>
119+
<exclusions>
120+
<exclusion>
121+
<groupId>org.apache.calcite</groupId>
122+
<artifactId>calcite-core</artifactId>
123+
</exclusion>
124+
<exclusion>
125+
<groupId>org.apache.calcite</groupId>
126+
<artifactId>calcite-druid</artifactId>
127+
</exclusion>
128+
<exclusion>
129+
<groupId>org.apache.calcite.avatica</groupId>
130+
<artifactId>avatica</artifactId>
131+
</exclusion>
132+
</exclusions>
119133
</dependency>
120134
<!-- test inter-project -->
121135
<dependency>

itests/hive-unit-hadoop2/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,20 @@
9797
<artifactId>hive-exec</artifactId>
9898
<version>${project.version}</version>
9999
<classifier>tests</classifier>
100+
<exclusions>
101+
<exclusion>
102+
<groupId>org.apache.calcite</groupId>
103+
<artifactId>calcite-core</artifactId>
104+
</exclusion>
105+
<exclusion>
106+
<groupId>org.apache.calcite</groupId>
107+
<artifactId>calcite-druid</artifactId>
108+
</exclusion>
109+
<exclusion>
110+
<groupId>org.apache.calcite.avatica</groupId>
111+
<artifactId>avatica</artifactId>
112+
</exclusion>
113+
</exclusions>
100114
</dependency>
101115
<!-- test inter-project -->
102116
<dependency>

itests/hive-unit/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,20 @@
4949
<artifactId>hive-exec</artifactId>
5050
<version>${project.version}</version>
5151
<classifier>tests</classifier>
52+
<exclusions>
53+
<exclusion>
54+
<groupId>org.apache.calcite</groupId>
55+
<artifactId>calcite-core</artifactId>
56+
</exclusion>
57+
<exclusion>
58+
<groupId>org.apache.calcite</groupId>
59+
<artifactId>calcite-druid</artifactId>
60+
</exclusion>
61+
<exclusion>
62+
<groupId>org.apache.calcite.avatica</groupId>
63+
<artifactId>avatica</artifactId>
64+
</exclusion>
65+
</exclusions>
5266
</dependency>
5367
<dependency>
5468
<groupId>org.apache.hive</groupId>

itests/qtest-accumulo/pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,41 @@
6363
<version>${project.version}</version>
6464
<scope>test</scope>
6565
<classifier>core</classifier>
66+
<exclusions>
67+
<exclusion>
68+
<groupId>org.apache.calcite</groupId>
69+
<artifactId>calcite-core</artifactId>
70+
</exclusion>
71+
<exclusion>
72+
<groupId>org.apache.calcite</groupId>
73+
<artifactId>calcite-druid</artifactId>
74+
</exclusion>
75+
<exclusion>
76+
<groupId>org.apache.calcite.avatica</groupId>
77+
<artifactId>avatica</artifactId>
78+
</exclusion>
79+
</exclusions>
6680
</dependency>
6781
<dependency>
6882
<groupId>org.apache.hive</groupId>
6983
<artifactId>hive-exec</artifactId>
7084
<version>${project.version}</version>
7185
<scope>test</scope>
7286
<classifier>tests</classifier>
87+
<exclusions>
88+
<exclusion>
89+
<groupId>org.apache.calcite</groupId>
90+
<artifactId>calcite-core</artifactId>
91+
</exclusion>
92+
<exclusion>
93+
<groupId>org.apache.calcite</groupId>
94+
<artifactId>calcite-druid</artifactId>
95+
</exclusion>
96+
<exclusion>
97+
<groupId>org.apache.calcite.avatica</groupId>
98+
<artifactId>avatica</artifactId>
99+
</exclusion>
100+
</exclusions>
73101
</dependency>
74102
<dependency>
75103
<groupId>org.apache.hive</groupId>

itests/util/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,20 @@
100100
<artifactId>hive-exec</artifactId>
101101
<version>${project.version}</version>
102102
<classifier>tests</classifier>
103+
<exclusions>
104+
<exclusion>
105+
<groupId>org.apache.calcite</groupId>
106+
<artifactId>calcite-core</artifactId>
107+
</exclusion>
108+
<exclusion>
109+
<groupId>org.apache.calcite</groupId>
110+
<artifactId>calcite-druid</artifactId>
111+
</exclusion>
112+
<exclusion>
113+
<groupId>org.apache.calcite.avatica</groupId>
114+
<artifactId>avatica</artifactId>
115+
</exclusion>
116+
</exclusions>
103117
</dependency>
104118
<dependency>
105119
<groupId>org.apache.hive</groupId>

service/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,20 @@
147147
<version>${project.version}</version>
148148
<scope>test</scope>
149149
<classifier>tests</classifier>
150+
<exclusions>
151+
<exclusion>
152+
<groupId>org.apache.calcite</groupId>
153+
<artifactId>calcite-core</artifactId>
154+
</exclusion>
155+
<exclusion>
156+
<groupId>org.apache.calcite</groupId>
157+
<artifactId>calcite-druid</artifactId>
158+
</exclusion>
159+
<exclusion>
160+
<groupId>org.apache.calcite.avatica</groupId>
161+
<artifactId>avatica</artifactId>
162+
</exclusion>
163+
</exclusions>
150164
</dependency>
151165
<dependency>
152166
<groupId>org.apache.hive</groupId>

0 commit comments

Comments
 (0)