slachiewicz edited a comment on pull request #423: URL: https://github.com/apache/maven/pull/423#issuecomment-753512089
only one NPE at and of build `java.lang.NullPointerException: Cannot invoke "org.apache.maven.project.MavenProject.equals(Object)" because "firstFailedProject" is null at org.apache.maven.cli.MavenCli.execute (MavenCli.java:1042) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:197) at` https://github.com/apache/maven/blob/538de4d1924ef982df12d32da394e375561a6e19/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java#L1034-L1047 ``` [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.503 s [INFO] Finished at: 2021-01-02T19:18:15+01:00 [INFO] ------------------------------------------------------------------------ [INFO] No failed projects found, resuming the build would not make sense. [ERROR] The maven-gpg-plugin is not supported by Maven 4. Verify if there is a compatible signing solution, add -Dmaven.experimental.buildconsumer=false or use Maven 3. org.apache.maven.lifecycle.LifecycleExecutionException: The maven-gpg-plugin is not supported by Maven 4. Verify if there is a compatible signing solution, add -Dmaven.experimental.buildconsumer=false or use Maven 3. at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan (BuilderCommon.java:123) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:109) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:79) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:64) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:131) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:321) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:206) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:119) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:979) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:197) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:567) 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 executing Maven. java.lang.NullPointerException: Cannot invoke "org.apache.maven.project.MavenProject.equals(Object)" because "firstFailedProject" is null at org.apache.maven.cli.MavenCli.execute (MavenCli.java:1042) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:197) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:567) 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) ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
