Here we take scalac options etc. from the //plugin/configuration element in pom.xml. However, Maven has an option to override that configuration on a per-execution basis. This can be used, for example, to set different scalac options for compile and testCompile goals.