org.apache.maven.lifecycle.LifecycleExecutionException

tip

Ant scp task has an attribute called trust. If set to false (default) the host you connect to has to be set in the knownhosts file (you might have to create it) Another way is to explicitly set "trust = true". Check the documentation: https://goo.gl/G5680x

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

  • Build failed in Hudson: ActiveMQ-Apollo-Deploy #36
    via by Apache Hudson Server,
  • Build failed in Hudson: ActiveMQ-Apollo-Deploy #31
    via by Apache Hudson Server,
  • Build failed in Hudson: ActiveMQ-Apollo-Deploy #25
    via by Apache Hudson Server,
  • Build failed in Hudson: ActiveMQ-Apollo-Deploy #20
    via by Apache Hudson Server,
  • Build failed in Hudson: ActiveMQ-Apollo-Deploy #32
    via by Apache Hudson Server,
  • Build failed in Hudson: ActiveMQ-Apollo-Deploy #21
    via by Apache Hudson Server,
  • Build failed in Hudson: ActiveMQ-Apollo-Deploy #42
    via by Apache Hudson Server,
  • Build failed in Hudson: ActiveMQ-Apollo-Deploy #43
    via by Apache Hudson Server,
    • org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:165) at hudson.maven.MavenBuilder.call(MavenBuilder.java:165) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:750) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:694) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.fusesource.scalate.maven.SiteDeployMojo.execute(SiteDeployMojo.java:251) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 28 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException: Cannot connect. Reason: Auth fail at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnectionInternal(AbstractJschWagon.java:264) at org.apache.maven.wagon.AbstractWagon.openConnection(AbstractWagon.java:105) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:142) at org.fusesource.scalate.maven.SiteDeployMojo.execute(SiteDeployMojo.java:233) ... 31 more Caused by: com.jcraft.jsch.JSchException: Auth fail at com.jcraft.jsch.Session.connect(Session.java:451) at com.jcraft.jsch.Session.connect(Session.java:149) at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnectionInternal(AbstractJschWagon.java:236) ... 35 more

    Users with the same issue

    Unknown visitor1 times, last one,
    jf-ast
    6 times, last one,
    jstrayer
    3 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    97 more bugmates