Kotlin-maven-plugin 0.4.297 broken?

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

Could not reproduce it. Please, show an entire pom with this problem.

Have you tried to clean local maven repository ~/.m2/org/jetbrains ?

Yes , I deleted the whole org/jetbrain/kotlin directory, and retried with no lucky.

``

mac:tmp tony$ java -version
java version “1.6.0_37”
Java™ SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot™ 64-Bit Server VM (build 20.12-b01-434, mixed mode)

OS: mac osx  10.8.2 .



error.txt.zip (1.94 KB)

pom.xml (3.89 KB)

attached the whole maven log.



[error.txt.zip|attachment](upload://x1obyxHPpDxUdaPsDZ4Gb3UyCHY.zip) (6.37 KB)

Resolved!

http://repository.jetbrains.com/all/org/jetbrains/kotlin/kotlin-compiler/0.4.297/kotlin-compiler-0.4.297.jar��   is not completly downloaded!  DAMN IT.

That was a point to clean local maven repository