-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Native image gets generated even when all classes are unchanged / up to date #5588
Comments
For the record - the fact that no class has changed does not imply that the native image generation should be skipped - for example you can add extesions, change the configuration, resource files, etc. It's possible to skip the native image manually. Which is not very practical but sometimes it could be useful ;-)
|
dev mode can detect these things, standard quarkus build could leverage these capabilities too
I'd rather have |
I don’t see how that could become a priority anytime soon.
… Le 19 nov. 2019 à 17:00, Rostislav Svoboda ***@***.***> a écrit :
you can add extesions, change the configuration, resource files
dev mode can detect these things, standard quarkus build could leverage these capabilities too
workaround with failsafe
I'd rather have mvn verify -Dquarkus.native.skip-build=true for better out-of-the-box experience
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I think #5609 addresses this quite well Native image gets built only once when following commands are used
|
Native image gets generated even when all classes unchanged / are up to date
maven-compiler-plugin detects that case, quarkus-maven-plugin always runs the build
Discussed in https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/skip.20native.20%28re%29build.2C.20run.20just.20test/near/181113795
The text was updated successfully, but these errors were encountered: