quarkusio/quarkus

Add a property for the version when creating a project with a non-platform extension

Open

#39439 opened on Mar 14, 2024

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Java (12,967 stars) (2,464 forks)batch import
area/devtoolsgood first issuekind/enhancement

Description

Description

Currently when adding a non-platform extension, the version is hard-coded:

<dependency>
      <groupId>io.quarkiverse.web-bundler</groupId>
      <artifactId>quarkus-web-bundler</artifactId>
      <version>1.3.1</version>
    </dependency>

It would be nice to have the version as a property instead:

...
<properties>
    ....
    <quarkus-web-bundler.version>1.3.0</quarkus-web-bundler.version>
</properties>
...
<dependency>
      <groupId>io.quarkiverse.web-bundler</groupId>
      <artifactId>quarkus-web-bundler</artifactId>
      <version>${quarkus-web-bundler.version}</version>
    </dependency>

I guess this could also be done when adding an extension on an existing project.

Implementation ideas

No response

Contributor guide