Open jorgheymans opened 2 weeks ago
The main reason for that is that prepare-frontend
and build-frontend
can run on different phases, so having different "class path".
ClassFinder
is now per mojo instances
We can check if it is possible to cache per execution phase.
~Another thing that should be investigated is why build-frontend
is reported twice~
Never mind. The additional ClassFinder
is because of the configure
goal
Description of the bug
Even though https://github.com/vaadin/flow/issues/19874 greatly improved things, each invocation of the vaadin maven plugin seems to still scan the classpath - according to the log output:
Expected behavior
Ideally the classpath is scanned only once
Minimal reproducible example
A normal maven build of any vaadin project
Versions
Vaadin 24.5.2