# Kotlin-maven-plugin 0.4.297 broken?

**URL:** <https://discuss.kotlinlang.org/t/kotlin-maven-plugin-0-4-297-broken/972>\
**Category:** Uncategorized\
**Created:** [December 18, 2012, 9:13am UTC](https://discuss.kotlinlang.org/t/kotlin-maven-plugin-0-4-297-broken/972 "2012-12-18T09:13:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![outersky](https://avatars.discourse-cdn.com/v4/letter/o/7bcc69/32.png) [@outersky](https://discuss.kotlinlang.org/u/outersky)\
**Post date:** [December 18, 2012, 9:13am UTC](https://discuss.kotlinlang.org/t/kotlin-maven-plugin-0-4-297-broken/972/1 "2012-12-18T09:13:59Z")

</div>

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:

``

```kotlin
           <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

---

<div class="post-metadata">

**Author:** ![shalupov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/shalupov/32/1589_2.png) [@shalupov](https://discuss.kotlinlang.org/u/shalupov)\
**Post date:** [December 18, 2012, 11:00am UTC](https://discuss.kotlinlang.org/t/kotlin-maven-plugin-0-4-297-broken/972/2 "2012-12-18T11:00:56Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![outersky](https://avatars.discourse-cdn.com/v4/letter/o/7bcc69/32.png) [@outersky](https://discuss.kotlinlang.org/u/outersky)\
**Post date:** [December 18, 2012, 3:25pm UTC](https://discuss.kotlinlang.org/t/kotlin-maven-plugin-0-4-297-broken/972/3 "2012-12-18T15:25:31Z")

</div>

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

``

```kotlin
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&nbsp;&nbsp;10.8.2 .

  
  
 [error.txt.zip](https://discuss.kotlinlang.org/uploads/short-url/x7Q3G7sQfyGU3xKrTru7Z7E4iHa.zip) (1.94 KB)  
  
 [pom.xml](https://discuss.kotlinlang.org/uploads/short-url/4103wVDajBuouChdXCmgpNGQoeO.xml) (3.89 KB)

---

<div class="post-metadata">

**Author:** ![outersky](https://avatars.discourse-cdn.com/v4/letter/o/7bcc69/32.png) [@outersky](https://discuss.kotlinlang.org/u/outersky)\
**Post date:** [December 19, 2012, 4:37pm UTC](https://discuss.kotlinlang.org/t/kotlin-maven-plugin-0-4-297-broken/972/4 "2012-12-19T16:37:35Z")

</div>

attached the whole maven log.

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

---

<div class="post-metadata">

**Author:** ![outersky](https://avatars.discourse-cdn.com/v4/letter/o/7bcc69/32.png) [@outersky](https://discuss.kotlinlang.org/u/outersky)\
**Post date:** [December 20, 2012, 12:45pm UTC](https://discuss.kotlinlang.org/t/kotlin-maven-plugin-0-4-297-broken/972/5 "2012-12-20T12:45:43Z")

</div>

Resolved!

[http://repository.jetbrains.com/all/org/jetbrains/kotlin/kotlin-compiler/0.4.297/kotlin-compiler-0.4.297.jar�](http://repository.jetbrains.com/all/org/jetbrains/kotlin/kotlin-compiler/0.4.297/kotlin-compiler-0.4.297.jar%EF%BF%BD)� &nbsp;&nbsp;is not completly downloaded!&nbsp;&nbsp;DAMN IT.

---

<div class="post-metadata">

**Author:** ![shalupov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/shalupov/32/1589_2.png) [@shalupov](https://discuss.kotlinlang.org/u/shalupov)\
**Post date:** [December 20, 2012, 1:43pm UTC](https://discuss.kotlinlang.org/t/kotlin-maven-plugin-0-4-297-broken/972/6 "2012-12-20T13:43:33Z")

</div>

That was a point to clean local maven repository
