My parent pom specified build.sourceDirectory
to dir1
. I want to define an execution
of kotlin-maven-plugin
that only compiles files in dir2
. How can I achieve that?
I found that whatever I specify in execution.configuration.sourceDirs
gets appended to build.sourceDirectory
but couldn’t find the way to override it.