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

dongjoon pushed a commit to branch branch-1.8
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.8 by this push:
     new a4f49bd2d ORC-1270: Move opencsv dependency to the tools module
a4f49bd2d is described below

commit a4f49bd2d848efe4b3a7fedb17c05171313ecb4f
Author: William Hyun <[email protected]>
AuthorDate: Tue Sep 13 08:49:18 2022 -0700

    ORC-1270: Move opencsv dependency to the tools module
    
    ### What changes were proposed in this pull request?
    This PR aims to move the `opencsv` dependency to the tools module.
    
    ### Why are the changes needed?
    `opencsv` is used only by the tools module.
    
    ### How was this patch tested?
    Pass the CIs.
    
    Closes #1251 from williamhyun/moveopencsv.
    
    Authored-by: William Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 03149db6f077e82d4a8e4641720830e8e5e0b27b)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 java/pom.xml       | 11 -----------
 java/tools/pom.xml |  7 +++++++
 2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/java/pom.xml b/java/pom.xml
index 4ce2547aa..d72e1a625 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -630,17 +630,6 @@
         <artifactId>protobuf-java</artifactId>
         <version>3.17.3</version>
       </dependency>
-      <dependency>
-        <groupId>com.opencsv</groupId>
-        <artifactId>opencsv</artifactId>
-        <version>5.6</version>
-        <exclusions>
-          <exclusion>
-            <groupId>commons-beanutils</groupId>
-            <artifactId>commons-beanutils</artifactId>
-          </exclusion>
-        </exclusions>
-      </dependency>
       <dependency>
         <groupId>commons-cli</groupId>
         <artifactId>commons-cli</artifactId>
diff --git a/java/tools/pom.xml b/java/tools/pom.xml
index aafe658d0..28d9827c5 100644
--- a/java/tools/pom.xml
+++ b/java/tools/pom.xml
@@ -49,6 +49,13 @@
     <dependency>
       <groupId>com.opencsv</groupId>
       <artifactId>opencsv</artifactId>
+      <version>5.6</version>
+      <exclusions>
+        <exclusion>
+          <groupId>commons-beanutils</groupId>
+          <artifactId>commons-beanutils</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>commons-cli</groupId>

Reply via email to