quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.76k stars 2.68k forks source link

quarkus plug sync no longer removes plugins provided by extensions #43036

Closed iocanel closed 2 weeks ago

iocanel commented 1 month ago

Describe the bug

A CLI plugin that is added because via Quarkus extensions is not removed, even when the extension that added it was removed.

Expected behavior

The plugin should be removed as soon as the extension is removed.

Actual behavior

The plugin is not removed.

How to Reproduce?

In a blank project add an extension that provides a cli plugin (e.g. helm), verify that cli plugin is added, then remove the extension and call quarkus plug sync.

quarkus ext add helm
quarkus plug list
quarkus ext remove helm
quarkus plug sync
quarkus plug list

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

quarkus-bot[bot] commented 1 month ago

/cc @ebullient (cli), @maxandersen (cli)