-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Reuse compiler configuration in quarkus:dev #6894
Conversation
@DenisKipchakbaev can you build this PR locally and confirm that it works for you? |
yes, I'll try it. Thanks! |
I've tried it and it seems OK!
Also used quarkus-bom instead of quarkus-universe-bom, because it's not building with this version.
Seems OK to me |
@DenisKipchakbaev yes, thank you very much for verifying. BTW you can also use |
I also did the same and it is working for me also. Thanks @gastaldi! Good job! |
Thank you @wedamartinez! @gsmet feel free to review the PR when possible |
Now that I think better, the best is to leave as is and remove the todo
message.
Setting an explicit source/target will have a different behavior than using
mvn compile,therefore it is correct to assume an empty configuration here.
Need to check on multimodule projects though
Em Qui, 30 de jan de 2020 16:17, Guillaume Smet <notifications@github.com>
escreveu:
… ***@***.**** commented on this pull request.
------------------------------
In devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java
<#6894 (comment)>:
> @@ -266,13 +266,18 @@ public void execute() throws MojoFailureException, MojoExecutionException {
if (plugin == null) {
throw new MojoExecutionException("Failed to locate " + key + " among the project plugins");
}
+ Xpp3Dom configuration = (Xpp3Dom) plugin.getConfiguration();
+ if (configuration == null) {
+ // TODO: Set sources and target to supported version
Should we keep this TODO or do it right away?
I think I would go with 8 for now and upgrade to 11 as soon as we drop 8.
WDYT?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6894?email_source=notifications&email_token=AAANG5P6BTVCVZBTADDZQ43RAMRTFA5CNFSM4KNYYMYKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCTWP6OQ#pullrequestreview-351076154>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAANG5J57IG3MRXDCNMXJKLRAMRTFANCNFSM4KNYYMYA>
.
|
Nice work! I agree we probably shouldn't set the source/target |
OK, let's try to get this in by tomorrow. I would really like to have that one in the Alpha1 we will release early next week. |
I removed the TODO message. It should be ok now |
Woot! |
Thank you guys for a great job! |
Fixes #6881