-
Notifications
You must be signed in to change notification settings - Fork 41k
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
Update Maven spring-boot:run to launch JVM with flags to enable development-time optimisations #16941
Conversation
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.
Thanks for the PR. I think that the new optimizedLaunch
property should be in RunMojo
rather than AbstractRunMojo
. This will mean that it only affects the run
goal which is used during development and does not affect the start
goal which is used for integration testing with Failsafe. The additional arguments can then be added in runWithForkedJvm
. If you agree, would you like to update your PR accordingly?
@wilkinsona Thank you for the feedback. I have updated the PR with suggestions. Please review when you have time and suggest if there is anything I missed or should have done in a better way. Thanks a lot. |
I see that it's failing because of the format, fixing it, will push in few minutes. |
Interesting to see that that |
* pr/16941: Polish "Default to optimized launch of the JVM when using spring-boot:run" Default to optimized launch of the JVM when using spring-boot:run
@dosdebug thank you for making your first contribution to Spring Boot. This is now merged in @wilkinsona I didn't notice you were assigned until I had everything ready to go, hope there isn't any wasted effort there. |
No problem, @snicoll. I hadn't started work on merging it. I've just reverted the issue's title back to the one is used earlier which aligns it with the corresponding issue for Gradle. |
Fix for #16222