Skip to content

Commit b0d81e1

Browse files
authored
Adjust hive and presto pom dependency (#31680)
* Adjust hive and presto pom dependency * disable wrong unit test
1 parent 40b76ba commit b0d81e1

File tree

3 files changed

+234
-222
lines changed

3 files changed

+234
-222
lines changed

infra/database/type/hive/pom.xml

-217
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@
2626
<artifactId>shardingsphere-infra-database-hive</artifactId>
2727
<name>${project.artifactId}</name>
2828

29-
<properties>
30-
<hive.version>3.1.3</hive.version>
31-
</properties>
32-
3329
<dependencies>
3430
<dependency>
3531
<groupId>org.apache.shardingsphere</groupId>
@@ -40,228 +36,15 @@
4036
<dependency>
4137
<groupId>org.apache.hive</groupId>
4238
<artifactId>hive-jdbc</artifactId>
43-
<version>${hive.version}</version>
4439
<scope>runtime</scope>
45-
<exclusions>
46-
<exclusion>
47-
<groupId>com.github.joshelser</groupId>
48-
<artifactId>dropwizard-metrics-hadoop-metrics2-reporter</artifactId>
49-
</exclusion>
50-
<exclusion>
51-
<groupId>com.zaxxer</groupId>
52-
<artifactId>HikariCP-java7</artifactId>
53-
</exclusion>
54-
<exclusion>
55-
<groupId>org.slf4j</groupId>
56-
<artifactId>slf4j-log4j12</artifactId>
57-
</exclusion>
58-
<exclusion>
59-
<groupId>org.apache.logging.log4j</groupId>
60-
<artifactId>log4j-slf4j-impl</artifactId>
61-
</exclusion>
62-
<exclusion>
63-
<groupId>org.apache.logging.log4j</groupId>
64-
<artifactId>log4j-1.2-api</artifactId>
65-
</exclusion>
66-
<exclusion>
67-
<groupId>commons-collections</groupId>
68-
<artifactId>commons-collections</artifactId>
69-
</exclusion>
70-
</exclusions>
7140
</dependency>
7241
<dependency>
7342
<groupId>org.apache.hive</groupId>
7443
<artifactId>hive-common</artifactId>
75-
<version>${hive.version}</version>
76-
<exclusions>
77-
<exclusion>
78-
<groupId>jdk.tools</groupId>
79-
<artifactId>jdk.tools</artifactId>
80-
</exclusion>
81-
<exclusion>
82-
<groupId>commons-collections</groupId>
83-
<artifactId>commons-collections</artifactId>
84-
</exclusion>
85-
<exclusion>
86-
<groupId>org.slf4j</groupId>
87-
<artifactId>slf4j-log4j12</artifactId>
88-
</exclusion>
89-
<exclusion>
90-
<groupId>log4j</groupId>
91-
<artifactId>log4j</artifactId>
92-
</exclusion>
93-
<exclusion>
94-
<groupId>org.apache.logging.log4j</groupId>
95-
<artifactId>log4j-slf4j-impl</artifactId>
96-
</exclusion>
97-
<exclusion>
98-
<groupId>org.apache.logging.log4j</groupId>
99-
<artifactId>log4j-1.2-api</artifactId>
100-
</exclusion>
101-
<exclusion>
102-
<groupId>org.apache.logging.log4j</groupId>
103-
<artifactId>log4j-web</artifactId>
104-
</exclusion>
105-
<exclusion>
106-
<groupId>org.apache.hadoop</groupId>
107-
<artifactId>hadoop-yarn-server-resourcemanager</artifactId>
108-
</exclusion>
109-
<exclusion>
110-
<groupId>org.eclipse.jetty</groupId>
111-
<artifactId>jetty-http</artifactId>
112-
</exclusion>
113-
<exclusion>
114-
<groupId>org.eclipse.jetty</groupId>
115-
<artifactId>jetty-rewrite</artifactId>
116-
</exclusion>
117-
<exclusion>
118-
<groupId>org.eclipse.jetty</groupId>
119-
<artifactId>jetty-server</artifactId>
120-
</exclusion>
121-
<exclusion>
122-
<groupId>org.eclipse.jetty</groupId>
123-
<artifactId>jetty-servlet</artifactId>
124-
</exclusion>
125-
<exclusion>
126-
<groupId>org.eclipse.jetty</groupId>
127-
<artifactId>jetty-webapp</artifactId>
128-
</exclusion>
129-
<exclusion>
130-
<groupId>org.apache.orc</groupId>
131-
<artifactId>orc-core</artifactId>
132-
</exclusion>
133-
<exclusion>
134-
<groupId>com.jcraft</groupId>
135-
<artifactId>jsch</artifactId>
136-
</exclusion>
137-
<exclusion>
138-
<groupId>jline</groupId>
139-
<artifactId>jline</artifactId>
140-
</exclusion>
141-
<exclusion>
142-
<groupId>com.github.joshelser</groupId>
143-
<artifactId>dropwizard-metrics-hadoop-metrics2-reporter</artifactId>
144-
</exclusion>
145-
<exclusion>
146-
<groupId>io.dropwizard.metrics</groupId>
147-
<artifactId>metrics-core</artifactId>
148-
</exclusion>
149-
<exclusion>
150-
<groupId>io.dropwizard.metrics</groupId>
151-
<artifactId>metrics-json</artifactId>
152-
</exclusion>
153-
<exclusion>
154-
<groupId>io.dropwizard.metrics</groupId>
155-
<artifactId>metrics-jvm</artifactId>
156-
</exclusion>
157-
<exclusion>
158-
<groupId>org.apache.ant</groupId>
159-
<artifactId>ant</artifactId>
160-
</exclusion>
161-
<exclusion>
162-
<groupId>com.zaxxer</groupId>
163-
<artifactId>HikariCP-java7</artifactId>
164-
</exclusion>
165-
</exclusions>
16644
</dependency>
16745
<dependency>
16846
<groupId>org.apache.hive</groupId>
16947
<artifactId>hive-metastore</artifactId>
170-
<version>${hive.version}</version>
171-
<exclusions>
172-
<exclusion>
173-
<groupId>org.apache.logging.log4j</groupId>
174-
<artifactId>log4j-slf4j-impl</artifactId>
175-
</exclusion>
176-
<exclusion>
177-
<groupId>org.apache.logging.log4j</groupId>
178-
<artifactId>log4j-1.2-api</artifactId>
179-
</exclusion>
180-
<exclusion>
181-
<groupId>org.apache.hive</groupId>
182-
<artifactId>hive-serde</artifactId>
183-
</exclusion>
184-
<exclusion>
185-
<groupId>co.cask.tephra</groupId>
186-
<artifactId>tephra-api</artifactId>
187-
</exclusion>
188-
<exclusion>
189-
<groupId>co.cask.tephra</groupId>
190-
<artifactId>tephra-core</artifactId>
191-
</exclusion>
192-
<exclusion>
193-
<groupId>co.cask.tephra</groupId>
194-
<artifactId>tephra-hbase-compat-1.0</artifactId>
195-
</exclusion>
196-
<exclusion>
197-
<groupId>org.eclipse.jetty</groupId>
198-
<artifactId>jetty-server</artifactId>
199-
</exclusion>
200-
<exclusion>
201-
<groupId>org.eclipse.jetty</groupId>
202-
<artifactId>jetty-servlet</artifactId>
203-
</exclusion>
204-
<exclusion>
205-
<groupId>org.eclipse.jetty</groupId>
206-
<artifactId>jetty-util</artifactId>
207-
</exclusion>
208-
<exclusion>
209-
<groupId>org.eclipse.jetty</groupId>
210-
<artifactId>jetty-webapp</artifactId>
211-
</exclusion>
212-
<exclusion>
213-
<groupId>com.sun.jersey</groupId>
214-
<artifactId>jersey-servlet</artifactId>
215-
</exclusion>
216-
<exclusion>
217-
<groupId>org.apache.orc</groupId>
218-
<artifactId>orc-core</artifactId>
219-
</exclusion>
220-
<exclusion>
221-
<groupId>org.jruby.joni</groupId>
222-
<artifactId>joni</artifactId>
223-
</exclusion>
224-
<exclusion>
225-
<groupId>sqlline</groupId>
226-
<artifactId>sqlline</artifactId>
227-
</exclusion>
228-
<exclusion>
229-
<groupId>org.apache.hbase</groupId>
230-
<artifactId>hbase-metrics</artifactId>
231-
</exclusion>
232-
<exclusion>
233-
<groupId>org.apache.hbase</groupId>
234-
<artifactId>hbase-metrics-api</artifactId>
235-
</exclusion>
236-
<exclusion>
237-
<groupId>io.dropwizard.metrics</groupId>
238-
<artifactId>metrics-core</artifactId>
239-
</exclusion>
240-
<exclusion>
241-
<groupId>io.dropwizard.metrics</groupId>
242-
<artifactId>metrics-json</artifactId>
243-
</exclusion>
244-
<exclusion>
245-
<groupId>io.dropwizard.metrics</groupId>
246-
<artifactId>metrics-jvm</artifactId>
247-
</exclusion>
248-
<exclusion>
249-
<groupId>com.github.joshelser</groupId>
250-
<artifactId>dropwizard-metrics-hadoop-metrics2-reporter</artifactId>
251-
</exclusion>
252-
<exclusion>
253-
<groupId>com.jolbox</groupId>
254-
<artifactId>bonecp</artifactId>
255-
</exclusion>
256-
<exclusion>
257-
<groupId>commons-dbcp</groupId>
258-
<artifactId>commons-dbcp</artifactId>
259-
</exclusion>
260-
<exclusion>
261-
<groupId>junit</groupId>
262-
<artifactId>junit</artifactId>
263-
</exclusion>
264-
</exclusions>
26548
</dependency>
26649

26750
<dependency>

infra/database/type/presto/pom.xml

-5
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@
2626
<artifactId>shardingsphere-infra-database-presto</artifactId>
2727
<name>${project.artifactId}</name>
2828

29-
<properties>
30-
<presto.version>0.282</presto.version>
31-
</properties>
32-
3329
<dependencies>
3430
<dependency>
3531
<groupId>org.apache.shardingsphere</groupId>
@@ -39,7 +35,6 @@
3935
<dependency>
4036
<groupId>com.facebook.presto</groupId>
4137
<artifactId>presto-jdbc</artifactId>
42-
<version>${presto.version}</version>
4338
<scope>runtime</scope>
4439
</dependency>
4540

0 commit comments

Comments
 (0)