[ 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}[INFO] --- maven-compiler-plugin:3.9.0:compile (default-compile) @ sniffy --- [DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=9500, ConflictMarker.markTime=9500, ConflictMarker.nodeCount=17, ConflictIdSorter.graphTime=5100, ConflictIdSorter.topsortTime=8400, ConflictIdSorter.conflictIdCount=12, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=60300, ConflictResolver.conflictItemCount=17, DefaultDependencyCollector.collectTime=1351500, DefaultDependencyCollector.transformTime=101700} [DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:3.9.0 [DEBUG] org.apache.maven.shared:maven-shared-utils:jar:3.3.4:compile [DEBUG] commons-io:commons-io:jar:2.6:compile [DEBUG] org.apache.maven.shared:maven-shared-incremental:jar:1.1:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:2.0.0:compile (version managed from default) [DEBUG] org.codehaus.plexus:plexus-java:jar:1.1.0:compile [DEBUG] org.ow2.asm:asm:jar:9.2:compile [DEBUG] com.thoughtworks.qdox:qdox:jar:2.0.1:compile (version managed from default) [DEBUG] org.codehaus.plexus:plexus-compiler-api:jar:2.9.0:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.3.0:compile [DEBUG] org.codehaus.plexus:plexus-compiler-manager:jar:2.9.0:compile [DEBUG] org.codehaus.plexus:plexus-compiler-javac:jar:2.9.0:runtime [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.9.0--107150504 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.9.0--107150504 [DEBUG] Imported: < project>io.sniffy:sniffy:3.1.13-SNAPSHOT [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.9.0--107150504 [DEBUG] Included: org.apache.maven.plugins:maven-compiler-plugin:jar:3.9.0 [DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:3.3.4 [DEBUG] Included: commons-io:commons-io:jar:2.6 [DEBUG] Included: org.apache.maven.shared:maven-shared-incremental:jar:1.1 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:2.0.0 [DEBUG] Included: org.codehaus.plexus:plexus-java:jar:1.1.0 [DEBUG] Included: org.ow2.asm:asm:jar:9.2 [DEBUG] Included: com.thoughtworks.qdox:qdox:jar:2.0.1 [DEBUG] Included: org.codehaus.plexus:plexus-compiler-api:jar:2.9.0 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.3.0 [DEBUG] Included: org.codehaus.plexus:plexus-compiler-manager:jar:2.9.0 [DEBUG] Included: org.codehaus.plexus:plexus-compiler-javac:jar:2.9.0 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.9.0--107150504, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@1ebdb06] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile' with basic configurator --> [DEBUG] (f) basedir = C:\work\github\sniffy\sniffy [DEBUG] (f) compilePath = [] [DEBUG] (f) compileSourceRoots = [] [DEBUG] (f) compilerId = javac [DEBUG] (f) debug = true [DEBUG] (f) encoding = UTF-8 [DEBUG] (f) failOnError = true [DEBUG] (f) failOnWarning = false [DEBUG] (f) forceJavacCompilerUse = false [DEBUG] (f) fork = false [DEBUG] (f) generatedSourcesDirectory = C:\work\github\sniffy\sniffy\${project.build.directory}\generated-sources\annotations [DEBUG] (f) mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile {execution: default-compile} [DEBUG] (f) optimize = false [DEBUG] (f) parameters = false [DEBUG] (f) project = MavenProject: io.sniffy:sniffy:3.1.13-SNAPSHOT @ C:\work\github\sniffy\sniffy\pom.xml [DEBUG] (f) session = org.apache.maven.execution.MavenSession@1033eac [DEBUG] (f) showDeprecation = false [DEBUG] (f) showWarnings = false [DEBUG] (f) skipMultiThreadWarning = false [DEBUG] (f) source = 1.9 [DEBUG] (f) staleMillis = 0 [DEBUG] (s) target = 1.9 [DEBUG] (f) useIncrementalCompilation = true [DEBUG] (f) verbose = false [DEBUG] -- end configuration -- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Sniffy Parent 3.1.13-SNAPSHOT: [INFO] [INFO] Sniffy Parent ...................................... SUCCESS [ 1.175 s] [INFO] Sniffy Core ........................................ SUCCESS [ 25.631 s] [INFO] Sniffy TLS Module .................................. SUCCESS [ 31.500 s] [INFO] Sniffy NIO Module .................................. SUCCESS [ 5.688 s] [INFO] Sniffy NIO Compatibility Module Dependencies ....... SUCCESS [ 0.192 s] [INFO] Sniffy NIO Compatibility Module .................... SUCCESS [ 6.088 s] [INFO] Sniffy Web ......................................... SUCCESS [ 15.365 s] [INFO] Sniffy ............................................. FAILURE [ 24.528 s] [INFO] sniffy-test ........................................ SKIPPED [INFO] sniffy-test-common ................................. SKIPPED [INFO] sniffy-junit ....................................... SKIPPED [INFO] sniffy-kotest ...................................... SKIPPED [INFO] sniffy-testng ...................................... SKIPPED [INFO] sniffy-spring-test ................................. SKIPPED [INFO] sniffy-integration-tests ........................... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls ............... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-vertx ......... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-bc ............ SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-bc-before-sniffy SKIPPED [INFO] sniffy-integration-tests-spock ..................... SKIPPED [INFO] sniffy-integration-tests-spring-boot ............... SKIPPED [INFO] sniffy-integration-tests-spring-boot-2 ............. SKIPPED [INFO] sniffy-integration-tests-spring-kafka .............. SKIPPED [INFO] sniffy-integration-tests-tomcat .................... SKIPPED [INFO] Sniffy Documentation ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:50 min [INFO] Finished at: 2022-01-28T16:21:01+03:00 [INFO] ------------------------------------------------------------------------ [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} Example with debug output from shade plugin - here's the error is a bit different (`File.getParentFile() is null`) but I'm getting it sporadically as well: {noformat}[INFO] --- maven-shade-plugin:3.2.3:shade (default) @ sniffy --- [DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=43300, ConflictMarker.markTime=24900, ConflictMarker.nodeCount=101, ConflictIdSorter.graphTime=23500, ConflictIdSorter.topsortTime=16700, ConflictIdSorter.conflictIdCount=39, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=246200, ConflictResolver.conflictItemCount=95, DefaultDependencyCollector.collectTime=227118000, DefaultDependencyCollector.transformTime=368300} [DEBUG] org.apache.maven.plugins:maven-shade-plugin:jar:3.2.3 [DEBUG] org.apache.maven:maven-plugin-api:jar:3.0:compile [DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile [DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile [DEBUG] org.apache.maven:maven-model:jar:3.0:compile [DEBUG] org.apache.maven:maven-core:jar:3.0:compile [DEBUG] org.apache.maven:maven-settings:jar:3.0:compile [DEBUG] org.apache.maven:maven-settings-builder:jar:3.0:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0:compile [DEBUG] org.apache.maven:maven-model-builder:jar:3.0:compile [DEBUG] org.apache.maven:maven-aether-provider:jar:3.0:runtime [DEBUG] org.sonatype.aether:aether-impl:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-spi:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-api:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-util:jar:1.7:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:2.0.0:compile (version managed from default) [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile [DEBUG] org.apache.maven:maven-artifact:jar:3.0:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.3.0:compile [DEBUG] org.apache.maven.shared:maven-artifact-transfer:jar:0.12.0:compile [DEBUG] org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1:compile [DEBUG] org.apache.maven.shared:maven-shared-utils:jar:3.1.0:compile [DEBUG] commons-codec:commons-codec:jar:1.11:compile [DEBUG] org.slf4j:slf4j-api:jar:1.7.5:compile [DEBUG] org.ow2.asm:asm:jar:8.0:compile [DEBUG] org.ow2.asm:asm-commons:jar:8.0:compile [DEBUG] org.ow2.asm:asm-tree:jar:8.0:compile [DEBUG] org.ow2.asm:asm-analysis:jar:8.0:compile [DEBUG] org.jdom:jdom2:jar:2.0.6:compile [DEBUG] org.apache.maven.shared:maven-dependency-tree:jar:3.0.1:compile [DEBUG] org.eclipse.aether:aether-util:jar:0.9.0.M2:compile [DEBUG] commons-io:commons-io:jar:2.5:compile [DEBUG] org.vafer:jdependency:jar:2.4.0:compile [DEBUG] org.ow2.asm:asm-util:jar:8.0:compile [DEBUG] com.google.guava:guava:jar:19.0:compile [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3 [DEBUG] Imported: < project>io.sniffy:sniffy:3.1.13-SNAPSHOT [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3 [DEBUG] Included: org.apache.maven.plugins:maven-shade-plugin:jar:3.2.3 [DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7 [DEBUG] Included: org.sonatype.aether:aether-util:jar:1.7 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.14 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:2.0.0 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.3.0 [DEBUG] Included: org.apache.maven.shared:maven-artifact-transfer:jar:0.12.0 [DEBUG] Included: org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1 [DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:3.1.0 [DEBUG] Included: commons-codec:commons-codec:jar:1.11 [DEBUG] Included: org.ow2.asm:asm:jar:8.0 [DEBUG] Included: org.ow2.asm:asm-commons:jar:8.0 [DEBUG] Included: org.ow2.asm:asm-tree:jar:8.0 [DEBUG] Included: org.ow2.asm:asm-analysis:jar:8.0 [DEBUG] Included: org.jdom:jdom2:jar:2.0.6 [DEBUG] Included: org.apache.maven.shared:maven-dependency-tree:jar:3.0.1 [DEBUG] Included: org.eclipse.aether:aether-util:jar:0.9.0.M2 [DEBUG] Included: commons-io:commons-io:jar:2.5 [DEBUG] Included: org.vafer:jdependency:jar:2.4.0 [DEBUG] Included: org.ow2.asm:asm-util:jar:8.0 [DEBUG] Included: com.google.guava:guava:jar:19.0 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@1ebdb06] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade' with basic configurator --> [DEBUG] (f) includes = [io.dropwizard.metrics:metrics-core, io.sniffy:*, com.eclipsesource.minimal-json:minimal-json, org.webjars:*, com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru, org.webjars.bower:*] [DEBUG] (f) artifactSet = org.apache.maven.plugins.shade.mojo.ArtifactSet@1c72992 [DEBUG] (f) createDependencyReducedPom = true [DEBUG] (f) createSourcesJar = true [DEBUG] (f) dependencyReducedPomLocation = C:\work\github\sniffy\sniffy\dependency-reduced-pom.xml [DEBUG] (f) generateUniqueDependencyReducedPom = false [DEBUG] (f) localRepository = id: local url: file:///C:/Users/bedrin/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] blocked: false [DEBUG] (f) project = MavenProject: io.sniffy:sniffy:3.1.13-SNAPSHOT @ C:\work\github\sniffy\sniffy\pom.xml [DEBUG] (f) pattern = com.googlecode.concurrentlinkedhashmap [DEBUG] (f) shadedPattern = io.sniffy.shaded.com.googlecode.concurrentlinkedhashmap [DEBUG] (f) pattern = com.eclipsesource [DEBUG] (f) shadedPattern = io.sniffy.shaded.com.eclipsesource [DEBUG] (f) pattern = com.codahale.metrics [DEBUG] (f) shadedPattern = io.sniffy.shaded.com.codahale.metrics [DEBUG] (f) relocations = [org.apache.maven.plugins.shade.mojo.PackageRelocation@18fe939, org.apache.maven.plugins.shade.mojo.PackageRelocation@2e4eaf, org.apache.maven.plugins.shade.mojo.PackageRelocation@4e7270] [DEBUG] (f) remoteArtifactRepositories = [] [DEBUG] (f) session = org.apache.maven.execution.MavenSession@1033eac [DEBUG] (f) shadeSourcesContent = true [DEBUG] (f) shadeTestJar = false [DEBUG] (f) shadedClassifierName = shaded [DEBUG] (f) useBaseVersion = false [DEBUG] -- end configuration -- [INFO] Including io.sniffy:sniffy-web:jar:3.1.13-SNAPSHOT in the shaded jar. [INFO] Including io.sniffy:sniffy-core:jar:3.1.13-SNAPSHOT in the shaded jar. [INFO] Including com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.4.2 in the shaded jar. [DEBUG] Resolving artifact com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:sources:1.4.2 from [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2 Downloading from central: https://repo.maven.apache.org/maven2/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.4.2/concurrentlinkedhashmap-lru-1.4.2-sources.jar Downloaded from central: https://repo.maven.apache.org/maven2/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.4.2/concurrentlinkedhashmap-lru-1.4.2-sources.jar (57 kB at 86 kB/s) [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.4.2\_remote.repositories [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.4.2\concurrentlinkedhashmap-lru-1.4.2-sources.jar.lastUpdated [INFO] Including com.eclipsesource.minimal-json:minimal-json:jar:0.9.5 in the shaded jar. [DEBUG] Resolving artifact com.eclipsesource.minimal-json:minimal-json:jar:sources:0.9.5 from [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2 Downloading from central: https://repo.maven.apache.org/maven2/com/eclipsesource/minimal-json/minimal-json/0.9.5/minimal-json-0.9.5-sources.jar Downloaded from central: https://repo.maven.apache.org/maven2/com/eclipsesource/minimal-json/minimal-json/0.9.5/minimal-json-0.9.5-sources.jar (34 kB at 170 kB/s) [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\com\eclipsesource\minimal-json\minimal-json\0.9.5\_remote.repositories [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\com\eclipsesource\minimal-json\minimal-json\0.9.5\minimal-json-0.9.5-sources.jar.lastUpdated [INFO] Including io.dropwizard.metrics:metrics-core:jar:3.1.0 in the shaded jar. [DEBUG] Resolving artifact io.dropwizard.metrics:metrics-core:jar:sources:3.1.0 from [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2 Downloading from central: https://repo.maven.apache.org/maven2/io/dropwizard/metrics/metrics-core/3.1.0/metrics-core-3.1.0-sources.jar Downloaded from central: https://repo.maven.apache.org/maven2/io/dropwizard/metrics/metrics-core/3.1.0/metrics-core-3.1.0-sources.jar (53 kB at 487 kB/s) [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\io\dropwizard\metrics\metrics-core\3.1.0\_remote.repositories [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\io\dropwizard\metrics\metrics-core\3.1.0\metrics-core-3.1.0-sources.jar.lastUpdated [INFO] Including io.sniffy:sniffy-module-tls:jar:3.1.13-SNAPSHOT in the shaded jar. [INFO] Including io.sniffy:sniffy-module-nio:jar:3.1.13-SNAPSHOT in the shaded jar. [INFO] Including io.sniffy:sniffy-module-nio-compat:jar:3.1.13-SNAPSHOT in the shaded jar. [INFO] Excluding org.codehaus.mojo:animal-sniffer-annotations:jar:1.20 from the shaded jar. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Sniffy Parent 3.1.13-SNAPSHOT: [INFO] [INFO] Sniffy Parent ...................................... SUCCESS [ 1.254 s] [INFO] Sniffy Core ........................................ SUCCESS [ 26.476 s] [INFO] Sniffy TLS Module .................................. SUCCESS [ 46.759 s] [INFO] Sniffy NIO Module .................................. SUCCESS [ 5.913 s] [INFO] Sniffy NIO Compatibility Module Dependencies ....... SUCCESS [ 0.258 s] [INFO] Sniffy NIO Compatibility Module .................... SUCCESS [ 7.396 s] [INFO] Sniffy Web ......................................... SUCCESS [ 16.885 s] [INFO] Sniffy ............................................. FAILURE [ 15.847 s] [INFO] sniffy-test ........................................ SKIPPED [INFO] sniffy-test-common ................................. SKIPPED [INFO] sniffy-junit ....................................... SKIPPED [INFO] sniffy-kotest ...................................... SKIPPED [INFO] sniffy-testng ...................................... SKIPPED [INFO] sniffy-spring-test ................................. SKIPPED [INFO] sniffy-integration-tests ........................... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls ............... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-vertx ......... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-bc ............ SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-bc-before-sniffy SKIPPED [INFO] sniffy-integration-tests-spock ..................... SKIPPED [INFO] sniffy-integration-tests-spring-boot ............... SKIPPED [INFO] sniffy-integration-tests-spring-boot-2 ............. SKIPPED [INFO] sniffy-integration-tests-spring-kafka .............. SKIPPED [INFO] sniffy-integration-tests-tomcat .................... SKIPPED [INFO] Sniffy Documentation ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:01 min [INFO] Finished at: 2022-01-28T13:57:13+03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade (default) on project sniffy: Error creating shaded jar: Cannot invoke "java.io.File.mkdirs()" because the return value of "java.io.File.getParentFile()" is null -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade (default) on project sniffy: Error creating shaded jar: Cannot invoke "java.io.File.mkdirs()" because the return value of "java.io.File.getParentFile()" is null 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.MojoExecutionException: Error creating shaded jar: Cannot invoke "java.io.File.mkdirs()" because the return value of "java.io.File.getParentFile()" is null at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute (ShadeMojo.java:607) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) 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) Caused by: java.lang.NullPointerException: Cannot invoke "java.io.File.mkdirs()" because the return value of "java.io.File.getParentFile()" is null at org.apache.maven.plugins.shade.DefaultShader.shade (DefaultShader.java:96) at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute (ShadeMojo.java:463) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) 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/MojoExecutionException{noformat} Another intermittent error from surefire plugin: {noformat}[INFO] --- maven-surefire-plugin:2.22.2:test (JUnit-execution-java14-compatibility) @ sniffy-web --- [DEBUG] Configuring mojo org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:2.22.2--850414008, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@1ebdb06] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test' with basic configurator --> [DEBUG] (s) additionalClasspathElements = [] [DEBUG] (s) argLine = -javaagent:C:\\Users\\bedrin\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.8-SNAPSHOT\\org.jacoco.agent-0.8.8-SNAPSHOT-runtime.jar=destfile=C:\\work\\github\\sniffy\\sniffy-web\\target\\jacoco.exec,append=true [DEBUG] (s) basedir = C:\work\github\sniffy\sniffy-web [DEBUG] (s) childDelegation = false [DEBUG] (s) classesDirectory = C:\work\github\sniffy\sniffy-web\target\classes [DEBUG] (s) classpathDependencyExcludes = [] [DEBUG] (s) dependenciesToScan = [] [DEBUG] (s) disableXmlReport = false [DEBUG] (s) enableAssertions = true [DEBUG] (s) excludes = [%regex[.*TestNg.*]] [DEBUG] (f) forkCount = 1 [DEBUG] (s) forkMode = once [DEBUG] (s) forkedProcessExitTimeoutInSeconds = 30 [DEBUG] (s) forkedProcessTimeoutInSeconds = 300 [DEBUG] (s) junitArtifactName = junit:junit [DEBUG] (s) junitPlatformArtifactName = org.junit.platform:junit-platform-engine [DEBUG] (s) localRepository = id: local url: file:///C:/Users/bedrin/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] blocked: false [DEBUG] (f) parallelMavenExecution = false [DEBUG] (s) parallelOptimized = true [DEBUG] (s) perCoreThreadCount = true [DEBUG] (s) pluginArtifactMap = {} [DEBUG] (f) pluginDescriptor = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugin.surefire.HelpMojo', role hint: 'org.apache.maven.plugins:maven-surefire-plugin:2.22.2:help' role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugin.surefire.SurefirePlugin', role hint: 'org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test' --- [DEBUG] (s) printSummary = true [DEBUG] (s) projectArtifactMap = {io.sniffy:sniffy-core=io.sniffy:sniffy-core:test-jar:tests:3.1.13-SNAPSHOT:test, com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru=com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.4.2:compile, com.eclipsesource.minimal-json:minimal-json=com.eclipsesource.minimal-json:minimal-json:jar:0.9.5:compile, io.dropwizard.metrics:metrics-core=io.dropwizard.metrics:metrics-core:jar:3.1.0:compile, io.sniffy:sniffy-module-tls=io.sniffy:sniffy-module-tls:jar:3.1.13-SNAPSHOT:compile, io.sniffy:sniffy-module-nio=io.sniffy:sniffy-module-nio:jar:3.1.13-SNAPSHOT:compile, io.sniffy:sniffy-module-nio-compat=io.sniffy:sniffy-module-nio-compat:jar:3.1.13-SNAPSHOT:compile, io.sniffy:sniffy-ui=io.sniffy:sniffy-ui:jar:3.1.8:provided, javax.servlet:javax.servlet-api=javax.servlet:javax.servlet-api:jar:3.1.0:provided, javax.annotation:javax.annotation-api=javax.annotation:javax.annotation-api:jar:1.3.2:test, org.springframework.boot:spring-boot=org.springframework.boot:spring-boot:jar:1.5.22.RELEASE:compile, org.springframework:spring-context=org.springframework:spring-context:jar:4.3.27.RELEASE:compile, org.springframework:spring-webmvc=org.springframework:spring-webmvc:jar:4.3.27.RELEASE:test, org.springframework:spring-aop=org.springframework:spring-aop:jar:4.3.27.RELEASE:compile, org.springframework:spring-beans=org.springframework:spring-beans:jar:4.3.27.RELEASE:compile, org.springframework:spring-core=org.springframework:spring-core:jar:4.3.27.RELEASE:compile, commons-logging:commons-logging=commons-logging:commons-logging:jar:1.2:compile, org.springframework:spring-expression=org.springframework:spring-expression:jar:4.3.27.RELEASE:compile, org.springframework:spring-web=org.springframework:spring-web:jar:4.3.27.RELEASE:test, org.springframework:spring-test=org.springframework:spring-test:jar:4.3.27.RELEASE:test, com.jayway.jsonpath:json-path=com.jayway.jsonpath:json-path:jar:2.4.0:test, net.minidev:json-smart=net.minidev:json-smart:jar:2.3:test, net.minidev:accessors-smart=net.minidev:accessors-smart:jar:1.2:test, org.slf4j:slf4j-api=org.slf4j:slf4j-api:jar:1.7.30:compile, org.graalvm.js:js=org.graalvm.js:js:jar:20.2.0:test, org.graalvm.regex:regex=org.graalvm.regex:regex:jar:20.2.0:test, org.graalvm.truffle:truffle-api=org.graalvm.truffle:truffle-api:jar:20.2.0:test, org.graalvm.sdk:graal-sdk=org.graalvm.sdk:graal-sdk:jar:20.2.0:test, org.ow2.asm:asm=org.ow2.asm:asm:jar:7.1:test, org.ow2.asm:asm-tree=org.ow2.asm:asm-tree:jar:7.1:test, org.ow2.asm:asm-analysis=org.ow2.asm:asm-analysis:jar:7.1:test, org.ow2.asm:asm-commons=org.ow2.asm:asm-commons:jar:7.1:test, org.ow2.asm:asm-util=org.ow2.asm:asm-util:jar:7.1:test, com.ibm.icu:icu4j=com.ibm.icu:icu4j:jar:67.1:test, org.graalvm.js:js-scriptengine=org.graalvm.js:js-scriptengine:jar:20.2.0:test, org.codehaus.mojo:animal-sniffer-annotations=org.codehaus.mojo:animal-sniffer-annotations:jar:1.20:compile, io.qameta.allure:allure-java-commons=io.qameta.allure:allure-java-commons:jar:2.17.2:test, io.qameta.allure:allure-model=io.qameta.allure:allure-model:jar:2.17.2:test, com.h2database:h2=com.h2database:h2:jar:1.4.200:test, org.mockito:mockito-core=org.mockito:mockito-core:jar:3.3.3:test, net.bytebuddy:byte-buddy=net.bytebuddy:byte-buddy:jar:1.9.10:test, net.bytebuddy:byte-buddy-agent=net.bytebuddy:byte-buddy-agent:jar:1.9.10:test, org.objenesis:objenesis=org.objenesis:objenesis:jar:3.0.1:test, org.hamcrest:hamcrest-library=org.hamcrest:hamcrest-library:jar:2.2:test, org.hamcrest:hamcrest-core=org.hamcrest:hamcrest-core:jar:2.2:test, org.hamcrest:hamcrest=org.hamcrest:hamcrest:jar:2.2:test, junit:junit=junit:junit:jar:4.13.1:test} [DEBUG] (s) projectBuildDirectory = C:\work\github\sniffy\sniffy-web\target [DEBUG] (s) redirectTestOutputToFile = false [DEBUG] (s) remoteRepositories = [ id: sonatype-nexus-snapshots url: https://oss.sonatype.org/content/repositories/snapshots layout: default snapshots: [enabled => true, update => daily] releases: [enabled => false, update => daily] blocked: false , id: central url: https://repo.maven.apache.org/maven2 layout: default snapshots: [enabled => false, update => daily] releases: [enabled => true, update => never] blocked: false ] [DEBUG] (s) reportFormat = brief [DEBUG] (s) reportsDirectory = C:\work\github\sniffy\sniffy-web\target\surefire-reports [DEBUG] (f) rerunFailingTestsCount = 0 [DEBUG] (f) reuseForks = true [DEBUG] (s) runOrder = alphabetical [DEBUG] (f) shutdown = testset [DEBUG] (s) skip = false [DEBUG] (f) skipAfterFailureCount = 0 [DEBUG] (s) skipTests = false [DEBUG] (s) suiteXmlFiles = [] [DEBUG] (s) systemPropertyVariables = {io.sniffy.forceJava14Compatibility=true} [DEBUG] (s) tempDir = surefire [DEBUG] (s) testClassesDirectory = C:\work\github\sniffy\sniffy-web\target\test-classes [DEBUG] (s) testFailureIgnore = false [DEBUG] (s) testNGArtifactName = dev:null [DEBUG] (s) testSourceDirectory = C:\work\github\sniffy\sniffy-web\src\test\java [DEBUG] (s) threadCountClasses = 0 [DEBUG] (s) threadCountMethods = 0 [DEBUG] (s) threadCountSuites = 0 [DEBUG] (s) trimStackTrace = true [DEBUG] (s) useFile = true [DEBUG] (s) useManifestOnlyJar = true [DEBUG] (s) useSystemClassLoader = true [DEBUG] (s) useUnlimitedThreads = false [DEBUG] (s) workingDirectory = C:\work\github\sniffy\sniffy-web [DEBUG] (s) project = MavenProject: io.sniffy:sniffy-web:3.1.13-SNAPSHOT @ C:\work\github\sniffy\sniffy-web\pom.xml [DEBUG] (s) session = org.apache.maven.execution.MavenSession@1ba0a6f [DEBUG] -- end configuration -- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Sniffy Parent 3.1.13-SNAPSHOT: [INFO] [INFO] Sniffy Parent ...................................... SUCCESS [ 7.538 s] [INFO] Sniffy Core ........................................ SUCCESS [ 35.499 s] [INFO] Sniffy TLS Module .................................. SUCCESS [ 27.141 s] [INFO] Sniffy NIO Module .................................. SUCCESS [ 6.370 s] [INFO] Sniffy NIO Compatibility Module Dependencies ....... SUCCESS [ 0.214 s] [INFO] Sniffy NIO Compatibility Module .................... SUCCESS [ 9.395 s] [INFO] Sniffy Web ......................................... FAILURE [ 13.819 s] [INFO] Sniffy ............................................. SKIPPED [INFO] sniffy-test ........................................ SKIPPED [INFO] sniffy-test-common ................................. SKIPPED [INFO] sniffy-junit ....................................... SKIPPED [INFO] sniffy-kotest ...................................... SKIPPED [INFO] sniffy-testng ...................................... SKIPPED [INFO] sniffy-spring-test ................................. SKIPPED [INFO] sniffy-integration-tests ........................... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls ............... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-vertx ......... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-bc ............ SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-bc-before-sniffy SKIPPED [INFO] sniffy-integration-tests-spock ..................... SKIPPED [INFO] sniffy-integration-tests-spring-boot ............... SKIPPED [INFO] sniffy-integration-tests-spring-boot-2 ............. SKIPPED [INFO] sniffy-integration-tests-spring-kafka .............. SKIPPED [INFO] sniffy-integration-tests-tomcat .................... SKIPPED [INFO] Sniffy Documentation ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:46 min [INFO] Finished at: 2022-01-28T16:14:48+03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (JUnit-execution-java14-compatibility) on project sniffy-web: Execution JUnit-execution-java14-compatibility of goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed: Unable to locate surefire-booter in the list of plugin artifacts -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (JUnit-execution-java14-compatibility) on project sniffy-web: Execution JUnit-execution-java14-compatibility of goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed: Unable to locate surefire-booter in the list of plugin artifacts 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.PluginExecutionException: Execution JUnit-execution-java14-compatibility of goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed: Unable to locate surefire-booter in the list of plugin artifacts at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) 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) Caused by: java.lang.RuntimeException: Unable to locate surefire-booter in the list of plugin artifacts at org.apache.maven.plugin.surefire.AbstractSurefireMojo.getSurefireBooterArtifact (AbstractSurefireMojo.java:2343) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.setupStuff (AbstractSurefireMojo.java:880) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:841) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) 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/PluginExecutionException{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. {noformat}Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: c:\work\opt\apache-maven-3.8.4 Java version: 19-ea, vendor: Azul Systems, Inc., runtime: c:\work\opt\zulu19.0.21-ea-jdk19.0.0-ea.6-win_i686 Default locale: en_GB, platform encoding: UTF-8 OS name: "windows 11", version: "10.0", arch: "x86", family: "windows"{noformat} 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} 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} Example with debug output from shade plugin - here's the error is a bit different (`File.getParentFile() is null`) but I'm getting it sporadically as well: {noformat}[INFO] --- maven-shade-plugin:3.2.3:shade (default) @ sniffy --- [DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=43300, ConflictMarker.markTime=24900, ConflictMarker.nodeCount=101, ConflictIdSorter.graphTime=23500, ConflictIdSorter.topsortTime=16700, ConflictIdSorter.conflictIdCount=39, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=246200, ConflictResolver.conflictItemCount=95, DefaultDependencyCollector.collectTime=227118000, DefaultDependencyCollector.transformTime=368300} [DEBUG] org.apache.maven.plugins:maven-shade-plugin:jar:3.2.3 [DEBUG] org.apache.maven:maven-plugin-api:jar:3.0:compile [DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile [DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile [DEBUG] org.apache.maven:maven-model:jar:3.0:compile [DEBUG] org.apache.maven:maven-core:jar:3.0:compile [DEBUG] org.apache.maven:maven-settings:jar:3.0:compile [DEBUG] org.apache.maven:maven-settings-builder:jar:3.0:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0:compile [DEBUG] org.apache.maven:maven-model-builder:jar:3.0:compile [DEBUG] org.apache.maven:maven-aether-provider:jar:3.0:runtime [DEBUG] org.sonatype.aether:aether-impl:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-spi:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-api:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-util:jar:1.7:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:2.0.0:compile (version managed from default) [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile [DEBUG] org.apache.maven:maven-artifact:jar:3.0:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.3.0:compile [DEBUG] org.apache.maven.shared:maven-artifact-transfer:jar:0.12.0:compile [DEBUG] org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1:compile [DEBUG] org.apache.maven.shared:maven-shared-utils:jar:3.1.0:compile [DEBUG] commons-codec:commons-codec:jar:1.11:compile [DEBUG] org.slf4j:slf4j-api:jar:1.7.5:compile [DEBUG] org.ow2.asm:asm:jar:8.0:compile [DEBUG] org.ow2.asm:asm-commons:jar:8.0:compile [DEBUG] org.ow2.asm:asm-tree:jar:8.0:compile [DEBUG] org.ow2.asm:asm-analysis:jar:8.0:compile [DEBUG] org.jdom:jdom2:jar:2.0.6:compile [DEBUG] org.apache.maven.shared:maven-dependency-tree:jar:3.0.1:compile [DEBUG] org.eclipse.aether:aether-util:jar:0.9.0.M2:compile [DEBUG] commons-io:commons-io:jar:2.5:compile [DEBUG] org.vafer:jdependency:jar:2.4.0:compile [DEBUG] org.ow2.asm:asm-util:jar:8.0:compile [DEBUG] com.google.guava:guava:jar:19.0:compile [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3 [DEBUG] Imported: < project>io.sniffy:sniffy:3.1.13-SNAPSHOT [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3 [DEBUG] Included: org.apache.maven.plugins:maven-shade-plugin:jar:3.2.3 [DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7 [DEBUG] Included: org.sonatype.aether:aether-util:jar:1.7 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.14 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:2.0.0 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.3.0 [DEBUG] Included: org.apache.maven.shared:maven-artifact-transfer:jar:0.12.0 [DEBUG] Included: org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1 [DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:3.1.0 [DEBUG] Included: commons-codec:commons-codec:jar:1.11 [DEBUG] Included: org.ow2.asm:asm:jar:8.0 [DEBUG] Included: org.ow2.asm:asm-commons:jar:8.0 [DEBUG] Included: org.ow2.asm:asm-tree:jar:8.0 [DEBUG] Included: org.ow2.asm:asm-analysis:jar:8.0 [DEBUG] Included: org.jdom:jdom2:jar:2.0.6 [DEBUG] Included: org.apache.maven.shared:maven-dependency-tree:jar:3.0.1 [DEBUG] Included: org.eclipse.aether:aether-util:jar:0.9.0.M2 [DEBUG] Included: commons-io:commons-io:jar:2.5 [DEBUG] Included: org.vafer:jdependency:jar:2.4.0 [DEBUG] Included: org.ow2.asm:asm-util:jar:8.0 [DEBUG] Included: com.google.guava:guava:jar:19.0 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@1ebdb06] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade' with basic configurator --> [DEBUG] (f) includes = [io.dropwizard.metrics:metrics-core, io.sniffy:*, com.eclipsesource.minimal-json:minimal-json, org.webjars:*, com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru, org.webjars.bower:*] [DEBUG] (f) artifactSet = org.apache.maven.plugins.shade.mojo.ArtifactSet@1c72992 [DEBUG] (f) createDependencyReducedPom = true [DEBUG] (f) createSourcesJar = true [DEBUG] (f) dependencyReducedPomLocation = C:\work\github\sniffy\sniffy\dependency-reduced-pom.xml [DEBUG] (f) generateUniqueDependencyReducedPom = false [DEBUG] (f) localRepository = id: local url: file:///C:/Users/bedrin/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] blocked: false [DEBUG] (f) project = MavenProject: io.sniffy:sniffy:3.1.13-SNAPSHOT @ C:\work\github\sniffy\sniffy\pom.xml [DEBUG] (f) pattern = com.googlecode.concurrentlinkedhashmap [DEBUG] (f) shadedPattern = io.sniffy.shaded.com.googlecode.concurrentlinkedhashmap [DEBUG] (f) pattern = com.eclipsesource [DEBUG] (f) shadedPattern = io.sniffy.shaded.com.eclipsesource [DEBUG] (f) pattern = com.codahale.metrics [DEBUG] (f) shadedPattern = io.sniffy.shaded.com.codahale.metrics [DEBUG] (f) relocations = [org.apache.maven.plugins.shade.mojo.PackageRelocation@18fe939, org.apache.maven.plugins.shade.mojo.PackageRelocation@2e4eaf, org.apache.maven.plugins.shade.mojo.PackageRelocation@4e7270] [DEBUG] (f) remoteArtifactRepositories = [] [DEBUG] (f) session = org.apache.maven.execution.MavenSession@1033eac [DEBUG] (f) shadeSourcesContent = true [DEBUG] (f) shadeTestJar = false [DEBUG] (f) shadedClassifierName = shaded [DEBUG] (f) useBaseVersion = false [DEBUG] -- end configuration -- [INFO] Including io.sniffy:sniffy-web:jar:3.1.13-SNAPSHOT in the shaded jar. [INFO] Including io.sniffy:sniffy-core:jar:3.1.13-SNAPSHOT in the shaded jar. [INFO] Including com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.4.2 in the shaded jar. [DEBUG] Resolving artifact com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:sources:1.4.2 from [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2 Downloading from central: https://repo.maven.apache.org/maven2/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.4.2/concurrentlinkedhashmap-lru-1.4.2-sources.jar Downloaded from central: https://repo.maven.apache.org/maven2/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.4.2/concurrentlinkedhashmap-lru-1.4.2-sources.jar (57 kB at 86 kB/s) [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.4.2\_remote.repositories [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.4.2\concurrentlinkedhashmap-lru-1.4.2-sources.jar.lastUpdated [INFO] Including com.eclipsesource.minimal-json:minimal-json:jar:0.9.5 in the shaded jar. [DEBUG] Resolving artifact com.eclipsesource.minimal-json:minimal-json:jar:sources:0.9.5 from [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2 Downloading from central: https://repo.maven.apache.org/maven2/com/eclipsesource/minimal-json/minimal-json/0.9.5/minimal-json-0.9.5-sources.jar Downloaded from central: https://repo.maven.apache.org/maven2/com/eclipsesource/minimal-json/minimal-json/0.9.5/minimal-json-0.9.5-sources.jar (34 kB at 170 kB/s) [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\com\eclipsesource\minimal-json\minimal-json\0.9.5\_remote.repositories [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\com\eclipsesource\minimal-json\minimal-json\0.9.5\minimal-json-0.9.5-sources.jar.lastUpdated [INFO] Including io.dropwizard.metrics:metrics-core:jar:3.1.0 in the shaded jar. [DEBUG] Resolving artifact io.dropwizard.metrics:metrics-core:jar:sources:3.1.0 from [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2 Downloading from central: https://repo.maven.apache.org/maven2/io/dropwizard/metrics/metrics-core/3.1.0/metrics-core-3.1.0-sources.jar Downloaded from central: https://repo.maven.apache.org/maven2/io/dropwizard/metrics/metrics-core/3.1.0/metrics-core-3.1.0-sources.jar (53 kB at 487 kB/s) [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\io\dropwizard\metrics\metrics-core\3.1.0\_remote.repositories [DEBUG] Writing tracking file C:\Users\bedrin\.m2\repository\io\dropwizard\metrics\metrics-core\3.1.0\metrics-core-3.1.0-sources.jar.lastUpdated [INFO] Including io.sniffy:sniffy-module-tls:jar:3.1.13-SNAPSHOT in the shaded jar. [INFO] Including io.sniffy:sniffy-module-nio:jar:3.1.13-SNAPSHOT in the shaded jar. [INFO] Including io.sniffy:sniffy-module-nio-compat:jar:3.1.13-SNAPSHOT in the shaded jar. [INFO] Excluding org.codehaus.mojo:animal-sniffer-annotations:jar:1.20 from the shaded jar. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Sniffy Parent 3.1.13-SNAPSHOT: [INFO] [INFO] Sniffy Parent ...................................... SUCCESS [ 1.254 s] [INFO] Sniffy Core ........................................ SUCCESS [ 26.476 s] [INFO] Sniffy TLS Module .................................. SUCCESS [ 46.759 s] [INFO] Sniffy NIO Module .................................. SUCCESS [ 5.913 s] [INFO] Sniffy NIO Compatibility Module Dependencies ....... SUCCESS [ 0.258 s] [INFO] Sniffy NIO Compatibility Module .................... SUCCESS [ 7.396 s] [INFO] Sniffy Web ......................................... SUCCESS [ 16.885 s] [INFO] Sniffy ............................................. FAILURE [ 15.847 s] [INFO] sniffy-test ........................................ SKIPPED [INFO] sniffy-test-common ................................. SKIPPED [INFO] sniffy-junit ....................................... SKIPPED [INFO] sniffy-kotest ...................................... SKIPPED [INFO] sniffy-testng ...................................... SKIPPED [INFO] sniffy-spring-test ................................. SKIPPED [INFO] sniffy-integration-tests ........................... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls ............... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-vertx ......... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-bc ............ SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-bc-before-sniffy SKIPPED [INFO] sniffy-integration-tests-spock ..................... SKIPPED [INFO] sniffy-integration-tests-spring-boot ............... SKIPPED [INFO] sniffy-integration-tests-spring-boot-2 ............. SKIPPED [INFO] sniffy-integration-tests-spring-kafka .............. SKIPPED [INFO] sniffy-integration-tests-tomcat .................... SKIPPED [INFO] Sniffy Documentation ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:01 min [INFO] Finished at: 2022-01-28T13:57:13+03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade (default) on project sniffy: Error creating shaded jar: Cannot invoke "java.io.File.mkdirs()" because the return value of "java.io.File.getParentFile()" is null -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade (default) on project sniffy: Error creating shaded jar: Cannot invoke "java.io.File.mkdirs()" because the return value of "java.io.File.getParentFile()" is null 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.MojoExecutionException: Error creating shaded jar: Cannot invoke "java.io.File.mkdirs()" because the return value of "java.io.File.getParentFile()" is null at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute (ShadeMojo.java:607) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) 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) Caused by: java.lang.NullPointerException: Cannot invoke "java.io.File.mkdirs()" because the return value of "java.io.File.getParentFile()" is null at org.apache.maven.plugins.shade.DefaultShader.shade (DefaultShader.java:96) at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute (ShadeMojo.java:463) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) 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/MojoExecutionException{noformat} Another intermittent error from surefire plugin: {noformat}[INFO] --- maven-surefire-plugin:2.22.2:test (JUnit-execution-java14-compatibility) @ sniffy-web --- [DEBUG] Configuring mojo org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:2.22.2--850414008, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@1ebdb06] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test' with basic configurator --> [DEBUG] (s) additionalClasspathElements = [] [DEBUG] (s) argLine = -javaagent:C:\\Users\\bedrin\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.8-SNAPSHOT\\org.jacoco.agent-0.8.8-SNAPSHOT-runtime.jar=destfile=C:\\work\\github\\sniffy\\sniffy-web\\target\\jacoco.exec,append=true [DEBUG] (s) basedir = C:\work\github\sniffy\sniffy-web [DEBUG] (s) childDelegation = false [DEBUG] (s) classesDirectory = C:\work\github\sniffy\sniffy-web\target\classes [DEBUG] (s) classpathDependencyExcludes = [] [DEBUG] (s) dependenciesToScan = [] [DEBUG] (s) disableXmlReport = false [DEBUG] (s) enableAssertions = true [DEBUG] (s) excludes = [%regex[.*TestNg.*]] [DEBUG] (f) forkCount = 1 [DEBUG] (s) forkMode = once [DEBUG] (s) forkedProcessExitTimeoutInSeconds = 30 [DEBUG] (s) forkedProcessTimeoutInSeconds = 300 [DEBUG] (s) junitArtifactName = junit:junit [DEBUG] (s) junitPlatformArtifactName = org.junit.platform:junit-platform-engine [DEBUG] (s) localRepository = id: local url: file:///C:/Users/bedrin/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] blocked: false [DEBUG] (f) parallelMavenExecution = false [DEBUG] (s) parallelOptimized = true [DEBUG] (s) perCoreThreadCount = true [DEBUG] (s) pluginArtifactMap = {} [DEBUG] (f) pluginDescriptor = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugin.surefire.HelpMojo', role hint: 'org.apache.maven.plugins:maven-surefire-plugin:2.22.2:help' role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugin.surefire.SurefirePlugin', role hint: 'org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test' --- [DEBUG] (s) printSummary = true [DEBUG] (s) projectArtifactMap = {io.sniffy:sniffy-core=io.sniffy:sniffy-core:test-jar:tests:3.1.13-SNAPSHOT:test, com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru=com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.4.2:compile, com.eclipsesource.minimal-json:minimal-json=com.eclipsesource.minimal-json:minimal-json:jar:0.9.5:compile, io.dropwizard.metrics:metrics-core=io.dropwizard.metrics:metrics-core:jar:3.1.0:compile, io.sniffy:sniffy-module-tls=io.sniffy:sniffy-module-tls:jar:3.1.13-SNAPSHOT:compile, io.sniffy:sniffy-module-nio=io.sniffy:sniffy-module-nio:jar:3.1.13-SNAPSHOT:compile, io.sniffy:sniffy-module-nio-compat=io.sniffy:sniffy-module-nio-compat:jar:3.1.13-SNAPSHOT:compile, io.sniffy:sniffy-ui=io.sniffy:sniffy-ui:jar:3.1.8:provided, javax.servlet:javax.servlet-api=javax.servlet:javax.servlet-api:jar:3.1.0:provided, javax.annotation:javax.annotation-api=javax.annotation:javax.annotation-api:jar:1.3.2:test, org.springframework.boot:spring-boot=org.springframework.boot:spring-boot:jar:1.5.22.RELEASE:compile, org.springframework:spring-context=org.springframework:spring-context:jar:4.3.27.RELEASE:compile, org.springframework:spring-webmvc=org.springframework:spring-webmvc:jar:4.3.27.RELEASE:test, org.springframework:spring-aop=org.springframework:spring-aop:jar:4.3.27.RELEASE:compile, org.springframework:spring-beans=org.springframework:spring-beans:jar:4.3.27.RELEASE:compile, org.springframework:spring-core=org.springframework:spring-core:jar:4.3.27.RELEASE:compile, commons-logging:commons-logging=commons-logging:commons-logging:jar:1.2:compile, org.springframework:spring-expression=org.springframework:spring-expression:jar:4.3.27.RELEASE:compile, org.springframework:spring-web=org.springframework:spring-web:jar:4.3.27.RELEASE:test, org.springframework:spring-test=org.springframework:spring-test:jar:4.3.27.RELEASE:test, com.jayway.jsonpath:json-path=com.jayway.jsonpath:json-path:jar:2.4.0:test, net.minidev:json-smart=net.minidev:json-smart:jar:2.3:test, net.minidev:accessors-smart=net.minidev:accessors-smart:jar:1.2:test, org.slf4j:slf4j-api=org.slf4j:slf4j-api:jar:1.7.30:compile, org.graalvm.js:js=org.graalvm.js:js:jar:20.2.0:test, org.graalvm.regex:regex=org.graalvm.regex:regex:jar:20.2.0:test, org.graalvm.truffle:truffle-api=org.graalvm.truffle:truffle-api:jar:20.2.0:test, org.graalvm.sdk:graal-sdk=org.graalvm.sdk:graal-sdk:jar:20.2.0:test, org.ow2.asm:asm=org.ow2.asm:asm:jar:7.1:test, org.ow2.asm:asm-tree=org.ow2.asm:asm-tree:jar:7.1:test, org.ow2.asm:asm-analysis=org.ow2.asm:asm-analysis:jar:7.1:test, org.ow2.asm:asm-commons=org.ow2.asm:asm-commons:jar:7.1:test, org.ow2.asm:asm-util=org.ow2.asm:asm-util:jar:7.1:test, com.ibm.icu:icu4j=com.ibm.icu:icu4j:jar:67.1:test, org.graalvm.js:js-scriptengine=org.graalvm.js:js-scriptengine:jar:20.2.0:test, org.codehaus.mojo:animal-sniffer-annotations=org.codehaus.mojo:animal-sniffer-annotations:jar:1.20:compile, io.qameta.allure:allure-java-commons=io.qameta.allure:allure-java-commons:jar:2.17.2:test, io.qameta.allure:allure-model=io.qameta.allure:allure-model:jar:2.17.2:test, com.h2database:h2=com.h2database:h2:jar:1.4.200:test, org.mockito:mockito-core=org.mockito:mockito-core:jar:3.3.3:test, net.bytebuddy:byte-buddy=net.bytebuddy:byte-buddy:jar:1.9.10:test, net.bytebuddy:byte-buddy-agent=net.bytebuddy:byte-buddy-agent:jar:1.9.10:test, org.objenesis:objenesis=org.objenesis:objenesis:jar:3.0.1:test, org.hamcrest:hamcrest-library=org.hamcrest:hamcrest-library:jar:2.2:test, org.hamcrest:hamcrest-core=org.hamcrest:hamcrest-core:jar:2.2:test, org.hamcrest:hamcrest=org.hamcrest:hamcrest:jar:2.2:test, junit:junit=junit:junit:jar:4.13.1:test} [DEBUG] (s) projectBuildDirectory = C:\work\github\sniffy\sniffy-web\target [DEBUG] (s) redirectTestOutputToFile = false [DEBUG] (s) remoteRepositories = [ id: sonatype-nexus-snapshots url: https://oss.sonatype.org/content/repositories/snapshots layout: default snapshots: [enabled => true, update => daily] releases: [enabled => false, update => daily] blocked: false , id: central url: https://repo.maven.apache.org/maven2 layout: default snapshots: [enabled => false, update => daily] releases: [enabled => true, update => never] blocked: false ] [DEBUG] (s) reportFormat = brief [DEBUG] (s) reportsDirectory = C:\work\github\sniffy\sniffy-web\target\surefire-reports [DEBUG] (f) rerunFailingTestsCount = 0 [DEBUG] (f) reuseForks = true [DEBUG] (s) runOrder = alphabetical [DEBUG] (f) shutdown = testset [DEBUG] (s) skip = false [DEBUG] (f) skipAfterFailureCount = 0 [DEBUG] (s) skipTests = false [DEBUG] (s) suiteXmlFiles = [] [DEBUG] (s) systemPropertyVariables = {io.sniffy.forceJava14Compatibility=true} [DEBUG] (s) tempDir = surefire [DEBUG] (s) testClassesDirectory = C:\work\github\sniffy\sniffy-web\target\test-classes [DEBUG] (s) testFailureIgnore = false [DEBUG] (s) testNGArtifactName = dev:null [DEBUG] (s) testSourceDirectory = C:\work\github\sniffy\sniffy-web\src\test\java [DEBUG] (s) threadCountClasses = 0 [DEBUG] (s) threadCountMethods = 0 [DEBUG] (s) threadCountSuites = 0 [DEBUG] (s) trimStackTrace = true [DEBUG] (s) useFile = true [DEBUG] (s) useManifestOnlyJar = true [DEBUG] (s) useSystemClassLoader = true [DEBUG] (s) useUnlimitedThreads = false [DEBUG] (s) workingDirectory = C:\work\github\sniffy\sniffy-web [DEBUG] (s) project = MavenProject: io.sniffy:sniffy-web:3.1.13-SNAPSHOT @ C:\work\github\sniffy\sniffy-web\pom.xml [DEBUG] (s) session = org.apache.maven.execution.MavenSession@1ba0a6f [DEBUG] -- end configuration -- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Sniffy Parent 3.1.13-SNAPSHOT: [INFO] [INFO] Sniffy Parent ...................................... SUCCESS [ 7.538 s] [INFO] Sniffy Core ........................................ SUCCESS [ 35.499 s] [INFO] Sniffy TLS Module .................................. SUCCESS [ 27.141 s] [INFO] Sniffy NIO Module .................................. SUCCESS [ 6.370 s] [INFO] Sniffy NIO Compatibility Module Dependencies ....... SUCCESS [ 0.214 s] [INFO] Sniffy NIO Compatibility Module .................... SUCCESS [ 9.395 s] [INFO] Sniffy Web ......................................... FAILURE [ 13.819 s] [INFO] Sniffy ............................................. SKIPPED [INFO] sniffy-test ........................................ SKIPPED [INFO] sniffy-test-common ................................. SKIPPED [INFO] sniffy-junit ....................................... SKIPPED [INFO] sniffy-kotest ...................................... SKIPPED [INFO] sniffy-testng ...................................... SKIPPED [INFO] sniffy-spring-test ................................. SKIPPED [INFO] sniffy-integration-tests ........................... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls ............... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-vertx ......... SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-bc ............ SKIPPED [INFO] sniffy-integration-tests-decrypt-tls-bc-before-sniffy SKIPPED [INFO] sniffy-integration-tests-spock ..................... SKIPPED [INFO] sniffy-integration-tests-spring-boot ............... SKIPPED [INFO] sniffy-integration-tests-spring-boot-2 ............. SKIPPED [INFO] sniffy-integration-tests-spring-kafka .............. SKIPPED [INFO] sniffy-integration-tests-tomcat .................... SKIPPED [INFO] Sniffy Documentation ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:46 min [INFO] Finished at: 2022-01-28T16:14:48+03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (JUnit-execution-java14-compatibility) on project sniffy-web: Execution JUnit-execution-java14-compatibility of goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed: Unable to locate surefire-booter in the list of plugin artifacts -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (JUnit-execution-java14-compatibility) on project sniffy-web: Execution JUnit-execution-java14-compatibility of goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed: Unable to locate surefire-booter in the list of plugin artifacts 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.PluginExecutionException: Execution JUnit-execution-java14-compatibility of goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed: Unable to locate surefire-booter in the list of plugin artifacts at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) 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) Caused by: java.lang.RuntimeException: Unable to locate surefire-booter in the list of plugin artifacts at org.apache.maven.plugin.surefire.AbstractSurefireMojo.getSurefireBooterArtifact (AbstractSurefireMojo.java:2343) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.setupStuff (AbstractSurefireMojo.java:880) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:841) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) 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/PluginExecutionException{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. {noformat}Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: c:\work\opt\apache-maven-3.8.4 Java version: 19-ea, vendor: Azul Systems, Inc., runtime: c:\work\opt\zulu19.0.21-ea-jdk19.0.0-ea.6-win_i686 Default locale: en_GB, platform encoding: UTF-8 OS name: "windows 11", version: "10.0", arch: "x86", family: "windows"{noformat} Here's the repo to reproduce it: [https://github.com/sniffy/sniffy] > Intermittent failures on Java 18-EA / 19-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}[INFO] --- maven-compiler-plugin:3.9.0:compile (default-compile) @ > sniffy --- > [DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=9500, > ConflictMarker.markTime=9500, ConflictMarker.nodeCount=17, > ConflictIdSorter.graphTime=5100, ConflictIdSorter.topsortTime=8400, > ConflictIdSorter.conflictIdCount=12, ConflictIdSorter.conflictIdCycleCount=0, > ConflictResolver.totalTime=60300, ConflictResolver.conflictItemCount=17, > DefaultDependencyCollector.collectTime=1351500, > DefaultDependencyCollector.transformTime=101700} > [DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:3.9.0 > [DEBUG] org.apache.maven.shared:maven-shared-utils:jar:3.3.4:compile > [DEBUG] commons-io:commons-io:jar:2.6:compile > [DEBUG] org.apache.maven.shared:maven-shared-incremental:jar:1.1:compile > [DEBUG] > org.codehaus.plexus:plexus-component-annotations:jar:2.0.0:compile (version > managed from default) > [DEBUG] org.codehaus.plexus:plexus-java:jar:1.1.0:compile > [DEBUG] org.ow2.asm:asm:jar:9.2:compile > [DEBUG] com.thoughtworks.qdox:qdox:jar:2.0.1:compile (version managed > from default) > [DEBUG] org.codehaus.plexus:plexus-compiler-api:jar:2.9.0:compile > [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.3.0:compile > [DEBUG] org.codehaus.plexus:plexus-compiler-manager:jar:2.9.0:compile > [DEBUG] org.codehaus.plexus:plexus-compiler-javac:jar:2.9.0:runtime > [DEBUG] Created new class realm > plugin>org.apache.maven.plugins:maven-compiler-plugin:3.9.0--107150504 > [DEBUG] Importing foreign packages into class realm > plugin>org.apache.maven.plugins:maven-compiler-plugin:3.9.0--107150504 > [DEBUG] Imported: < project>io.sniffy:sniffy:3.1.13-SNAPSHOT > [DEBUG] Populating class realm > plugin>org.apache.maven.plugins:maven-compiler-plugin:3.9.0--107150504 > [DEBUG] Included: org.apache.maven.plugins:maven-compiler-plugin:jar:3.9.0 > [DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:3.3.4 > [DEBUG] Included: commons-io:commons-io:jar:2.6 > [DEBUG] Included: org.apache.maven.shared:maven-shared-incremental:jar:1.1 > [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:2.0.0 > [DEBUG] Included: org.codehaus.plexus:plexus-java:jar:1.1.0 > [DEBUG] Included: org.ow2.asm:asm:jar:9.2 > [DEBUG] Included: com.thoughtworks.qdox:qdox:jar:2.0.1 > [DEBUG] Included: org.codehaus.plexus:plexus-compiler-api:jar:2.9.0 > [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.3.0 > [DEBUG] Included: org.codehaus.plexus:plexus-compiler-manager:jar:2.9.0 > [DEBUG] Included: org.codehaus.plexus:plexus-compiler-javac:jar:2.9.0 > [DEBUG] Configuring mojo > org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile from plugin > realm > ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.9.0--107150504, > parent: jdk.internal.loader.ClassLoaders$AppClassLoader@1ebdb06] > [DEBUG] Configuring mojo > 'org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile' with basic > configurator --> > [DEBUG] (f) basedir = C:\work\github\sniffy\sniffy > [DEBUG] (f) compilePath = [] > [DEBUG] (f) compileSourceRoots = [] > [DEBUG] (f) compilerId = javac > [DEBUG] (f) debug = true > [DEBUG] (f) encoding = UTF-8 > [DEBUG] (f) failOnError = true > [DEBUG] (f) failOnWarning = false > [DEBUG] (f) forceJavacCompilerUse = false > [DEBUG] (f) fork = false > [DEBUG] (f) generatedSourcesDirectory = > C:\work\github\sniffy\sniffy\${project.build.directory}\generated-sources\annotations > [DEBUG] (f) mojoExecution = > org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile {execution: > default-compile} > [DEBUG] (f) optimize = false > [DEBUG] (f) parameters = false > [DEBUG] (f) project = MavenProject: io.sniffy:sniffy:3.1.13-SNAPSHOT @ > C:\work\github\sniffy\sniffy\pom.xml > [DEBUG] (f) session = org.apache.maven.execution.MavenSession@1033eac > [DEBUG] (f) showDeprecation = false > [DEBUG] (f) showWarnings = false > [DEBUG] (f) skipMultiThreadWarning = false > [DEBUG] (f) source = 1.9 > [DEBUG] (f) staleMillis = 0 > [DEBUG] (s) target = 1.9 > [DEBUG] (f) useIncrementalCompilation = true > [DEBUG] (f) verbose = false > [DEBUG] -- end configuration -- > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary for Sniffy Parent 3.1.13-SNAPSHOT: > [INFO] > [INFO] Sniffy Parent ...................................... SUCCESS [ 1.175 > s] > [INFO] Sniffy Core ........................................ SUCCESS [ 25.631 > s] > [INFO] Sniffy TLS Module .................................. SUCCESS [ 31.500 > s] > [INFO] Sniffy NIO Module .................................. SUCCESS [ 5.688 > s] > [INFO] Sniffy NIO Compatibility Module Dependencies ....... SUCCESS [ 0.192 > s] > [INFO] Sniffy NIO Compatibility Module .................... SUCCESS [ 6.088 > s] > [INFO] Sniffy Web ......................................... SUCCESS [ 15.365 > s] > [INFO] Sniffy ............................................. FAILURE [ 24.528 > s] > [INFO] sniffy-test ........................................ SKIPPED > [INFO] sniffy-test-common ................................. SKIPPED > [INFO] sniffy-junit ....................................... SKIPPED > [INFO] sniffy-kotest ...................................... SKIPPED > [INFO] sniffy-testng ...................................... SKIPPED > [INFO] sniffy-spring-test ................................. SKIPPED > [INFO] sniffy-integration-tests ........................... SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls ............... SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls-vertx ......... SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls-bc ............ SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls-bc-before-sniffy SKIPPED > [INFO] sniffy-integration-tests-spock ..................... SKIPPED > [INFO] sniffy-integration-tests-spring-boot ............... SKIPPED > [INFO] sniffy-integration-tests-spring-boot-2 ............. SKIPPED > [INFO] sniffy-integration-tests-spring-kafka .............. SKIPPED > [INFO] sniffy-integration-tests-tomcat .................... SKIPPED > [INFO] Sniffy Documentation ............................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 01:50 min > [INFO] Finished at: 2022-01-28T16:21:01+03:00 > [INFO] > ------------------------------------------------------------------------ > [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} > > Example with debug output from shade plugin - here's the error is a bit > different (`File.getParentFile() is null`) but I'm getting it sporadically as > well: > {noformat}[INFO] --- maven-shade-plugin:3.2.3:shade (default) @ sniffy --- > [DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=43300, > ConflictMarker.markTime=24900, ConflictMarker.nodeCount=101, > ConflictIdSorter.graphTime=23500, ConflictIdSorter.topsortTime=16700, > ConflictIdSorter.conflictIdCount=39, ConflictIdSorter.conflictIdCycleCount=0, > ConflictResolver.totalTime=246200, ConflictResolver.conflictItemCount=95, > DefaultDependencyCollector.collectTime=227118000, > DefaultDependencyCollector.transformTime=368300} > [DEBUG] org.apache.maven.plugins:maven-shade-plugin:jar:3.2.3 > [DEBUG] org.apache.maven:maven-plugin-api:jar:3.0:compile > [DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile > [DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile > [DEBUG] org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile > [DEBUG] org.apache.maven:maven-model:jar:3.0:compile > [DEBUG] org.apache.maven:maven-core:jar:3.0:compile > [DEBUG] org.apache.maven:maven-settings:jar:3.0:compile > [DEBUG] org.apache.maven:maven-settings-builder:jar:3.0:compile > [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0:compile > [DEBUG] org.apache.maven:maven-model-builder:jar:3.0:compile > [DEBUG] org.apache.maven:maven-aether-provider:jar:3.0:runtime > [DEBUG] org.sonatype.aether:aether-impl:jar:1.7:compile > [DEBUG] org.sonatype.aether:aether-spi:jar:1.7:compile > [DEBUG] org.sonatype.aether:aether-api:jar:1.7:compile > [DEBUG] org.sonatype.aether:aether-util:jar:1.7:compile > [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile > [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile > [DEBUG] > org.codehaus.plexus:plexus-component-annotations:jar:2.0.0:compile (version > managed from default) > [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile > [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile > [DEBUG] org.apache.maven:maven-artifact:jar:3.0:compile > [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.3.0:compile > [DEBUG] org.apache.maven.shared:maven-artifact-transfer:jar:0.12.0:compile > [DEBUG] > org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1:compile > [DEBUG] org.apache.maven.shared:maven-shared-utils:jar:3.1.0:compile > [DEBUG] commons-codec:commons-codec:jar:1.11:compile > [DEBUG] org.slf4j:slf4j-api:jar:1.7.5:compile > [DEBUG] org.ow2.asm:asm:jar:8.0:compile > [DEBUG] org.ow2.asm:asm-commons:jar:8.0:compile > [DEBUG] org.ow2.asm:asm-tree:jar:8.0:compile > [DEBUG] org.ow2.asm:asm-analysis:jar:8.0:compile > [DEBUG] org.jdom:jdom2:jar:2.0.6:compile > [DEBUG] org.apache.maven.shared:maven-dependency-tree:jar:3.0.1:compile > [DEBUG] org.eclipse.aether:aether-util:jar:0.9.0.M2:compile > [DEBUG] commons-io:commons-io:jar:2.5:compile > [DEBUG] org.vafer:jdependency:jar:2.4.0:compile > [DEBUG] org.ow2.asm:asm-util:jar:8.0:compile > [DEBUG] com.google.guava:guava:jar:19.0:compile > [DEBUG] Created new class realm > plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3 > [DEBUG] Importing foreign packages into class realm > plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3 > [DEBUG] Imported: < project>io.sniffy:sniffy:3.1.13-SNAPSHOT > [DEBUG] Populating class realm > plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3 > [DEBUG] Included: org.apache.maven.plugins:maven-shade-plugin:jar:3.2.3 > [DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2 > [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7 > [DEBUG] Included: org.sonatype.aether:aether-util:jar:1.7 > [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.14 > [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:2.0.0 > [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 > [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4 > [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.3.0 > [DEBUG] Included: org.apache.maven.shared:maven-artifact-transfer:jar:0.12.0 > [DEBUG] Included: > org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1 > [DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:3.1.0 > [DEBUG] Included: commons-codec:commons-codec:jar:1.11 > [DEBUG] Included: org.ow2.asm:asm:jar:8.0 > [DEBUG] Included: org.ow2.asm:asm-commons:jar:8.0 > [DEBUG] Included: org.ow2.asm:asm-tree:jar:8.0 > [DEBUG] Included: org.ow2.asm:asm-analysis:jar:8.0 > [DEBUG] Included: org.jdom:jdom2:jar:2.0.6 > [DEBUG] Included: org.apache.maven.shared:maven-dependency-tree:jar:3.0.1 > [DEBUG] Included: org.eclipse.aether:aether-util:jar:0.9.0.M2 > [DEBUG] Included: commons-io:commons-io:jar:2.5 > [DEBUG] Included: org.vafer:jdependency:jar:2.4.0 > [DEBUG] Included: org.ow2.asm:asm-util:jar:8.0 > [DEBUG] Included: com.google.guava:guava:jar:19.0 > [DEBUG] Configuring mojo > org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade from plugin realm > ClassRealm[plugin>org.apache.maven.plugins:maven-shade-plugin:3.2.3, parent: > jdk.internal.loader.ClassLoaders$AppClassLoader@1ebdb06] > [DEBUG] Configuring mojo > 'org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade' with basic > configurator --> > [DEBUG] (f) includes = [io.dropwizard.metrics:metrics-core, io.sniffy:*, > com.eclipsesource.minimal-json:minimal-json, org.webjars:*, > com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru, > org.webjars.bower:*] > [DEBUG] (f) artifactSet = > org.apache.maven.plugins.shade.mojo.ArtifactSet@1c72992 > [DEBUG] (f) createDependencyReducedPom = true > [DEBUG] (f) createSourcesJar = true > [DEBUG] (f) dependencyReducedPomLocation = > C:\work\github\sniffy\sniffy\dependency-reduced-pom.xml > [DEBUG] (f) generateUniqueDependencyReducedPom = false > [DEBUG] (f) localRepository = id: local > url: file:///C:/Users/bedrin/.m2/repository/ > layout: default > snapshots: [enabled => true, update => always] > releases: [enabled => true, update => always] > blocked: false > [DEBUG] (f) project = MavenProject: io.sniffy:sniffy:3.1.13-SNAPSHOT @ > C:\work\github\sniffy\sniffy\pom.xml > [DEBUG] (f) pattern = com.googlecode.concurrentlinkedhashmap > [DEBUG] (f) shadedPattern = > io.sniffy.shaded.com.googlecode.concurrentlinkedhashmap > [DEBUG] (f) pattern = com.eclipsesource > [DEBUG] (f) shadedPattern = io.sniffy.shaded.com.eclipsesource > [DEBUG] (f) pattern = com.codahale.metrics > [DEBUG] (f) shadedPattern = io.sniffy.shaded.com.codahale.metrics > [DEBUG] (f) relocations = > [org.apache.maven.plugins.shade.mojo.PackageRelocation@18fe939, > org.apache.maven.plugins.shade.mojo.PackageRelocation@2e4eaf, > org.apache.maven.plugins.shade.mojo.PackageRelocation@4e7270] > [DEBUG] (f) remoteArtifactRepositories = [] > [DEBUG] (f) session = org.apache.maven.execution.MavenSession@1033eac > [DEBUG] (f) shadeSourcesContent = true > [DEBUG] (f) shadeTestJar = false > [DEBUG] (f) shadedClassifierName = shaded > [DEBUG] (f) useBaseVersion = false > [DEBUG] -- end configuration -- > [INFO] Including io.sniffy:sniffy-web:jar:3.1.13-SNAPSHOT in the shaded jar. > [INFO] Including io.sniffy:sniffy-core:jar:3.1.13-SNAPSHOT in the shaded jar. > [INFO] Including > com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.4.2 > in the shaded jar. > [DEBUG] Resolving artifact > com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:sources:1.4.2 > from [central (https://repo.maven.apache.org/maven2, default, releases)] > [DEBUG] Using transporter WagonTransporter with priority -1.0 for > https://repo.maven.apache.org/maven2 > [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for > https://repo.maven.apache.org/maven2 > Downloading from central: > https://repo.maven.apache.org/maven2/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.4.2/concurrentlinkedhashmap-lru-1.4.2-sources.jar > Downloaded from central: > https://repo.maven.apache.org/maven2/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.4.2/concurrentlinkedhashmap-lru-1.4.2-sources.jar > (57 kB at 86 kB/s) > [DEBUG] Writing tracking file > C:\Users\bedrin\.m2\repository\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.4.2\_remote.repositories > [DEBUG] Writing tracking file > C:\Users\bedrin\.m2\repository\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.4.2\concurrentlinkedhashmap-lru-1.4.2-sources.jar.lastUpdated > [INFO] Including com.eclipsesource.minimal-json:minimal-json:jar:0.9.5 in the > shaded jar. > [DEBUG] Resolving artifact > com.eclipsesource.minimal-json:minimal-json:jar:sources:0.9.5 from [central > (https://repo.maven.apache.org/maven2, default, releases)] > [DEBUG] Using transporter WagonTransporter with priority -1.0 for > https://repo.maven.apache.org/maven2 > [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for > https://repo.maven.apache.org/maven2 > Downloading from central: > https://repo.maven.apache.org/maven2/com/eclipsesource/minimal-json/minimal-json/0.9.5/minimal-json-0.9.5-sources.jar > Downloaded from central: > https://repo.maven.apache.org/maven2/com/eclipsesource/minimal-json/minimal-json/0.9.5/minimal-json-0.9.5-sources.jar > (34 kB at 170 kB/s) > [DEBUG] Writing tracking file > C:\Users\bedrin\.m2\repository\com\eclipsesource\minimal-json\minimal-json\0.9.5\_remote.repositories > [DEBUG] Writing tracking file > C:\Users\bedrin\.m2\repository\com\eclipsesource\minimal-json\minimal-json\0.9.5\minimal-json-0.9.5-sources.jar.lastUpdated > [INFO] Including io.dropwizard.metrics:metrics-core:jar:3.1.0 in the shaded > jar. > [DEBUG] Resolving artifact > io.dropwizard.metrics:metrics-core:jar:sources:3.1.0 from [central > (https://repo.maven.apache.org/maven2, default, releases)] > [DEBUG] Using transporter WagonTransporter with priority -1.0 for > https://repo.maven.apache.org/maven2 > [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for > https://repo.maven.apache.org/maven2 > Downloading from central: > https://repo.maven.apache.org/maven2/io/dropwizard/metrics/metrics-core/3.1.0/metrics-core-3.1.0-sources.jar > Downloaded from central: > https://repo.maven.apache.org/maven2/io/dropwizard/metrics/metrics-core/3.1.0/metrics-core-3.1.0-sources.jar > (53 kB at 487 kB/s) > [DEBUG] Writing tracking file > C:\Users\bedrin\.m2\repository\io\dropwizard\metrics\metrics-core\3.1.0\_remote.repositories > [DEBUG] Writing tracking file > C:\Users\bedrin\.m2\repository\io\dropwizard\metrics\metrics-core\3.1.0\metrics-core-3.1.0-sources.jar.lastUpdated > [INFO] Including io.sniffy:sniffy-module-tls:jar:3.1.13-SNAPSHOT in the > shaded jar. > [INFO] Including io.sniffy:sniffy-module-nio:jar:3.1.13-SNAPSHOT in the > shaded jar. > [INFO] Including io.sniffy:sniffy-module-nio-compat:jar:3.1.13-SNAPSHOT in > the shaded jar. > [INFO] Excluding org.codehaus.mojo:animal-sniffer-annotations:jar:1.20 from > the shaded jar. > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary for Sniffy Parent 3.1.13-SNAPSHOT: > [INFO] > [INFO] Sniffy Parent ...................................... SUCCESS [ 1.254 > s] > [INFO] Sniffy Core ........................................ SUCCESS [ 26.476 > s] > [INFO] Sniffy TLS Module .................................. SUCCESS [ 46.759 > s] > [INFO] Sniffy NIO Module .................................. SUCCESS [ 5.913 > s] > [INFO] Sniffy NIO Compatibility Module Dependencies ....... SUCCESS [ 0.258 > s] > [INFO] Sniffy NIO Compatibility Module .................... SUCCESS [ 7.396 > s] > [INFO] Sniffy Web ......................................... SUCCESS [ 16.885 > s] > [INFO] Sniffy ............................................. FAILURE [ 15.847 > s] > [INFO] sniffy-test ........................................ SKIPPED > [INFO] sniffy-test-common ................................. SKIPPED > [INFO] sniffy-junit ....................................... SKIPPED > [INFO] sniffy-kotest ...................................... SKIPPED > [INFO] sniffy-testng ...................................... SKIPPED > [INFO] sniffy-spring-test ................................. SKIPPED > [INFO] sniffy-integration-tests ........................... SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls ............... SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls-vertx ......... SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls-bc ............ SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls-bc-before-sniffy SKIPPED > [INFO] sniffy-integration-tests-spock ..................... SKIPPED > [INFO] sniffy-integration-tests-spring-boot ............... SKIPPED > [INFO] sniffy-integration-tests-spring-boot-2 ............. SKIPPED > [INFO] sniffy-integration-tests-spring-kafka .............. SKIPPED > [INFO] sniffy-integration-tests-tomcat .................... SKIPPED > [INFO] Sniffy Documentation ............................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 02:01 min > [INFO] Finished at: 2022-01-28T13:57:13+03:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade (default) on project > sniffy: Error creating shaded jar: Cannot invoke "java.io.File.mkdirs()" > because the return value of "java.io.File.getParentFile()" is null -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-shade-plugin:3.2.3:shade (default) on > project sniffy: Error creating shaded jar: Cannot invoke > "java.io.File.mkdirs()" because the return value of > "java.io.File.getParentFile()" is null > 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.MojoExecutionException: Error creating > shaded jar: Cannot invoke "java.io.File.mkdirs()" because the return value of > "java.io.File.getParentFile()" is null > at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute > (ShadeMojo.java:607) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > 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) > Caused by: java.lang.NullPointerException: Cannot invoke > "java.io.File.mkdirs()" because the return value of > "java.io.File.getParentFile()" is null > at org.apache.maven.plugins.shade.DefaultShader.shade > (DefaultShader.java:96) > at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute > (ShadeMojo.java:463) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > 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/MojoExecutionException{noformat} > > Another intermittent error from surefire plugin: > {noformat}[INFO] --- maven-surefire-plugin:2.22.2:test > (JUnit-execution-java14-compatibility) @ sniffy-web --- > [DEBUG] Configuring mojo > org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test from plugin realm > ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:2.22.2--850414008, > parent: jdk.internal.loader.ClassLoaders$AppClassLoader@1ebdb06] > [DEBUG] Configuring mojo > 'org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test' with basic > configurator --> > [DEBUG] (s) additionalClasspathElements = [] > [DEBUG] (s) argLine = > -javaagent:C:\\Users\\bedrin\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.8-SNAPSHOT\\org.jacoco.agent-0.8.8-SNAPSHOT-runtime.jar=destfile=C:\\work\\github\\sniffy\\sniffy-web\\target\\jacoco.exec,append=true > [DEBUG] (s) basedir = C:\work\github\sniffy\sniffy-web > [DEBUG] (s) childDelegation = false > [DEBUG] (s) classesDirectory = > C:\work\github\sniffy\sniffy-web\target\classes > [DEBUG] (s) classpathDependencyExcludes = [] > [DEBUG] (s) dependenciesToScan = [] > [DEBUG] (s) disableXmlReport = false > [DEBUG] (s) enableAssertions = true > [DEBUG] (s) excludes = [%regex[.*TestNg.*]] > [DEBUG] (f) forkCount = 1 > [DEBUG] (s) forkMode = once > [DEBUG] (s) forkedProcessExitTimeoutInSeconds = 30 > [DEBUG] (s) forkedProcessTimeoutInSeconds = 300 > [DEBUG] (s) junitArtifactName = junit:junit > [DEBUG] (s) junitPlatformArtifactName = > org.junit.platform:junit-platform-engine > [DEBUG] (s) localRepository = id: local > url: file:///C:/Users/bedrin/.m2/repository/ > layout: default > snapshots: [enabled => true, update => always] > releases: [enabled => true, update => always] > blocked: false > [DEBUG] (f) parallelMavenExecution = false > [DEBUG] (s) parallelOptimized = true > [DEBUG] (s) perCoreThreadCount = true > [DEBUG] (s) pluginArtifactMap = {} > [DEBUG] (f) pluginDescriptor = Component Descriptor: role: > 'org.apache.maven.plugin.Mojo', implementation: > 'org.apache.maven.plugin.surefire.HelpMojo', role hint: > 'org.apache.maven.plugins:maven-surefire-plugin:2.22.2:help' > role: 'org.apache.maven.plugin.Mojo', implementation: > 'org.apache.maven.plugin.surefire.SurefirePlugin', role hint: > 'org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test' > --- > [DEBUG] (s) printSummary = true > [DEBUG] (s) projectArtifactMap = > {io.sniffy:sniffy-core=io.sniffy:sniffy-core:test-jar:tests:3.1.13-SNAPSHOT:test, > > com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru=com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.4.2:compile, > > com.eclipsesource.minimal-json:minimal-json=com.eclipsesource.minimal-json:minimal-json:jar:0.9.5:compile, > > io.dropwizard.metrics:metrics-core=io.dropwizard.metrics:metrics-core:jar:3.1.0:compile, > > io.sniffy:sniffy-module-tls=io.sniffy:sniffy-module-tls:jar:3.1.13-SNAPSHOT:compile, > > io.sniffy:sniffy-module-nio=io.sniffy:sniffy-module-nio:jar:3.1.13-SNAPSHOT:compile, > > io.sniffy:sniffy-module-nio-compat=io.sniffy:sniffy-module-nio-compat:jar:3.1.13-SNAPSHOT:compile, > io.sniffy:sniffy-ui=io.sniffy:sniffy-ui:jar:3.1.8:provided, > javax.servlet:javax.servlet-api=javax.servlet:javax.servlet-api:jar:3.1.0:provided, > > javax.annotation:javax.annotation-api=javax.annotation:javax.annotation-api:jar:1.3.2:test, > > org.springframework.boot:spring-boot=org.springframework.boot:spring-boot:jar:1.5.22.RELEASE:compile, > > org.springframework:spring-context=org.springframework:spring-context:jar:4.3.27.RELEASE:compile, > > org.springframework:spring-webmvc=org.springframework:spring-webmvc:jar:4.3.27.RELEASE:test, > > org.springframework:spring-aop=org.springframework:spring-aop:jar:4.3.27.RELEASE:compile, > > org.springframework:spring-beans=org.springframework:spring-beans:jar:4.3.27.RELEASE:compile, > > org.springframework:spring-core=org.springframework:spring-core:jar:4.3.27.RELEASE:compile, > > commons-logging:commons-logging=commons-logging:commons-logging:jar:1.2:compile, > > org.springframework:spring-expression=org.springframework:spring-expression:jar:4.3.27.RELEASE:compile, > > org.springframework:spring-web=org.springframework:spring-web:jar:4.3.27.RELEASE:test, > > org.springframework:spring-test=org.springframework:spring-test:jar:4.3.27.RELEASE:test, > com.jayway.jsonpath:json-path=com.jayway.jsonpath:json-path:jar:2.4.0:test, > net.minidev:json-smart=net.minidev:json-smart:jar:2.3:test, > net.minidev:accessors-smart=net.minidev:accessors-smart:jar:1.2:test, > org.slf4j:slf4j-api=org.slf4j:slf4j-api:jar:1.7.30:compile, > org.graalvm.js:js=org.graalvm.js:js:jar:20.2.0:test, > org.graalvm.regex:regex=org.graalvm.regex:regex:jar:20.2.0:test, > org.graalvm.truffle:truffle-api=org.graalvm.truffle:truffle-api:jar:20.2.0:test, > org.graalvm.sdk:graal-sdk=org.graalvm.sdk:graal-sdk:jar:20.2.0:test, > org.ow2.asm:asm=org.ow2.asm:asm:jar:7.1:test, > org.ow2.asm:asm-tree=org.ow2.asm:asm-tree:jar:7.1:test, > org.ow2.asm:asm-analysis=org.ow2.asm:asm-analysis:jar:7.1:test, > org.ow2.asm:asm-commons=org.ow2.asm:asm-commons:jar:7.1:test, > org.ow2.asm:asm-util=org.ow2.asm:asm-util:jar:7.1:test, > com.ibm.icu:icu4j=com.ibm.icu:icu4j:jar:67.1:test, > org.graalvm.js:js-scriptengine=org.graalvm.js:js-scriptengine:jar:20.2.0:test, > > org.codehaus.mojo:animal-sniffer-annotations=org.codehaus.mojo:animal-sniffer-annotations:jar:1.20:compile, > > io.qameta.allure:allure-java-commons=io.qameta.allure:allure-java-commons:jar:2.17.2:test, > io.qameta.allure:allure-model=io.qameta.allure:allure-model:jar:2.17.2:test, > com.h2database:h2=com.h2database:h2:jar:1.4.200:test, > org.mockito:mockito-core=org.mockito:mockito-core:jar:3.3.3:test, > net.bytebuddy:byte-buddy=net.bytebuddy:byte-buddy:jar:1.9.10:test, > net.bytebuddy:byte-buddy-agent=net.bytebuddy:byte-buddy-agent:jar:1.9.10:test, > org.objenesis:objenesis=org.objenesis:objenesis:jar:3.0.1:test, > org.hamcrest:hamcrest-library=org.hamcrest:hamcrest-library:jar:2.2:test, > org.hamcrest:hamcrest-core=org.hamcrest:hamcrest-core:jar:2.2:test, > org.hamcrest:hamcrest=org.hamcrest:hamcrest:jar:2.2:test, > junit:junit=junit:junit:jar:4.13.1:test} > [DEBUG] (s) projectBuildDirectory = C:\work\github\sniffy\sniffy-web\target > [DEBUG] (s) redirectTestOutputToFile = false > [DEBUG] (s) remoteRepositories = [ id: sonatype-nexus-snapshots > url: https://oss.sonatype.org/content/repositories/snapshots > layout: default > snapshots: [enabled => true, update => daily] > releases: [enabled => false, update => daily] > blocked: false > , id: central > url: https://repo.maven.apache.org/maven2 > layout: default > snapshots: [enabled => false, update => daily] > releases: [enabled => true, update => never] > blocked: false > ] > [DEBUG] (s) reportFormat = brief > [DEBUG] (s) reportsDirectory = > C:\work\github\sniffy\sniffy-web\target\surefire-reports > [DEBUG] (f) rerunFailingTestsCount = 0 > [DEBUG] (f) reuseForks = true > [DEBUG] (s) runOrder = alphabetical > [DEBUG] (f) shutdown = testset > [DEBUG] (s) skip = false > [DEBUG] (f) skipAfterFailureCount = 0 > [DEBUG] (s) skipTests = false > [DEBUG] (s) suiteXmlFiles = [] > [DEBUG] (s) systemPropertyVariables = > {io.sniffy.forceJava14Compatibility=true} > [DEBUG] (s) tempDir = surefire > [DEBUG] (s) testClassesDirectory = > C:\work\github\sniffy\sniffy-web\target\test-classes > [DEBUG] (s) testFailureIgnore = false > [DEBUG] (s) testNGArtifactName = dev:null > [DEBUG] (s) testSourceDirectory = > C:\work\github\sniffy\sniffy-web\src\test\java > [DEBUG] (s) threadCountClasses = 0 > [DEBUG] (s) threadCountMethods = 0 > [DEBUG] (s) threadCountSuites = 0 > [DEBUG] (s) trimStackTrace = true > [DEBUG] (s) useFile = true > [DEBUG] (s) useManifestOnlyJar = true > [DEBUG] (s) useSystemClassLoader = true > [DEBUG] (s) useUnlimitedThreads = false > [DEBUG] (s) workingDirectory = C:\work\github\sniffy\sniffy-web > [DEBUG] (s) project = MavenProject: io.sniffy:sniffy-web:3.1.13-SNAPSHOT @ > C:\work\github\sniffy\sniffy-web\pom.xml > [DEBUG] (s) session = org.apache.maven.execution.MavenSession@1ba0a6f > [DEBUG] -- end configuration -- > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary for Sniffy Parent 3.1.13-SNAPSHOT: > [INFO] > [INFO] Sniffy Parent ...................................... SUCCESS [ 7.538 > s] > [INFO] Sniffy Core ........................................ SUCCESS [ 35.499 > s] > [INFO] Sniffy TLS Module .................................. SUCCESS [ 27.141 > s] > [INFO] Sniffy NIO Module .................................. SUCCESS [ 6.370 > s] > [INFO] Sniffy NIO Compatibility Module Dependencies ....... SUCCESS [ 0.214 > s] > [INFO] Sniffy NIO Compatibility Module .................... SUCCESS [ 9.395 > s] > [INFO] Sniffy Web ......................................... FAILURE [ 13.819 > s] > [INFO] Sniffy ............................................. SKIPPED > [INFO] sniffy-test ........................................ SKIPPED > [INFO] sniffy-test-common ................................. SKIPPED > [INFO] sniffy-junit ....................................... SKIPPED > [INFO] sniffy-kotest ...................................... SKIPPED > [INFO] sniffy-testng ...................................... SKIPPED > [INFO] sniffy-spring-test ................................. SKIPPED > [INFO] sniffy-integration-tests ........................... SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls ............... SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls-vertx ......... SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls-bc ............ SKIPPED > [INFO] sniffy-integration-tests-decrypt-tls-bc-before-sniffy SKIPPED > [INFO] sniffy-integration-tests-spock ..................... SKIPPED > [INFO] sniffy-integration-tests-spring-boot ............... SKIPPED > [INFO] sniffy-integration-tests-spring-boot-2 ............. SKIPPED > [INFO] sniffy-integration-tests-spring-kafka .............. SKIPPED > [INFO] sniffy-integration-tests-tomcat .................... SKIPPED > [INFO] Sniffy Documentation ............................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 01:46 min > [INFO] Finished at: 2022-01-28T16:14:48+03:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test > (JUnit-execution-java14-compatibility) on project sniffy-web: Execution > JUnit-execution-java14-compatibility of goal > org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed: Unable to > locate surefire-booter in the list of plugin artifacts -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test > (JUnit-execution-java14-compatibility) on project sniffy-web: Execution > JUnit-execution-java14-compatibility of goal > org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed: Unable to > locate surefire-booter in the list of plugin artifacts > 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.PluginExecutionException: Execution > JUnit-execution-java14-compatibility of goal > org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed: Unable to > locate surefire-booter in the list of plugin artifacts > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:148) > 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) > Caused by: java.lang.RuntimeException: Unable to locate surefire-booter in > the list of plugin artifacts > at > org.apache.maven.plugin.surefire.AbstractSurefireMojo.getSurefireBooterArtifact > (AbstractSurefireMojo.java:2343) > at org.apache.maven.plugin.surefire.AbstractSurefireMojo.setupStuff > (AbstractSurefireMojo.java:880) > at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute > (AbstractSurefireMojo.java:841) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > 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/PluginExecutionException{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. > {noformat}Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) > Maven home: c:\work\opt\apache-maven-3.8.4 > Java version: 19-ea, vendor: Azul Systems, Inc., runtime: > c:\work\opt\zulu19.0.21-ea-jdk19.0.0-ea.6-win_i686 > Default locale: en_GB, platform encoding: UTF-8 > OS name: "windows 11", version: "10.0", arch: "x86", family: > "windows"{noformat} > > Here's the repo to reproduce it: [https://github.com/sniffy/sniffy] -- This message was sent by Atlassian Jira (v8.20.1#820001)