You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2020/04/03 08:33:13 UTC
[flink] branch release-1.10 updated: [FLINK-16772][hive] Move derby
dependency to test scope
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch release-1.10
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.10 by this push:
new b34be66 [FLINK-16772][hive] Move derby dependency to test scope
b34be66 is described below
commit b34be6656e09fb837bd345322de18ff6f3bff27e
Author: Rui Li <li...@apache.org>
AuthorDate: Wed Apr 1 21:13:29 2020 +0800
[FLINK-16772][hive] Move derby dependency to test scope
---
flink-connectors/flink-connector-hive/pom.xml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/flink-connectors/flink-connector-hive/pom.xml b/flink-connectors/flink-connector-hive/pom.xml
index 5854775..28cbe3b 100644
--- a/flink-connectors/flink-connector-hive/pom.xml
+++ b/flink-connectors/flink-connector-hive/pom.xml
@@ -38,6 +38,7 @@ under the License.
<properties>
<hiverunner.version>4.0.0</hiverunner.version>
<reflections.version>0.9.8</reflections.version>
+ <derby.version>10.10.2.0</derby.version>
</properties>
<dependencies>
@@ -263,6 +264,10 @@ under the License.
<groupId>org.apache.parquet</groupId>
<artifactId>parquet-hadoop-bundle</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -666,6 +671,14 @@ under the License.
<scope>test</scope>
</dependency>
+ <!-- The derby we use suffers some security vulnerabilities. Explicitly set it to test scope here. -->
+ <dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>${derby.version}</version>
+ <scope>test</scope>
+ </dependency>
+
</dependencies>
<build>
@@ -731,6 +744,7 @@ under the License.
<hive.version>1.0.1</hive.version>
<hivemetastore.hadoop.version>2.6.5</hivemetastore.hadoop.version>
<hiverunner.version>3.1.1</hiverunner.version>
+ <derby.version>10.10.1.1</derby.version>
</properties>
</profile>
<profile>
@@ -740,6 +754,7 @@ under the License.
<hive.version>1.1.0</hive.version>
<hivemetastore.hadoop.version>2.6.5</hivemetastore.hadoop.version>
<hiverunner.version>3.1.1</hiverunner.version>
+ <derby.version>10.11.1.1</derby.version>
</properties>
</profile>
<profile>
@@ -785,6 +800,7 @@ under the License.
<id>hive-3.1.1</id>
<properties>
<hive.version>3.1.1</hive.version>
+ <derby.version>10.14.1.0</derby.version>
</properties>
</profile>