pratyakshsharma opened a new issue, #18294:
URL: https://github.com/apache/hudi/issues/18294

   ### Bug Description
   
   **What happened:** Tried building the codebase with `mvn clean install 
-DskipTests` and it fails with below error - 
   
   ```
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  02:36 min
   [INFO] Finished at: 2026-03-08T12:13:14+05:30
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal on project hudi-spark_2.12: Could not resolve 
dependencies for project org.apache.hudi:hudi-spark_2.12:jar:1.2.0-SNAPSHOT
   [ERROR] dependency: org.apache.hudi:hudi-spark3.5.x_2.12:jar:1.2.0-SNAPSHOT 
(compile)
   [ERROR]         Could not find artifact 
org.apache.hudi:hudi-spark3.5.x_2.12:jar:1.2.0-SNAPSHOT in confluent 
(https://packages.confluent.io/maven/)
   [ERROR]         Could not find artifact 
org.apache.hudi:hudi-spark3.5.x_2.12:jar:1.2.0-SNAPSHOT in apache.snapshots 
(https://repository.apache.org/snapshots)
   [ERROR] 
   [ERROR] -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <args> -rf :hudi-spark_2.12
   ```
   
   **What you expected:**
   Build should succeed
   
   **Steps to reproduce:**
   1. Pull latest master branch
   2. Set java version to java 17 - `export 
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home`
   3. run `mvn clean install -DskipTests`
   
   
   ### Environment
   
   **Hudi version:**
   **Query engine:** (Spark/Flink/Trino etc)
   **Relevant configs:**
   
   
   ### Logs and Stack Trace
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to