-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Introduce requires-quarkus-core
extension metadata
#41908
Conversation
This comment has been minimized.
This comment has been minimized.
@gastaldi thanks, could you please also update https://quarkus.io/guides/extension-metadata? |
59e3514
to
7c23286
Compare
@aloubyansky thanks, pushed the changes in the adoc. Let me know if that works |
remind me, quarkus-extension.properties is 100% generated right? can it derive it from the descriptor? |
<4> Description that can be displayed to users. In this case, the description was copied from the `pom.xml` of the extension module but it could also be provided in the template file. | ||
<5> The source code repository of this extension. Optional, and will often be set automatically using the `<scm>` information in the pom. In GitHub Actions builds, it will be inferred from the CI environment. For other GitHub repositories, it can be controlled by setting a `GITHUB_REPOSITORY` environment variable. | ||
<6> The sponsor(s) of this extension. Optional, and will sometimes be determined automatically from commit history. | ||
<2> Quarkus version compatibility range. It could also be provided in the template file. |
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.
its optional, right? so does it default to [built-with-quarks-core,)' or
[built-with-quarkus-core]`?
and can one include .z (i.e. 3.8.12) if one need ?
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.
Yes, it's optional and will use the built-with-quarkus-core
's [major.minor,)
if not provided.
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.
should document that.
btw. what is "template file" ?
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.
btw. what is "template file" ?
It's explained in the beginning:
The extra information could be provided
in a templateMETA-INF/quarkus-extension.yaml
found in the extension runtime module's resources directory
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.
ah okey, but its not just in template file you could have it - also build properties in pom.xml / gradle can influence it afaik. I would just leave it out here as it applies to any of the properties in here that it gets taken from from build properties if not explicitly state in here.
This comment has been minimized.
This comment has been minimized.
@aloubyansky so you're saying that I need to propagate these changes to |
No, the same maven plugin goal generates the properties file, so it could be added there as well, assuming we want to perform this check as part of the build |
7c23286
to
325beb2
Compare
quarkus-core-compatibility
extension metadatarequires-quarkus-core
extension metadata
325beb2
to
8de00bd
Compare
I've renamed to |
This introduces a `requires-quarkus-core` metadata declaring the required Quarkus Core version range in the extension YAML descriptor.
8de00bd
to
da47093
Compare
Status for workflow
|
Status for workflow
|
🙈 The PR is closed and the preview is expired. |
This introduces a
requires-quarkus-core
metadata declaring the required Quarkus Core version range in the extension YAML descriptor.