You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Juan Pablo Santos Rodríguez (JIRA)" <ji...@apache.org> on 2018/05/28 21:09:00 UTC
[jira] [Created] (JSPWIKI-1070) Support JDK10 builds
Juan Pablo Santos Rodríguez created JSPWIKI-1070:
----------------------------------------------------
Summary: Support JDK10 builds
Key: JSPWIKI-1070
URL: https://issues.apache.org/jira/browse/JSPWIKI-1070
Project: JSPWiki
Issue Type: Task
Components: Build system
Affects Versions: 2.10.4
Reporter: Juan Pablo Santos Rodríguez
Fix For: 2.10.5
As noted on the ML, when using a JDK 10 to run the build, it fails, with the following excerpt from the stacktrace:
{code}
Caused by: java.lang.NullPointerException
at org.apache.maven.surefire.shade.org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast (SystemUtils.java:1626)
{code}
which seems to be an incarnation of SUREFIRE-1439, updating the surefire version to 2.21.0 should be enough. Also, as per https://stackoverflow.com/a/49398936 the compiler plugin seems to need to explicit a newer version of the asm dependency (MCOMPILER-332)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)