From 56c29273ae729c48b54bb11bc0dca975b57f4b49 Mon Sep 17 00:00:00 2001 From: xstefank Date: Thu, 15 Aug 2024 11:36:13 +0200 Subject: [PATCH] fix: add Quarkus plugin deprecation Signed-off-by: xstefank --- pkg/quarkus/v1beta/plugin.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/quarkus/v1beta/plugin.go b/pkg/quarkus/v1beta/plugin.go index dca97ea..40804b5 100644 --- a/pkg/quarkus/v1beta/plugin.go +++ b/pkg/quarkus/v1beta/plugin.go @@ -66,3 +66,10 @@ func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand { return &p. // // GetEditSubcommand will return the subcommand which is responsible for editing the scaffold of the project // func (p Plugin) GetEditSubcommand() plugin.EditSubcommand { return &p.editSubcommand } + +func (p Plugin) DeprecationWarning() string { + return "This plugin is deprecated and will be eventually removed." + + " It is recommended that you bootstrap your Quarkus-based operator with" + + " the provided Quarkus tools as described in the bootstraping instructions -" + + " https://github.com/quarkiverse/quarkus-operator-sdk?tab=readme-ov-file#bootstrapping-a-project." +}