-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
GH-2952: Add maven wrapper #2953
Conversation
As a next step (please let me know if that should be within this PR) I was planning to update all |
This looks nice. However, my concern is the maintenance burden of the new script. @julienledem @gszadovszky WDYT? |
Missing mvnw.cmd |
@wgtmac typically this script doesn't require any maintenance and will be updated automatically when updating the underlying maven version through the wrapper. That doesn't mean that every maven version bump requires an updated script, just that the wrapper task will update the script if necessary |
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 think this is nice, but I'll leave this open for others to chime in as well 👍
# ---------------------------------------------------------------------------- | ||
|
||
# ---------------------------------------------------------------------------- | ||
# Apache Maven Wrapper startup batch script, version 3.3.2 |
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.
Is it copied from somewhere else? It would be good if a link is provided so we can keep it updated.
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.
no, it's being generated and will be automatically updated (if necessary) when updating the underlying maven version of the wrapper
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.
if you run mvn wrapper:wrapper
against master
you'll get the same scripts generated
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.
LGTM
Thanks @nastra!
* apacheGH-2952: Add maven wrapper * Update mvn references to ./mvnw
Rationale for this change
Having a maven wrapper in the project removes the burden for users to have maven installed on their system.
The wrapper was added by running
mvn wrapper:wrapper
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?