github.com/SAP/cloud-mta-build-tool@v1.2.27/internal/commands/deprecated_builders.go (about) 1 package commands 2 3 import "github.com/SAP/cloud-mta-build-tool/internal/logs" 4 5 // List of deprecated builders 6 var deprecatedBuilders = map[string]string{"maven_deprecated": `the "maven_deprecated" builder is deprecated and will be removed on July 2021`} 7 8 func checkDeprecatedBuilder(builder string) { 9 warn := deprecatedBuilders[builder] 10 if warn != "" { 11 logs.Logger.Warn(warn) 12 } 13 }