[ https://issues.apache.org/jira/browse/MNG-7399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Bedrin updated MNG-7399: ------------------------------- Description: I'm maintaining open-source project (multi-module Maven) and my CI/CD builds it on 3 platforms (Linux, MacOS, Windows) on Java versions from 6 to 19-ea both 64 bit and 32 bit (where available). After adding JDK 18-ea and 19-ea to the compatibility matrix I've noticed that builds on Windows *32bit* are failing with errors like these: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.2.0:jar (default-jar) on project sniffy: The parameters 'classesDirectory', 'outputDirectory' for goal org.apache.maven.plugins:maven-jar-plugin:3.2.0:jar are missing or invalid -> [Help 1]{noformat} Another example with stack trace from compiler plugin (other plugins fail as well): {noformat}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile (default-compile) on project sniffy: The parameters 'outputDirectory', 'projectArtifact', 'buildDirectory' for goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile are missing or invalid -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile (default-compile) on project sniffy: The parameters 'outputDirectory', 'projectArtifact', 'buildDirectory' for goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile are missing or invalid at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) 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:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:104) at java.lang.reflect.Method.invoke (Method.java:577) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.PluginParameterException: The parameters 'outputDirectory', 'projectArtifact', 'buildDirectory' for goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile are missing or invalid at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields (DefaultMavenPluginManager.java:644) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:597) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:124) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) 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:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:104) at java.lang.reflect.Method.invoke (Method.java:577) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException{noformat} Appreciate that Java 18 isn't released yet but worth checking. All other platforms as well as 64-bit JDK on Windows are fine. Happy to provide any further details if required. Here's the repo to reproduce it: [https://github.com/sniffy/sniffy] was: I'm maintaining open-source project (multi-module Maven) and my CI/CD builds it on 3 platforms (Linux, MacOS, Windows) on Java versions from 6 to 19-ea both 64 bit and 32 bit (where available). After adding JDK 18-ea and 19-ea to the compatibility matrix I've noticed that builds on Windows *32bit* are failing with errors like these: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.2.0:jar (default-jar) on project sniffy: The parameters 'classesDirectory', 'outputDirectory' for goal org.apache.maven.plugins:maven-jar-plugin:3.2.0:jar are missing or invalid -> [Help 1]{noformat} Appreciate that Java 18 isn't released yet but worth checking. All other platforms as well as 64-bit JDK on Windows are fine. Happy to provide any further details if required. Here's the repo to reproduce it: [https://github.com/sniffy/sniffy] > Intermittent "The parameters are missing or invalid" failures on Java 18-EA > on Windows x86 (32-bit) > --------------------------------------------------------------------------------------------------- > > Key: MNG-7399 > URL: https://issues.apache.org/jira/browse/MNG-7399 > Project: Maven > Issue Type: Bug > Affects Versions: 3.8.4 > Reporter: Dmitry Bedrin > Priority: Major > > I'm maintaining open-source project (multi-module Maven) and my CI/CD builds > it on 3 platforms (Linux, MacOS, Windows) on Java versions from 6 to 19-ea > both 64 bit and 32 bit (where available). > > After adding JDK 18-ea and 19-ea to the compatibility matrix I've noticed > that builds on Windows *32bit* are failing with errors like these: > > {noformat} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-jar-plugin:3.2.0:jar (default-jar) on project > sniffy: The parameters 'classesDirectory', 'outputDirectory' for goal > org.apache.maven.plugins:maven-jar-plugin:3.2.0:jar are missing or invalid -> > [Help 1]{noformat} > > Another example with stack trace from compiler plugin (other plugins fail as > well): > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile > (default-compile) on project sniffy: The parameters 'outputDirectory', > 'projectArtifact', 'buildDirectory' for goal > org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile are missing or > invalid -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile > (default-compile) on project sniffy: The parameters 'outputDirectory', > 'projectArtifact', 'buildDirectory' for goal > org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile are missing or > invalid > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > 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:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) > at jdk.internal.reflect.DirectMethodHandleAccessor.invoke > (DirectMethodHandleAccessor.java:104) > at java.lang.reflect.Method.invoke (Method.java:577) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > Caused by: org.apache.maven.plugin.PluginParameterException: The parameters > 'outputDirectory', 'projectArtifact', 'buildDirectory' for goal > org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile are missing or > invalid > at > org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields > (DefaultMavenPluginManager.java:644) > at > org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo > (DefaultMavenPluginManager.java:597) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:124) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:210) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > 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:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) > at jdk.internal.reflect.DirectMethodHandleAccessor.invoke > (DirectMethodHandleAccessor.java:104) > at java.lang.reflect.Method.invoke (Method.java:577) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > [ERROR] > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException{noformat} > > > Appreciate that Java 18 isn't released yet but worth checking. > All other platforms as well as 64-bit JDK on Windows are fine. > > Happy to provide any further details if required. > > Here's the repo to reproduce it: [https://github.com/sniffy/sniffy] -- This message was sent by Atlassian Jira (v8.20.1#820001)