org.apache.maven.lifecycle.LifecycleExecutionException

Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.2:set (default-cli) on project maxur-ldoc: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.2:set failed.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4729

  • via GitHub by rultor
    , 10 months ago
    Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.2:set (default-cli) on project maxur-ldoc: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.2:set failed.
  • Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.2:set (default-cli) on project maxur-ldoc: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.2:set failed.
  • via GitHub by rultor
    , 1 year ago
    Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.2:set (default-cli) on project jcabi-aspects: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.2:set failed.
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.2:set (default-cli) on project maxur-ldoc: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.2:set failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at io.takari.maven.builder.smart.SmartBuilderImpl.buildProject(SmartBuilderImpl.java:334) at io.takari.maven.builder.smart.SmartBuilderImpl$ProjectBuildTask.run(SmartBuilderImpl.java:104) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.2:set failed. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 10 more Caused by: java.lang.NullPointerException at org.codehaus.mojo.versions.api.PomHelper.getModelEntry(PomHelper.java:1571) at org.codehaus.mojo.versions.SetMojo.applyChange(SetMojo.java:275) at org.codehaus.mojo.versions.SetMojo.execute(SetMojo.java:239) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 11 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.