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

improvement(jib): allow using custom mvnd binaries #4695

Merged
merged 4 commits into from
Jun 23, 2023
Merged

Conversation

vvagaytsev
Copy link
Collaborator

@vvagaytsev vvagaytsev commented Jun 22, 2023

What this PR does / why we need it:
This is the continuation of #3458. @ishantagarwal-x213235 huge thanks for creating the original PR! The proper support for concurrent builds will be implemented in a separate PR. This one allow to use custom mvnd and does some refactoring to make the further development and maintenance easier.

Which issue(s) this PR fixes:

Special notes for your reviewer:
See individual commits for details.

@vvagaytsev vvagaytsev force-pushed the maven-locks branch 6 times, most recently from bdb9505 to 85b7044 Compare June 22, 2023 13:08
@vvagaytsev vvagaytsev changed the title improvement(jib): support concurrent builds in maven Some improvements and fixes for jib-container plugin Jun 22, 2023
@vvagaytsev vvagaytsev force-pushed the maven-locks branch 2 times, most recently from 6d94c23 to 8d89f6f Compare June 22, 2023 14:42
@vvagaytsev vvagaytsev requested a review from a team June 22, 2023 15:00
@vvagaytsev vvagaytsev marked this pull request as ready for review June 22, 2023 15:00
@vvagaytsev vvagaytsev changed the title Some improvements and fixes for jib-container plugin improvement(jib): allow custom mvnd and concurrent Maven builds Jun 22, 2023
@vvagaytsev vvagaytsev marked this pull request as draft June 23, 2023 09:39
@vvagaytsev vvagaytsev force-pushed the maven-locks branch 2 times, most recently from 0088629 to 4a2be53 Compare June 23, 2023 10:02
@vvagaytsev vvagaytsev marked this pull request as ready for review June 23, 2023 10:23
@vvagaytsev vvagaytsev marked this pull request as draft June 23, 2023 10:48
@vvagaytsev vvagaytsev changed the title improvement(jib): allow custom mvnd and concurrent Maven builds improvement(jib): allow using custom mvnd binaries Jun 23, 2023
@vvagaytsev vvagaytsev marked this pull request as ready for review June 23, 2023 11:08
Copy link
Contributor

@shumailxyz shumailxyz left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thank you so much. 💯

on a side note, i would suggest adding some tests as well for this.

@vvagaytsev
Copy link
Collaborator Author

Thanks, @shumailxyz! Testing the custom binary paths could be tricky. It requires some installation or downloading inside the test setup. We haven't test-covered any custom binary paths (Maven/Gradle/JDK) yet. I'll consider adding more tests in the next PR(s).

@vvagaytsev vvagaytsev merged commit f65f3bb into main Jun 23, 2023
@vvagaytsev vvagaytsev deleted the maven-locks branch June 23, 2023 12:30
@shumailxyz
Copy link
Contributor

shumailxyz commented Jun 23, 2023

Indeed that can be tricky. Let's add those separately and merge this.

Edit:
Just saw that it's merged already :)

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

Successfully merging this pull request may close these issues.

2 participants