vaadin / quarkus

An extension to Quarkus to support Vaadin Flow
Apache License 2.0
28 stars 3 forks source link

Duplicate Metadata #160

Open simasch opened 1 month ago

simasch commented 1 month ago

The metadata for Quarkus is duplicated, and this causes to display the Vaadin extension in the Dev UI twice.

Both JARs contain the metadata:

com.vaadin:vaadin-quarkus-extension::jar:24.3.12 com.vaadin:vaadin-quarkus::jar:2.0.1

See https://github.com/quarkusio/quarkus/discussions/40701

mcollovati commented 1 month ago

Hi, thanks for reporting!

Actually, vaadin-quarkus-extension is a repackage of vaadin-quarkus with the addition of common Vaadin dependencies (e.g. vaadin-core) .

I am not sure if we will be able to "hide" one of the extension, but at list the name and description of vaadin-quarkus-extension could be changed to make it more evident that it is targeting Vaadin platform and not only Flow.

simasch commented 1 month ago

I don't understand why those are two extensions. There is only one, according to the directory.

mcollovati commented 1 month ago

In the directory, only vaadin-quarkus-extension is registered. The artifact depends on vaadin-quarkus and adds some additional dependencies and Quarkus code starts, but it has basically no Java stuff inside. So a project including vaadin-quarkus-extension is actually using both extensions.