diff --git a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/cli/plugin/PluginMangerState.java b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/cli/plugin/PluginMangerState.java index 9feccc033e1ce..c973ed066b01d 100644 --- a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/cli/plugin/PluginMangerState.java +++ b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/cli/plugin/PluginMangerState.java @@ -241,10 +241,17 @@ public Optional getProjectRoot() { return this.projectRoot; } + public void invalidateCatalogs() { + _projectCatalog = null; + _userCatalog = null; + _combinedCatalog = null; + } + public void invalidateInstalledPlugins() { _userPlugins = null; _projectPlugins = null; _installedPlugins = null; + invalidateCatalogs(); } public void invalidate() {