org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:deploy (default-cli) on project dummy-fs: Error uploading site

Sonatype JIRA | Gerd Aschemann | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Trying to perform a Maven site:deploy leads to the following exception on the client side: {code} message : Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:deploy (default-cli) on project dummy-fs: Error uploading site cause : Error uploading site Stack trace : org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:deploy (default-cli) on project dummy-fs: Error uploading site at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:100) at hudson.maven.Maven3Builder.call(Maven3Builder.java:66) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:908) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:931) at java.lang.Thread.run(Thread.java:738) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.AbstractDeployMojo.push(AbstractDeployMojo.java:464) at org.apache.maven.plugins.site.AbstractDeployMojo.deploy(AbstractDeployMojo.java:296) at org.apache.maven.plugins.site.AbstractDeployMojo.deployTo(AbstractDeployMojo.java:257) at org.apache.maven.plugins.site.AbstractDeployMojo.execute(AbstractDeployMojo.java:165) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 27 more Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://xxx/nexus/content/sites/xxxsite/dummy/dummy-parent/1.3-SNAPSHOT/../../dummy-fs/1.3-SNAPSHOT/dummy-fs/distribution-management.html. Return code is: 500 {code} In the nexus logs we find {code} 2013-04-26 08:55:58 DEBUG [p20358204-38433] - org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus - Event 'LogbackLoggingEvent [level=ERROR, message=Got exception during processing request "PUT https://xxx/nexus/content/sites/xxxsite/dummy/dummy-parent/1.3-SNAPSHOT/../../dummy-fs/1.3-SNAPSHOT/dummy-fs/distribution-management.html": , throwable=org.sonatype.nexus.proxy.LocalStorageException]' fired 2013-04-26 08:55:58 ERROR [p20358204-38433] - org.sonatype.nexus.rest.ContentPlexusResource - Got exception during processing request "PUT https://xxx/nexus/content/sites/xxxsite/dummy/dummy-parent/1.3-SNAPSHOT/../../dummy-fs/1.3-SNAPSHOT/dummy-fs/distribution-management.html": org.sonatype.nexus.proxy.LocalStorageException: Could not create the directory hiearchy in repository "XXX Site" [id=xxxsite] to write "/opt/sonatype-work/nexus/storage/xxxsite/dummy/dummy-parent/1.3-SNAPSHOT/../../dummy-fs/1.3-SNAPSHOT/dummy-fs/distribution-management.html" at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.mkParentDirs(DefaultFSPeer.java:355) ~[nexus-proxy-2.2-01.jar:na] at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:84) ~[nexus-proxy-2.2-01.jar:na] at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.storeItem(DefaultFSLocalRepositoryStorage.java:362) ~[nexus-proxy-2.2-01.jar:na] {code}

    Sonatype JIRA | 4 years ago | Gerd Aschemann
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:deploy (default-cli) on project dummy-fs: Error uploading site
  2. 0

    Trying to perform a Maven site:deploy leads to the following exception on the client side: {code} message : Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:deploy (default-cli) on project dummy-fs: Error uploading site cause : Error uploading site Stack trace : org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:deploy (default-cli) on project dummy-fs: Error uploading site at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:100) at hudson.maven.Maven3Builder.call(Maven3Builder.java:66) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:908) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:931) at java.lang.Thread.run(Thread.java:738) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.AbstractDeployMojo.push(AbstractDeployMojo.java:464) at org.apache.maven.plugins.site.AbstractDeployMojo.deploy(AbstractDeployMojo.java:296) at org.apache.maven.plugins.site.AbstractDeployMojo.deployTo(AbstractDeployMojo.java:257) at org.apache.maven.plugins.site.AbstractDeployMojo.execute(AbstractDeployMojo.java:165) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 27 more Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://xxx/nexus/content/sites/xxxsite/dummy/dummy-parent/1.3-SNAPSHOT/../../dummy-fs/1.3-SNAPSHOT/dummy-fs/distribution-management.html. Return code is: 500 {code} In the nexus logs we find {code} 2013-04-26 08:55:58 DEBUG [p20358204-38433] - org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus - Event 'LogbackLoggingEvent [level=ERROR, message=Got exception during processing request "PUT https://xxx/nexus/content/sites/xxxsite/dummy/dummy-parent/1.3-SNAPSHOT/../../dummy-fs/1.3-SNAPSHOT/dummy-fs/distribution-management.html": , throwable=org.sonatype.nexus.proxy.LocalStorageException]' fired 2013-04-26 08:55:58 ERROR [p20358204-38433] - org.sonatype.nexus.rest.ContentPlexusResource - Got exception during processing request "PUT https://xxx/nexus/content/sites/xxxsite/dummy/dummy-parent/1.3-SNAPSHOT/../../dummy-fs/1.3-SNAPSHOT/dummy-fs/distribution-management.html": org.sonatype.nexus.proxy.LocalStorageException: Could not create the directory hiearchy in repository "XXX Site" [id=xxxsite] to write "/opt/sonatype-work/nexus/storage/xxxsite/dummy/dummy-parent/1.3-SNAPSHOT/../../dummy-fs/1.3-SNAPSHOT/dummy-fs/distribution-management.html" at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.mkParentDirs(DefaultFSPeer.java:355) ~[nexus-proxy-2.2-01.jar:na] at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:84) ~[nexus-proxy-2.2-01.jar:na] at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.storeItem(DefaultFSLocalRepositoryStorage.java:362) ~[nexus-proxy-2.2-01.jar:na] {code}

    Sonatype JIRA | 4 years ago | Gerd Aschemann
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:deploy (default-cli) on project dummy-fs: Error uploading site

    Root Cause Analysis

    1. org.apache.maven.plugin.MojoExecutionException

      Error uploading site

      at org.apache.maven.plugins.site.AbstractDeployMojo.push()
    2. Apache Maven Site Plugin
      AbstractDeployMojo.execute
      1. org.apache.maven.plugins.site.AbstractDeployMojo.push(AbstractDeployMojo.java:464)
      2. org.apache.maven.plugins.site.AbstractDeployMojo.deploy(AbstractDeployMojo.java:296)
      3. org.apache.maven.plugins.site.AbstractDeployMojo.deployTo(AbstractDeployMojo.java:257)
      4. org.apache.maven.plugins.site.AbstractDeployMojo.execute(AbstractDeployMojo.java:165)
      4 frames
    3. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      1 frame
    4. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      9 frames
    5. M3 Interceptor
      Maven3Launcher.main
      1. org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      4. java.lang.reflect.Method.invoke(Method.java:611)
      4 frames
    7. Plexus
      Launcher.launch
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
      2 frames
    8. M3 Agent
      Maven3Main.launch
      1. org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
      1 frame
    9. Hudson Maven Embedder
      Maven3Builder.call
      1. hudson.maven.Maven3Builder.call(Maven3Builder.java:100)
      2. hudson.maven.Maven3Builder.call(Maven3Builder.java:66)
      2 frames
    10. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:326)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:149)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:908)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:931)
      5. java.lang.Thread.run(Thread.java:738)
      5 frames