Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-45111][BUILD] Upgrade maven to 3.9.4 #42827

Closed
wants to merge 5 commits into from

Conversation

LuciferYang
Copy link
Contributor

@LuciferYang LuciferYang commented Sep 6, 2023

What changes were proposed in this pull request?

This PR aims to upgrade Maven to 3.8.8 from 3.9.4.

Why are the changes needed?

The new version lift JDK minimum to JDK 8 and make the build work on JDK 20 . It also brings a series of bug fixes, such as Fix deadlock during forked lifecycle executions, along with a number of new optimizations like Profile activation by packaging. On the other hand, the new version replaces 'Wagon' with 'native http' as the new Maven Resolver transport, coupled with a range of targeted performance enhancements(See the upgrades related to Maven Resolver).

For other updates, refer to the corresponding release notes:

Does this PR introduce any user-facing change?

No

How was this patch tested?

  • Pass GitHub Actions
  • Manual test :

run build/mvn -version wll trigger download apache-maven-3.9.4-bin.tar.gz

exec: curl --silent --show-error -L https://www.apache.org/dyn/closer.lua/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz?action=download

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

No

@LuciferYang LuciferYang marked this pull request as draft September 6, 2023 04:26
@dongjoon-hyun
Copy link
Member

So, is it good, @LuciferYang ?

@srowen
Copy link
Member

srowen commented Sep 8, 2023

LGTM

@LuciferYang LuciferYang changed the title [BUILD] Test build with maven 3.9.4 [SPARK-45111][BUILD] Upgrade maven to 3.9.4 Sep 10, 2023
@LuciferYang
Copy link
Contributor Author

Seems this version is okay, but let me run more tests just to be sure. @dongjoon-hyun @srowen

@LuciferYang LuciferYang marked this pull request as ready for review September 11, 2023 02:58
@LuciferYang
Copy link
Contributor Author

I think this one is ready to go

@srowen
Copy link
Member

srowen commented Sep 11, 2023

Merged to master

@srowen srowen closed this in 169aa4b Sep 11, 2023
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.

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.

BTW, for the record, Maven has been working with Java 21-ea already.

The JIRA mentioned in this PR is about adding Java 20 to GitHub Action Java matrix and to adjust their test code, TestRepositoryConnector.java. Given that, there was no actual issues to the Java 20+ users.

@LuciferYang
Copy link
Contributor Author

Thanks @srowen
Thanks for your correction. @dongjoon-hyun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants