-
Notifications
You must be signed in to change notification settings - Fork 176
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
vaadin-maven-plugin scans twice #21016
Comments
#19874 focused on the "Reflections took 1157" part. We can check if it is possible to share the |
Thanks, on our 'big' project the difference is a bit more noticeable: first time 7.7s and second time 4.4s
|
The upcoming Vaadin 24.6.6 release will contain one additional class scan improvement (#20978) You can already try it by pinning Flow to 24.6.6 (add the flow-bom before the vaadin-bom), or please kindly wait for the release and report back if you cannot see any improvement. |
Indeed, 24.6.6 seems to deliver a big improvement, that's great !
before:
|
Wouldn't this be solved by #20695 🤔 |
The double scan will be solved by #20695 only by disabling the license checking, that is not likely to be implemented. |
Description of the bug
A fresh app from start.vaadin.com gives this output:
-->
**[INFO] Visited 6509 classes. Took 3874 ms.**
**[INFO] Visited 6509 classes. Took 2704 ms.**
This was addressed in #19874 , but it seems to have come back?
Expected behavior
Class scanning occurs only once.
Minimal reproducible example
Helloworld from start.vaadin.com, with the streamlined vaadin-flow fixes https://vaadin.com/blog/streamlined-vaadin-flow-setup-for-v24.4
Versions
Latest helloworld from start.vaadin.com, Vaadin 24.6.5, spring-boot 3.4.2
The text was updated successfully, but these errors were encountered: