jvskriubakken/kotlin-js

Can't build from console using Maven

Closed this issue · 2 comments

I'm very interested in getting this project to work. Unfortunately I have not been able to do so.

I'm using OSX, did not locally install any Kotlin packages (assumed Maven would take care of everything).

[sen@theAir kotlin-js]$ mvn compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] kotlin-javascript
[INFO] kotlin-js-example
[INFO] kotlin-webapp
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building kotlin-javascript 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building kotlin-js-example 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The metadata /Users/sen/.m2/repository/org/jetbrains/kotlin/kotlin-maven-plugin/0.1-SNAPSHOT/maven-metadata-sonatype.oss.snapshots.xml is invalid: end tag name </body> must match start tag name <hr> from line 5 (position: TEXT seen ...</center>\r\n</body>... @6:8)
[WARNING] The metadata /Users/sen/.m2/repository/org/jetbrains/kotlin/kotlin-maven-plugin/0.1-SNAPSHOT/maven-metadata-sonatype.oss.snapshots.xml is invalid: end tag name </body> must match start tag name <hr> from line 5 (position: TEXT seen ...</center>\r\n</body>... @6:8)
[WARNING] The POM for org.jetbrains.kotlin:kotlin-maven-plugin:jar:0.1-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] kotlin-javascript ................................. SUCCESS [0.004s]
[INFO] kotlin-js-example ................................. FAILURE [0.251s]
[INFO] kotlin-webapp ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.494s
[INFO] Finished at: Wed May 06 19:38:44 CEST 2015
[INFO] Final Memory: 6M/97M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to parse plugin descriptor for org.jetbrains.kotlin:kotlin-maven-plugin:0.1-SNAPSHOT (/Users/sen/.m2/repository/org/jetbrains/kotlin/kotlin-maven-plugin/0.1-SNAPSHOT/kotlin-maven-plugin-0.1-SNAPSHOT.jar): error in opening zip file -> [Help 1]

Any hints?

Hi

Your error is very strange..however googling it reveals this:

https://code.google.com/p/snakeyaml/issues/detail?id=198
Try the suggestion in the answer to the person having the same problem

2015-05-06 19:50 GMT+02:00 Sebastian Nozzi notifications@github.com:

I'm very interested in getting this project to work. Unfortunately I have
not been able to do so.

I'm using OSX, did not locally install any Kotlin packages (assumed Maven
would take care of everything).

[sen@theAir kotlin-js]$ mvn compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] kotlin-javascript
[INFO] kotlin-js-example
[INFO] kotlin-webapp
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building kotlin-javascript 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building kotlin-js-example 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The metadata /Users/sen/.m2/repository/org/jetbrains/kotlin/kotlin-maven-plugin/0.1-SNAPSHOT/maven-metadata-sonatype.oss.snapshots.xml is invalid: end tag name must match start tag name


from line 5 (position: TEXT seen ...\r\n... @6:8)
[WARNING] The metadata /Users/sen/.m2/repository/org/jetbrains/kotlin/kotlin-maven-plugin/0.1-SNAPSHOT/maven-metadata-sonatype.oss.snapshots.xml is invalid: end tag name must match start tag name
from line 5 (position: TEXT seen ...\r\n... @6:8)
[WARNING] The POM for org.jetbrains.kotlin:kotlin-maven-plugin:jar:0.1-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] kotlin-javascript ................................. SUCCESS [0.004s]
[INFO] kotlin-js-example ................................. FAILURE [0.251s]
[INFO] kotlin-webapp ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.494s
[INFO] Finished at: Wed May 06 19:38:44 CEST 2015
[INFO] Final Memory: 6M/97M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to parse plugin descriptor for org.jetbrains.kotlin:kotlin-maven-plugin:0.1-SNAPSHOT (/Users/sen/.m2/repository/org/jetbrains/kotlin/kotlin-maven-plugin/0.1-SNAPSHOT/kotlin-maven-plugin-0.1-SNAPSHOT.jar): error in opening zip file -> [Help 1]

Any hints?


Reply to this email directly or view it on GitHub
#1.

On my Ubuntu machine it works... Strange...

My OSX setup: Maven 3.0.3 - Java 1.7
My Ubuntu setup: Maven 3.0.5 - Java 1.8

I will be closing this issue then. Thanks for your time, will look at the project now.