<2-staged compilation of Kotlin code with kotlin-m...
# stackoverflow
r
2-staged compilation of Kotlin code with kotlin-maven-plugin I have a Kotlin maven-based project, compiled with kotlin-maven-plugin. My project structure looks like following: +- src/gen/kotlin +- src/main/kotlin ... src/gen/kotlin contains sources that will generate other source files. src/main/kotlin contains main project sources. I want to run a 2-staged compilation during maven build: compile only the generator sources from src/gen/kotlin, presumably bound to process-sources phase. I will then use maven-exec-plugin to execute the compiled...