question: protected static void overrideTemplateParameters ( Template template , MavenProject project , Logger log ) { List < io . fabric8 . openshift . api . model . Parameter > parameters = template . getParameters ( ) ; if ( parameters != null && project != null ) { Properties properties = getProjectAndFabric8Properties ( project ) ; boolean missingProperty = false ; for ( io . fabric8 . openshift . api . model . Parameter parameter : parameters ) { String parameterName = parameter . getName ( ) ; String name = "fabric8.apply." + parameterName ; String propertyValue = properties . getProperty ( name ) ; if ( propertyValue != null ) { log . info ( "Overriding template parameter " + name + " with value: " + propertyValue ) ; parameter . setValue ( propertyValue ) ; } else { missingProperty = true ; log . info ( "No property defined for template parameter: " + name ) ; } } if ( missingProperty ) { log . debug ( "Current properties " + new TreeSet < > ( properties . keySet ( ) ) ) ; } } }
target:  Before applying the given template lets allow template parameters to be overridden via the maven properties - or optionally - via the command line if in interactive mode.