[ https://issues.apache.org/jira/browse/JSPWIKI-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juan Pablo Santos RodrÃguez reopened JSPWIKI-1070: -------------------------------------------------- still fails later on, this time because of [maven-wro-plugin|https://github.com/wro4j/wro4j/issues/1039]: {code} Caused by: org.apache.maven.plugin.PluginContainerException: An API incompatibility was encountered while executing ro.isdc.wro4j:wro4j-maven-plugin:1.8.0:run: java.lang.ExceptionInInitializerError: null at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:181) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: java.lang.ExceptionInInitializerError at org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilter.<init> (ConditionalStackTraceFilter.java:17) at org.mockito.exceptions.base.MockitoException.filterStackTrace (MockitoException.java:41) at org.mockito.exceptions.base.MockitoException.<init> (MockitoException.java:30) at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin (PluginLoader.java:35) at org.mockito.internal.configuration.plugins.PluginRegistry.<init> (PluginRegistry.java:13) at org.mockito.internal.configuration.plugins.Plugins.<clinit> (Plugins.java:12) at org.mockito.internal.util.MockUtil.<clinit> (MockUtil.java:23) at org.mockito.internal.MockitoCore.<init> (MockitoCore.java:40) at org.mockito.Mockito.<clinit> (Mockito.java:1103) at ro.isdc.wro.maven.plugin.Wro4jMojo.processGroup (Wro4jMojo.java:261) at ro.isdc.wro.maven.plugin.Wro4jMojo.doExecute (Wro4jMojo.java:161) at ro.isdc.wro.maven.plugin.AbstractWro4jMojo.execute (AbstractWro4jMojo.java:169) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: java.lang.NullPointerException at org.mockito.internal.configuration.plugins.Plugins.getStackTraceCleanerProvider (Plugins.java:18) at org.mockito.internal.exceptions.stacktrace.StackTraceFilter.<clinit> (StackTraceFilter.java:21) at org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilter.<init> (ConditionalStackTraceFilter.java:17) at org.mockito.exceptions.base.MockitoException.filterStackTrace (MockitoException.java:41) at org.mockito.exceptions.base.MockitoException.<init> (MockitoException.java:30) at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin (PluginLoader.java:35) at org.mockito.internal.configuration.plugins.PluginRegistry.<init> (PluginRegistry.java:13) at org.mockito.internal.configuration.plugins.Plugins.<clinit> (Plugins.java:12) at org.mockito.internal.util.MockUtil.<clinit> (MockUtil.java:23) at org.mockito.internal.MockitoCore.<init> (MockitoCore.java:40) at org.mockito.Mockito.<clinit> (Mockito.java:1103) at ro.isdc.wro.maven.plugin.Wro4jMojo.processGroup (Wro4jMojo.java:261) at ro.isdc.wro.maven.plugin.Wro4jMojo.doExecute (Wro4jMojo.java:161) at ro.isdc.wro.maven.plugin.AbstractWro4jMojo.execute (AbstractWro4jMojo.java:169) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) {code} > 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 > Priority: Major > 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)