This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new b35bb5959 ORC-1566: Make Brotli dependency as optional
b35bb5959 is described below
commit b35bb5959ea90b47cd277b9260e365aece19650f
Author: William Hyun <[email protected]>
AuthorDate: Wed Jan 3 00:44:56 2024 -0800
ORC-1566: Make Brotli dependency as optional
### What changes were proposed in this pull request?
This PR aims to make the Brotli dependency as optional.
### Why are the changes needed?
Brotli is not required when Brotli codec is not used.
### How was this patch tested?
Pass the CIs.
Closes #1721 from williamhyun/brotli.
Authored-by: William Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
java/pom.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/java/pom.xml b/java/pom.xml
index b3ef97772..fbbf30902 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -207,6 +207,7 @@
<groupId>com.aayushatharva.brotli4j</groupId>
<artifactId>brotli4j</artifactId>
<version>${brotli4j.version}</version>
+ <optional>true</optional>
</dependency>
<!-- test inter-project -->