-
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
Refactor and Introduce ExtensionManager in CodeGen #9787
Refactor and Introduce ExtensionManager in CodeGen #9787
Conversation
69e427b
to
4e3abc3
Compare
4e3abc3
to
56e060f
Compare
I need to seperate the moving from the modification to make it easier to review.. |
56e060f
to
256650b
Compare
...cts/tools/common/src/main/java/io/quarkus/devtools/project/extensions/ExtensionsManager.java
Outdated
Show resolved
Hide resolved
256650b
to
9d4b455
Compare
This change impacts #9593, I'll wait until this is merged to proceed |
@stalep I think it will probably affect the classes formerly known as |
@ia3andy sure, I'll be refining the registry descriptor API meanwhile 😉 |
No problem, I just promised @maxandersen I would do a PR today :) |
@stalep do open the pr - better to have and then we can help rebase and get early feedback started. |
devtools/gradle/src/main/java/io/quarkus/gradle/GradleBuildFileFromConnector.java
Show resolved
Hide resolved
devtools/gradle/src/main/java/io/quarkus/gradle/tasks/QuarkusPlatformTask.java
Outdated
Show resolved
Hide resolved
...tools/common/src/main/java/io/quarkus/devtools/commands/handlers/QuarkusCommandHandlers.java
Outdated
Show resolved
Hide resolved
I made modifications as discussed, I need to fix all the tests, I am going to push later in the afternoon.. |
81aca5c
to
e185272
Compare
...ects/tools/common/src/main/java/io/quarkus/devtools/project/extensions/ExtensionManager.java
Outdated
Show resolved
Hide resolved
...ects/tools/common/src/main/java/io/quarkus/devtools/project/extensions/ExtensionManager.java
Outdated
Show resolved
Hide resolved
...ects/tools/common/src/main/java/io/quarkus/devtools/project/extensions/ExtensionManager.java
Show resolved
Hide resolved
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.
Looks good, but the PR needs to be squashed before merged
independent-projects/tools/common/src/main/java/io/quarkus/devtools/commands/AddExtensions.java
Outdated
Show resolved
Hide resolved
...ent-projects/tools/common/src/main/java/io/quarkus/devtools/project/buildfile/BuildFile.java
Outdated
Show resolved
Hide resolved
...tools/common/src/main/java/io/quarkus/devtools/project/codegen/writer/FileProjectWriter.java
Show resolved
Hide resolved
...tools/common/src/main/java/io/quarkus/devtools/project/codegen/writer/FileProjectWriter.java
Outdated
Show resolved
Hide resolved
@gastaldi I am waiting to see if CI passes then I'll merge your changes (probably tomorrow).. cheers |
244b9e9
to
036f5cd
Compare
@gastaldi changes applied (even the |
036f5cd
to
f978718
Compare
I am trying to figure out why CI is failing (and giving me headaches) |
This is part of quarkusio#8178 - Improved packages names and content - Improved general readability and consistency - Added ExtensionManager to define a high level way of managing (read/write) extensions in any QuarkusProject - Removed most unsafe Gradle operations which were outside of the Gradle plugin (we need to figure out a way to improve the "generic" gradle support to make it compatible again..) - Removed existing project support with the create command (throws an error) -> quarkusio#9875 - Removed compatibility with project without the Quarkus platform bom defined - Remove SetupIT which mostly duplicate CreateProjectMojoIT
f978718
to
97f9981
Compare
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.
I haven't reviewed this in full depth thus I don't feel right to explictily approve it but @gastaldi and @aloubyansky seem on top of it; but overall looks as good cleanup and I didn't spot anything alarming.
Just check if mvn io.quarkus:quarkus-maven-plugin:1.5.0.Final:create --platformGroupId=xxx --platformArtifactid=xxx --platformVersion=xxx
where xxx is pointing to this version of built quarkus platform.
If need deeper review let me know :)
@gsmet can we merge without JDK14 tests passing? |
@maxandersen I just tested it and it works fine: mvn io.quarkus:quarkus-maven-plugin:1.5.0.Final:create -DprojectArtifactId="test-compat" "-DplatformArtifactId=quarkus-bom" "-DplatformVersion=999-SNAPSHOT" -Dextensions="rest-client, resteasy-jsonb, logging-sentry" |
This PR is to make code.quarkus ready for the codegen changes: - quarkusio/quarkus#9787 - quarkusio/quarkus#9953
This PR is to make code.quarkus ready for the codegen changes: - quarkusio/quarkus#9787 - quarkusio/quarkus#9953
This PR is to make code.quarkus ready for the codegen changes: - quarkusio/quarkus#9787 - quarkusio/quarkus#9953
This is part of #8178