-
-
Notifications
You must be signed in to change notification settings - Fork 352
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
chore: Use native transport configuration for Maven in CI #5190
Conversation
Add system properties to Maven options to set the native dependency transport for Aether connector. This will improve the speed of dependency resolution by using the native transport layer over HTTP. Also, the request timeout and connection timeout are increased to 300,000 milliseconds in order to allow for slower networks.
Removed unnecessary Maven options in the test workflow configuration file. This will simplify the test runs and remove excess configuration code.
The removed env var
|
The changes made removed the MAVEN_OPTS environment variable from the test jobs in the workflow. This variable was previously set to a specific java version which is now not needed as it is inferred from the matrix configuration. Co-authored-by: I-Al-Istannen <[email protected]>
18b058a
to
746037a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran it twice without caches and once with them and it succeeded every time. That's a lot better than any other pipeline I've seen in the last ~two weeks.
If you merge this dont remove the coauthor during the squash. |
Was a nice ride with wagon. Let's hope the new HTTP native transport is better. |
Let's cross our fingers! Thanks :) |
replaces #5189 Somehow the GitHub API allows creating branches which destroy GitHub. Having a
/
leading your branch name is not the best idea.Had a lengthy discussion with @I-Al-Istannen and @SirYwell about our failing master and how to fix this. We concluded to switch to mavens new http transport and increase the timeout. This should reduce/remove the failing of mavens dependency resolution on master. The timeout is still set to a reasonable number, but we will monitor it closely and increase if we see we still need a large.
Add system properties to Maven options to set the native dependency transport for Aether connector. This will improve the speed of dependency resolution by using the native transport layer over HTTP. Also, the request timeout and connection timeout are increased to 300,000 milliseconds in order to allow for slower networks.