quarkusio/quarkus

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

オープン

#39,439 opened on 2024/03/14

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)Java (2,464 件のフォーク)batch import
area/devtoolsgood first issuekind/enhancement

Repository metrics

Stars
 (12,967 個のスター)
PR merge metrics
 (平均マージ 6d 4h) (30d で 325 merged PRs)

説明

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

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