Error message:
Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:0.4.297:compile (compile) on project litepublish: Execution compile of goal org.jetbrains.kotlin:kotlin-maven-plugin:0.4.297:compile failed: Unable to load the mojo ‘compile’ in the plugin ‘org.jetbrains.kotlin:kotlin-maven-plugin:0.4.297’. A required class is missing: org/jetbrains/jet/cli/common/CLICompiler
It compiles when switch back to 0.4.68.
pom.xml:
``
<plugin>
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>
<version>${kotlin.version}</version>
<configuration>
<annotationPaths>
<annotationPath>annotations</annotationPath>
</annotationPaths>
</configuration>
<executions>
<execution>
<id>compile</id>
<phase>process-sources</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>test-compile</id>
<phase>process-test-sources</phase>
<goals>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
</plugin>
outersky