79305563

Date: 2024-12-24 12:19:04
Score: 0.5
Natty:
Report link

When adding an extension using the Quarkus CLI, if you run quarkus extension add <extension> in the deployment module, it will add the runtime dependency by default, not the deployment one. To add the corresponding deployment dependency, you'll need to add it manually in your deployment module’s pom.xml.

For example, add the following to the pom.xml of the deployment module:

<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-rest-openapi-deployment</artifactId>
    <scope>provided</scope>
</dependency>

Currently, there is no Quarkus CLI command that automatically adds deployment dependencies, so this step must be done manually.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When addin
  • Low reputation (1):
Posted by: Max Culley