Skip to content

Commit 07c32e7

Browse files
authored
Depend on s3 instead of the whole aws bundle (#892)
This change reduces the size of the binary distribution by about 400MB.
1 parent 8dce39f commit 07c32e7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

baremaps-geoparquet/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,9 @@
4545
<groupId>org.locationtech.proj4j</groupId>
4646
<artifactId>proj4j</artifactId>
4747
</dependency>
48+
<dependency>
49+
<groupId>software.amazon.awssdk</groupId>
50+
<artifactId>s3</artifactId>
51+
</dependency>
4852
</dependencies>
4953
</project>

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,12 @@ limitations under the License.
288288
<groupId>org.apache.hadoop</groupId>
289289
<artifactId>hadoop-aws</artifactId>
290290
<version>${version.lib.hadoop}</version>
291+
<exclusions>
292+
<exclusion>
293+
<groupId>software.amazon.awssdk</groupId>
294+
<artifactId>bundle</artifactId>
295+
</exclusion>
296+
</exclusions>
291297
</dependency>
292298
<dependency>
293299
<groupId>org.apache.hadoop</groupId>

0 commit comments

Comments
 (0)