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

timbrown pushed a commit to branch explicit-scopes
in repository https://gitbox.apache.org/repos/asf/incubator-xtable.git

commit b3707efbc3085dbbca8dd36c5bf4516cba49126d
Author: Timothy Brown <[email protected]>
AuthorDate: Fri Oct 4 17:59:11 2024 -0500

    mirror parent dependency scopes in child poms
---
 xtable-api/pom.xml                                         | 4 ++++
 xtable-core/pom.xml                                        | 7 +++++++
 xtable-hudi-support/xtable-hudi-support-extensions/pom.xml | 7 +++++++
 xtable-hudi-support/xtable-hudi-support-utils/pom.xml      | 4 ++++
 xtable-utilities/pom.xml                                   | 1 +
 5 files changed, 23 insertions(+)

diff --git a/xtable-api/pom.xml b/xtable-api/pom.xml
index 02e356d5..9436b775 100644
--- a/xtable-api/pom.xml
+++ b/xtable-api/pom.xml
@@ -38,6 +38,7 @@
         <dependency>
             <groupId>org.apache.hadoop</groupId>
             <artifactId>hadoop-common</artifactId>
+            <scope>provided</scope>
         </dependency>
 
         <!-- Logging -->
@@ -64,14 +65,17 @@
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-api</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-params</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-engine</artifactId>
+            <scope>test</scope>
         </dependency>
 
         <!-- Mockito -->
diff --git a/xtable-core/pom.xml b/xtable-core/pom.xml
index 37e012d9..f277495e 100644
--- a/xtable-core/pom.xml
+++ b/xtable-core/pom.xml
@@ -101,12 +101,14 @@
         <dependency>
             <groupId>io.delta</groupId>
             <artifactId>delta-standalone_${scala.binary.version}</artifactId>
+            <scope>test</scope>
         </dependency>
 
         <!-- Hadoop dependencies -->
         <dependency>
             <groupId>org.apache.hadoop</groupId>
             <artifactId>hadoop-common</artifactId>
+            <scope>provided</scope>
         </dependency>
 
         <!-- Logging API -->
@@ -128,10 +130,12 @@
         <dependency>
             <groupId>org.apache.spark</groupId>
             <artifactId>spark-core_${scala.binary.version}</artifactId>
+            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.spark</groupId>
             <artifactId>spark-sql_${scala.binary.version}</artifactId>
+            <scope>provided</scope>
         </dependency>
 
         <!-- Mockito -->
@@ -145,14 +149,17 @@
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-api</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-params</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-engine</artifactId>
+            <scope>test</scope>
         </dependency>
 
         <!-- Test logging -->
diff --git a/xtable-hudi-support/xtable-hudi-support-extensions/pom.xml 
b/xtable-hudi-support/xtable-hudi-support-extensions/pom.xml
index 66f4aa4a..c657c50d 100644
--- a/xtable-hudi-support/xtable-hudi-support-extensions/pom.xml
+++ b/xtable-hudi-support/xtable-hudi-support-extensions/pom.xml
@@ -126,33 +126,40 @@
         <dependency>
             <groupId>com.esotericsoftware</groupId>
             <artifactId>kryo</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.spark</groupId>
             <artifactId>spark-core_${scala.binary.version}</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.spark</groupId>
             <artifactId>spark-sql_${scala.binary.version}</artifactId>
+            <scope>test</scope>
         </dependency>
 
         <!-- Junit -->
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-api</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-params</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-engine</artifactId>
+            <scope>test</scope>
         </dependency>
 
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>
+            <scope>test</scope>
         </dependency>
 
         <!-- Test logging -->
diff --git a/xtable-hudi-support/xtable-hudi-support-utils/pom.xml 
b/xtable-hudi-support/xtable-hudi-support-utils/pom.xml
index f2448722..e948ecbc 100644
--- a/xtable-hudi-support/xtable-hudi-support-utils/pom.xml
+++ b/xtable-hudi-support/xtable-hudi-support-utils/pom.xml
@@ -71,20 +71,24 @@
         <dependency>
             <groupId>com.esotericsoftware</groupId>
             <artifactId>kryo</artifactId>
+            <scope>test</scope>
         </dependency>
 
         <!-- Junit -->
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-api</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-params</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-engine</artifactId>
+            <scope>test</scope>
         </dependency>
     </dependencies>
 </project>
diff --git a/xtable-utilities/pom.xml b/xtable-utilities/pom.xml
index 245b047d..8191af3c 100644
--- a/xtable-utilities/pom.xml
+++ b/xtable-utilities/pom.xml
@@ -123,6 +123,7 @@
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-engine</artifactId>
+            <scope>test</scope>
         </dependency>
     </dependencies>
 

Reply via email to