viirya opened a new pull request, #60781:
URL: https://github.com/apache/spark/pull/60781

   ### What changes were proposed in this pull request?
   
   This PR changes the parent POM version in `graph/pom.xml` on `branch-4.x` 
from `5.0.0-SNAPSHOT` to `4.5.0-SNAPSHOT`.
   
   The `branch-4.x` backport of SPARK-61776 (bef378548dc, from #60612) added 
the `graph` module with master's parent version `5.0.0-SNAPSHOT`, but 
`branch-4.x` is `4.5.0-SNAPSHOT`.
   
   ### Why are the changes needed?
   
   The root `pom.xml` on `branch-4.x` includes the `graph` module, so Maven 
cannot build the project model:
   
   ```
   [FATAL] Non-resolvable parent POM for 
org.apache.spark:spark-graph_2.13:5.0.0-SNAPSHOT: ... Could not find artifact 
org.apache.spark:spark-parent_2.13:pom:5.0.0-SNAPSHOT and 'parent.relativePath' 
points at wrong local POM @ line 21, column 11
   ```
   
   Since that commit, the `branch-4.x` builds and every PR against `branch-4.x` 
(e.g. #60774) fail in Precompile, the Java 17/25 Maven builds, the dependency 
check and the documentation generation.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Ran `build/mvn -o -Dmaven.repo.local=<empty repo> validate` on `branch-4.x`. 
A clean local repository is needed because a local repository that has master's 
`spark-parent_2.13:5.0.0-SNAPSHOT` installed hides the problem. Without this 
change it fails with the `Non-resolvable parent POM` error above; with it, the 
error is gone. This PR's CI also checks it.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 5.5)
   
   This pull request and its description were written by Isaac.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to