-
Notifications
You must be signed in to change notification settings - Fork 386
Add Maven Wrapper #849
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
Add Maven Wrapper #849
Conversation
|
What about line endings? Force LF for mvnw and CR-LF for mvnw.cmd on checkout via .gitattributes? Also we should ensure in the assembly project that these two files get the right line endings when archived. What line endings do the properties need? Will they work if it's LF-only on Windows? |
|
I'll look into the attributes stuff. As for the properties: I cannot test this on Windows but I have a similar setup on the QuickFIX/J project where the wrapper works fine in github actions on Linux and Windows. https://github.com/quickfix-j/quickfixj/blob/master/.github/workflows/maven.yml |
|
Works as intended on Windows in cmd.exe and in git bash; works well on Mac. Scripts have the correct line endings in the source archives produced in the assembly project. This look good. Please squash the commits into one, and give it a good commit message. Then this is ready to go in. Thanks a lot! |
Add mvnw scripts and ensure that they are included in the distribution. Ensure line endings are correct on Unix and Windows.
|
@tomaswolf could you please check if it is OK. Probably my last merge messed things up? |
Yes, it did :-) Just check-out your squash commit e82a9d3 and force-push it onto your chrjohn:mvn-wrapper branch (i.e., the mvn-wrapper branch in your fork). That should fix it: we should end up with this PR being updated and having only the single commit e82a9d3. The squash itself worked fine. |
|
Hmm, force pushing does not work, says working directory is clean. Will check again tomorrow...
|
|
Shall I do it? |
|
That would be great, thanks. :)
Message ID: ***@***.***>
|
55d44c8 to
e82a9d3
Compare
|
Done :-) |
Thank you. :) |
... to eliminate the need to install a specific Maven version locally.