You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the test stage JDK10 fails like below
It started fail while attempting to run jmockit agent. After analyzing of maven-surefire documentation and settings it looks like maven surefire plugin tries to run agent with useManifestOnlyJar=true (by default). At the same time there is nothing about org.apache.maven.surefire.booter.ForkedBooter in sqlline's manifest file.
Adding <useManifestOnlyJar>false</useManifestOnlyJar> resolves the issue
Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter
Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.booter.ForkedBooter
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.608 s
[INFO] Finished at: 2018-10-25T13:45:24Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project sqlline: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
[ERROR] Command was/bin/sh -c cd /src && /usr/lib/jvm/java-10-openjdk-amd64/bin/java -Xmx1024m -javaagent:/root/.m2/repository/org/jmockit/jmockit/1.30/jmockit-1.30.jar -jar /src/target/surefire/surefirebooter10549922796007415536.jar /src/target/surefire/surefire1226533000070400092tmp /src/target/surefire/surefire_04317680918538774786tmp
The text was updated successfully, but these errors were encountered:
At the test stage JDK10 fails like below
It started fail while attempting to run jmockit agent. After analyzing of maven-surefire documentation and settings it looks like maven surefire plugin tries to run agent with
useManifestOnlyJar=true
(by default). At the same time there is nothing about org.apache.maven.surefire.booter.ForkedBooter in sqlline's manifest file.Adding
<useManifestOnlyJar>false</useManifestOnlyJar>
resolves the issueThe text was updated successfully, but these errors were encountered: