Skip to content

Conversation

@cnauroth
Copy link
Contributor

What changes were proposed in this pull request?

Spark currently uses Apache parent pom 18. This is a proposed upgrade to the latest version, which is 33.

Why are the changes needed?

Spark has not updated the parent pom since SPARK-22511 8 years ago. The full delta is visible here:

apache/maven-apache-parent@apache-18...apache-33

Summary of notable changes:

  • MPOM-118: Enforce strong GPG signatures by default
  • MPOM-225: add ASF snapshots repository to pluginRepositories
  • MPOM-260: Configure Maven Javadoc Plugin for more reproducible builds
  • MPOM-287: Disable m2e warning for m-remote-resource-p
  • MPOM-378: Using an SPDX identifier as the license name is recommended by Maven
  • MPOM-486: Enable autoVersionSubmodules for maven-release-plugin
  • Version management and upgrades for various Maven plugins. For the most part, Spark was already managing these plugins to versions equal to or greater than the parent pom. The one exception is maven-jar-plugin, which I've upgraded to match the parent.

Does this PR introduce any user-facing change?

No, this does not introduce changes to user-facing Spark functionality. Version updates will be visible to developers.

How was this patch tested?

Local mvn build with the new parent pom succeeds. I also verified elapsed time for a full build is approximately the same before and after, because maven-jar-plugin has occasionally had performance regressions in the past.

Was this patch authored or co-authored using generative AI tooling?

No.

### What changes were proposed in this pull request?

Spark currently uses Apache parent pom 18. This is a proposed upgrade to the latest version, which is 33.

### Why are the changes needed?

Spark has not updated the parent pom since [SPARK-22511](https://issues.apache.org/jira/browse/SPARK-22511) 8 years ago. The full delta is visible here:

apache/maven-apache-parent@apache-18...apache-33

Summary of notable changes:
* [MPOM-118](https://issues.apache.org/jira/browse/MPOM-118): Enforce strong GPG signatures by default
* [MPOM-225](https://issues.apache.org/jira/browse/MPOM-225): add ASF snapshots repository to pluginRepositories
* [MPOM-260](https://issues.apache.org/jira/browse/MPOM-260): Configure Maven Javadoc Plugin for more reproducible builds
* [MPOM-287](https://issues.apache.org/jira/browse/MPOM-287): Disable m2e warning for m-remote-resource-p
* [MPOM-378](https://issues.apache.org/jira/browse/MPOM-378): Using an SPDX identifier as the license name is recommended by Maven
* [MPOM-486](https://issues.apache.org/jira/browse/MPOM-486): Enable autoVersionSubmodules for maven-release-plugin
* Version management and upgrades for various Maven plugins. For the most part, Spark was already managing these plugins to versions equal to or greater than the parent pom. The one exception is maven-jar-plugin, which I've upgraded to match the parent.

### Does this PR introduce _any_ user-facing change?

No, this does not introduce changes to user-facing Spark functionality. Version updates will be visible to developers.

### How was this patch tested?

Local `mvn` build with the new parent pom succeeds. I also verified elapsed time for a full build is approximately the same before and after, because maven-jar-plugin has occasionally had performance regressions in the past.

### Was this patch authored or co-authored using generative AI tooling?

No.
@github-actions github-actions bot added the BUILD label Mar 12, 2025
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Thank you, @cnauroth .
Merged to master for Apache Spark 4.1.0.

@cnauroth
Copy link
Contributor Author

I appreciate it. Thank you, @dongjoon-hyun !

@cnauroth cnauroth deleted the SPARK-51494 branch March 13, 2025 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants