Hello,
I want to play with kotlin libraries project, as mentiioned in ReadMe.md I open project and execute:
mvn install
Build was failed with this error(project is clean - no modificaions):INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar (160 KB at 118.5 KB/sec) [INFO] [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] [INFO] [INFO] --- kotlin-maven-plugin:0.1-SNAPSHOT:test-compile (test-compile) @ test-helloworld --- [INFO] [INFO] Kotlin Compiler version @snapshot@ [INFO] [INFO] Compiling Kotlin sources from [/home/ice/projects/kotlin/libraries/tools/kotlin-maven-plugin/target/it/test-helloworld/src/test/java] [INFO] [INFO] Classpath: /home/ice/projects/kotlin/libraries/tools/kotlin-maven-plugin/target/it/test-helloworld/src/test/java:/home/ice/projects/kotlin/libraries/tools/kotlin-maven-plugin/target/it/test-helloworld/target/classes:/home/ice/projects/kotlin/libraries/tools/kotlin-maven-plugin/target/local-repo/junit/junit/4.9/junit-4.9.jar:/home/ice/projects/kotlin/libraries/tools/kotlin-maven-plugin/target/local-repo/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar [INFO] [INFO] Classes directory is /home/ice/projects/kotlin/libraries/tools/kotlin-maven-plugin/target/it/test-helloworld/target/test-classes [INFO] [INFO] Using kotlin annotations from /tmp/1358359875550-0/kotlin-jdk-annotations.jar [INFO] [INFO] [INFO] [INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ test-helloworld --- [INFO] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] [INFO] skip non existing resourceDirectory /home/ice/projects/kotlin/libraries/tools/kotlin-maven-plugin/target/it/test-helloworld/src/test/resources [INFO] [INFO] [INFO] [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ test-helloworld --- [INFO] [INFO] Compiling 1 source file to /home/ice/projects/kotlin/libraries/tools/kotlin-maven-plugin/target/it/test-helloworld/target/test-classes [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] BUILD FAILURE [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Total time: 28.362s [INFO] [INFO] Finished at: Wed Jan 16 21:11:15 MSK 2013 [INFO] [INFO] Final Memory: 35M/302M [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile (default-testCompile) on project test-helloworld: Compilation failure: Compilation failure: [INFO] [ERROR] /home/ice/projects/kotlin/libraries/tools/kotlin-maven-plugin/target/it/test-helloworld/src/test/java/org/jetbrains/HelloWorldJavaTest.java:[5,7] error: static import declarations are not supported in -source 1.3 [INFO] [ERROR] [INFO] [ERROR] (use -source 5 or higher to enable static import declarations) [INFO] [ERROR] /home/ice/projects/kotlin/libraries/tools/kotlin-maven-plugin/target/it/test-helloworld/src/test/java/org/jetbrains/HelloWorldJavaTest.java:[14,5] error: annotations are not supported in -source 1.3 [INFO] [ERROR] -> [Help 1] [INFO] [ERROR] [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [INFO] [ERROR] [INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles: [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [INFO] ..FAILED (29.8 s) [INFO] The build exited with code 1. See /home/ice/projects/kotlin/libraries/tools/kotlin-maven-plugin/target/it/test-helloworld/build.log for details. [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 0, Failed: 1, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------- [ERROR] The following builds failed: [ERROR] * test-helloworld/pom.xml [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] kotlin-project .................................... SUCCESS [0.181s] [INFO] kotlin-compiler ................................... SUCCESS [0.129s] [INFO] kotlin-jdk-annotations ............................ SUCCESS [0.008s] [INFO] kotlin-runtime .................................... SUCCESS [5.490s] [INFO] kotlin-maven-plugin ............................... FAILURE [30.733s] [INFO] kotlin-js-library ................................. SKIPPED Full log attached.
Does I missed something?
log.txt.zip (7.24 KB)