Skip to content

Commit dc74e74

Browse files
authoredAug 15, 2024
fix: add Quarkus plugin deprecation (#153)
Signed-off-by: xstefank <[email protected]>
1 parent 250bd42 commit dc74e74

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎pkg/quarkus/v1beta/plugin.go

+7
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,10 @@ func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand { return &p.
6666

6767
// // GetEditSubcommand will return the subcommand which is responsible for editing the scaffold of the project
6868
// func (p Plugin) GetEditSubcommand() plugin.EditSubcommand { return &p.editSubcommand }
69+
70+
func (p Plugin) DeprecationWarning() string {
71+
return "This plugin is deprecated and will be eventually removed." +
72+
" It is recommended that you bootstrap your Quarkus-based operator with" +
73+
" the provided Quarkus tools as described in the bootstraping instructions -" +
74+
" https://github.com/quarkiverse/quarkus-operator-sdk?tab=readme-ov-file#bootstrapping-a-project."
75+
}

0 commit comments

Comments
 (0)