org.apache.maven.lifecycle.LifecycleExecutionException

Failed to create a Hudson plugin

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web2591

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to create a Hudson plugin at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to create a Hudson plugin at org.jvnet.hudson.maven.plugins.hpi.CreateMojo.execute(CreateMojo.java:195) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 16 more Caused by: org.apache.maven.archetype.ArchetypeTemplateProcessingException: Error merging velocity templates at org.apache.maven.archetype.DefaultArchetype.processTemplate(DefaultArchetype.java:876) at org.apache.maven.archetype.DefaultArchetype.processTemplate(DefaultArchetype.java:730) at org.apache.maven.archetype.DefaultArchetype.processTemplates(DefaultArchetype.java:475) at org.apache.maven.archetype.DefaultArchetype.createArchetype(DefaultArchetype.java:329) at org.jvnet.hudson.maven.plugins.hpi.CreateMojo.execute(CreateMojo.java:174) ... 18 more Caused by: java.io.FileNotFoundException: /bar/pom.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at org.apache.maven.archetype.DefaultArchetype.processTemplate(DefaultArchetype.java:866) ... 22 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

    Unknown visitor
    Unknown visitorOnce,
    Julien SaabJulien Saab
    Once,
    krisztian.puskakrisztian.puska
    Once,
    rprp
    93 times, last one
    Eric HendersonEric Henderson
    35 times, last one
    155 more bugmates