You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by vo...@apache.org on 2019/12/17 12:48:28 UTC
[drill] 05/12: DRILL-7474: Reduce size of Drill's tar.gz file
This is an automated email from the ASF dual-hosted git repository.
volodymyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git
commit 64bb383bc1551e8d1bf1999f7ab19125a41d38fd
Author: Anton Gozhiy <an...@gmail.com>
AuthorDate: Tue Dec 10 20:35:13 2019 +0200
DRILL-7474: Reduce size of Drill's tar.gz file
- Excluded aws-java-sdk-bundle dependency, only required aws libraries added instead.
- Cleared format-excel module from unused dependencies.
closes #1926
---
contrib/format-excel/pom.xml | 15 ---------------
distribution/pom.xml | 33 +++++++++++++++++++++++++++++++++
pom.xml | 12 ------------
3 files changed, 33 insertions(+), 27 deletions(-)
diff --git a/contrib/format-excel/pom.xml b/contrib/format-excel/pom.xml
index 0b6d1db..1ee182a 100644
--- a/contrib/format-excel/pom.xml
+++ b/contrib/format-excel/pom.xml
@@ -50,21 +50,6 @@
<artifactId>poi-ooxml</artifactId>
<version>${poi.version}</version>
</dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml-schemas</artifactId>
- <version>${poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-scratchpad</artifactId>
- <version>${poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>ooxml-schemas</artifactId>
- <version>1.4</version>
- </dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.apache.drill.exec</groupId>
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 2c80d4b..485922a 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -30,6 +30,9 @@
<packaging>pom</packaging>
<name>Packaging and Distribution Assembly</name>
+ <properties>
+ <aws.java.sdk.version>1.11.375</aws.java.sdk.version>
+ </properties>
<dependencies>
<dependency>
@@ -106,9 +109,39 @@
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.amazonaws</groupId>
+ <artifactId>aws-java-sdk-bundle</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>com.amazonaws</groupId>
+ <artifactId>aws-java-sdk-core</artifactId>
+ <version>${aws.java.sdk.version}</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
+ <groupId>com.amazonaws</groupId>
+ <artifactId>aws-java-sdk-dynamodb</artifactId>
+ <version>${aws.java.sdk.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.amazonaws</groupId>
+ <artifactId>aws-java-sdk-sts</artifactId>
+ <version>${aws.java.sdk.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.amazonaws</groupId>
+ <artifactId>aws-java-sdk-s3</artifactId>
+ <version>${aws.java.sdk.version}</version>
+ </dependency>
+ <dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
<exclusions>
diff --git a/pom.xml b/pom.xml
index 8b2c132..3b90251 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1194,18 +1194,6 @@
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-aws</artifactId>
- <version>${hadoop.version}</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-api</artifactId>
<version>${hadoop.version}</version>
<scope>test</scope>