I finally found it here <https://github.com/JetBra...
# announcements
r
I finally found it here https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-maven-plugin/src/main/java/org/jetbrains/kotlin/maven/K2JVMCompileMojo.java#L61 Some documentation of both the kotlin maven plugin and it's source code would be nice...
Copy code
# Compile Kotlin
  - artifactId: kotlin-maven-plugin
    groupId: org.jetbrains.kotlin
    version: ${kotlin.version}
    configuration:
      jvmTarget: ${java.version}
    executions:
    - id: compile
      phase: process-sources
      goals: [compile]