quarkusio/quarkus

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

Open

#39,439 建立於 2024年3月14日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)Java (12,967 star) (2,464 fork)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

貢獻者指南

Add a property for the version when creating a project with a non-platform extension · quarkusio/quarkus#39439 | Good First Issue