quarkusio/quarkus

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

Open

#39,439 opened on 2024年3月14日

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

説明

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

コントリビューターガイド