https://kotlinlang.org logo
c

Czar

01/01/2019, 10:54 AM
Hi, I'm trying to locally install tornadofx jdk10 latest commit on my laptop and I'm getting surefire plugin error, I'm not very familiar with maven, so any help is greatly appreciated. Context:
Copy code
$ mvn -version                                                                                                                                              1 ↵
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T22:41:47+04:00)
Maven home: /usr/local/sdkman/candidates/maven/current
Java version: 11.0.1, vendor: Oracle Corporation, runtime: /usr/lib64/jvm/java-11-openjdk-11
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.19.8-1-default", arch: "amd64", family: "unix"
command:
mvn clean install
result:
Copy code
[INFO] 
[INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ tornadofx ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:07 min
[INFO] Finished at: 2019-01-01T14:50:32+04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project tornadofx: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test failed.: IllegalArgumentException -> [Help 1]
I tried to update surefire plugin version to
3.0.0-M3
and it somewhat worked, now instead of a plugin error I get a ton of errors for tests compilation. 😞 Result is in the snippet below