quarkusio/quarkus

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

开放

#39,439 创建于 2024年3月14日

 (5 条评论) (0 个反应) (0 位负责人)Java (2,464 个派生)batch import
area/devtoolsgood first issuekind/enhancement

仓库指标

星标
 (12,967 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南