-
Bug
-
Resolution: Unresolved
-
Critical
-
None
When running jenkins build with plain maven :
mvn clean package siteĀ
the build is proceeding successfully.
But with using Jenkins Artifactory maven plugin version 3.18.1 gives NullPointer Exception :
[2023-08-01T10:35:57.798Z] [main] ERROR org.apache.maven.cli.MavenCli - Cannot invoke "org.apache.maven.plugin.PluginValidationManager.reportPluginMojoValidationIssue(org.apache.maven.plugin.PluginValidationManager$IssueLocality, org.apache.maven.execution.MavenSession, org.apache.maven.plugin.descriptor.MojoDescriptor, java.lang.Class, String)" because "this.pluginValidationManager" is null [2023-08-01T10:35:57.798Z] java.lang.NullPointerException: Cannot invoke "org.apache.maven.plugin.PluginValidationManager.reportPluginMojoValidationIssue(org.apache.maven.plugin.PluginValidationManager$IssueLocality, org.apache.maven.execution.MavenSession, org.apache.maven.plugin.descriptor.MojoDescriptor, java.lang.Class, String)" because "this.pluginValidationManager" is null [2023-08-01T10:35:57.798Z] at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:549) [2023-08-01T10:35:57.798Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:114) [2023-08-01T10:35:57.798Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328) [2023-08-01T10:35:57.798Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316) [2023-08-01T10:35:57.798Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212) [2023-08-01T10:35:57.799Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174) [2023-08-01T10:35:57.799Z] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75) [2023-08-01T10:35:57.799Z] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162) [2023-08-01T10:35:57.799Z] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) [2023-08-01T10:35:57.799Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) [2023-08-01T10:35:57.799Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) [2023-08-01T10:35:57.799Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) [2023-08-01T10:35:57.799Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) [2023-08-01T10:35:57.799Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) [2023-08-01T10:35:57.799Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) [2023-08-01T10:35:57.799Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) [2023-08-01T10:35:57.799Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) [2023-08-01T10:35:57.799Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906) [2023-08-01T10:35:57.799Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283) [2023-08-01T10:35:57.799Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:206) [2023-08-01T10:35:57.799Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) [2023-08-01T10:35:57.799Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77) [2023-08-01T10:35:57.799Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) [2023-08-01T10:35:57.799Z] at java.lang.reflect.Method.invoke (Method.java:568) [2023-08-01T10:35:57.799Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283) [2023-08-01T10:35:57.799Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226) [2023-08-01T10:35:57.799Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407) [2023-08-01T10:35:57.799Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348) [2023-08-01T10:35:57.800Z] [main] ERROR org.apache.maven.cli.MavenCli -