This is an automated email from the ASF dual-hosted git repository.

bchapuis pushed a commit to branch exclude-aws-bundle
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git

commit 32b41f82d01364d6c3932b2cedbd01b07fe7c485
Author: Bertil Chapuis <[email protected]>
AuthorDate: Fri Sep 6 10:58:47 2024 +0200

    Depend on s3 instead of the whole aws bundle
    
    This change reduces the size of the binary distribution by about 400MB.
---
 baremaps-geoparquet/pom.xml | 4 ++++
 pom.xml                     | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/baremaps-geoparquet/pom.xml b/baremaps-geoparquet/pom.xml
index 463cb131..6323d207 100644
--- a/baremaps-geoparquet/pom.xml
+++ b/baremaps-geoparquet/pom.xml
@@ -45,5 +45,9 @@
       <groupId>org.locationtech.proj4j</groupId>
       <artifactId>proj4j</artifactId>
     </dependency>
+    <dependency>
+      <groupId>software.amazon.awssdk</groupId>
+      <artifactId>s3</artifactId>
+    </dependency>
   </dependencies>
 </project>
diff --git a/pom.xml b/pom.xml
index 67dbdf64..882b1269 100644
--- a/pom.xml
+++ b/pom.xml
@@ -288,6 +288,12 @@ limitations under the License.
         <groupId>org.apache.hadoop</groupId>
         <artifactId>hadoop-aws</artifactId>
         <version>${version.lib.hadoop}</version>
+        <exclusions>
+          <exclusion>
+            <groupId>software.amazon.awssdk</groupId>
+            <artifactId>bundle</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       <dependency>
         <groupId>org.apache.hadoop</groupId>

Reply via email to