org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'.

JFrog JIRA | Frederic Simon | 10 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

    Deploying joined pom I get on the web: * Failed to deploy artifact 'org.jfrog.jade.components:jade-components-parent:pom:1.3.8'. Cause: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'. When actually the log says: 2007-06-01 18:50:41,008 [WARN ] wicket.deploy.ArtifactForm - Failed to deploy artifact 'org.jfrog.jade.components:jade-components-parent:pom:1.3.8'. org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'. at org.artifactory.maven.Maven.deploy(Maven.java:158) at org.artifactory.webapp.wicket.deploy.ArtifactForm.onSubmit(ArtifactForm.java:263) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:647) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:378) 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.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:186) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:975) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1048) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1127) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:87) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:75) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: java.lang.RuntimeException: Failed to save resource '{plugins-releases:org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:374) at org.artifactory.maven.JcrWagon.put(JcrWagon.java:140) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:237) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:153) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80) at org.artifactory.maven.Maven.deploy(Maven.java:156) ... 39 more Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:191) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:335) ... 44 more Caused by: javax.jcr.RepositoryException: Failed to import resource '{plugins-releases:org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom}'.: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually.: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:358) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:337) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:187) ... 45 more Caused by: org.artifactory.engine.RepoAccessException: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:359) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:349) ... 47 more

    JFrog JIRA | 10 years ago | Frederic Simon
    org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'.
  2. 0

    Deploying joined pom I get on the web: * Failed to deploy artifact 'org.jfrog.jade.components:jade-components-parent:pom:1.3.8'. Cause: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'. When actually the log says: 2007-06-01 18:50:41,008 [WARN ] wicket.deploy.ArtifactForm - Failed to deploy artifact 'org.jfrog.jade.components:jade-components-parent:pom:1.3.8'. org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'. at org.artifactory.maven.Maven.deploy(Maven.java:158) at org.artifactory.webapp.wicket.deploy.ArtifactForm.onSubmit(ArtifactForm.java:263) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:647) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:378) 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.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:186) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:975) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1048) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1127) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:87) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:75) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: java.lang.RuntimeException: Failed to save resource '{plugins-releases:org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:374) at org.artifactory.maven.JcrWagon.put(JcrWagon.java:140) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:237) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:153) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80) at org.artifactory.maven.Maven.deploy(Maven.java:156) ... 39 more Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:191) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:335) ... 44 more Caused by: javax.jcr.RepositoryException: Failed to import resource '{plugins-releases:org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom}'.: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually.: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:358) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:337) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:187) ... 45 more Caused by: org.artifactory.engine.RepoAccessException: The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually. at org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:359) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:349) ... 47 more

    JFrog JIRA | 10 years ago | Frederic Simon
    org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy file '/tmp/artifactory-uploads/jade-components-parent-1.3.8.pom'.

    Root Cause Analysis

    1. org.artifactory.engine.RepoAccessException

      The target deployment path 'org/jfrog/jade/components/jade-components-parent/1.3.8/jade-components-parent-1.3.8.pom' does not match the POM's expected path prefix 'org/jfrog/jade/components/jade-components-parent/null' (make sure your import path is a m2 repository root). Some files might have been incorrectly imported - Please remove them manually.

      at org.artifactory.jcr.JcrHelper.importStream()
    2. org.artifactory.jcr
      JcrHelper.importStream
      1. org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:359)
      1 frame
    3. org.artifactory.repo
      JcrRepo$9.doInJcr
      1. org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:349)
      2. org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:337)
      2 frames
    4. org.artifactory.jcr
      JcrHelper.doInSession
      1. org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:187)
      1 frame
    5. org.artifactory.repo
      JcrRepo.saveResource
      1. org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:335)
      1 frame
    6. org.artifactory.maven
      JcrWagon.put
      1. org.artifactory.maven.JcrWagon.put(JcrWagon.java:140)
      1 frame
    7. Maven
      DefaultArtifactDeployer.deploy
      1. org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:237)
      2. org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:153)
      3. org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
      3 frames
    8. org.artifactory.maven
      Maven.deploy
      1. org.artifactory.maven.Maven.deploy(Maven.java:156)
      1 frame
    9. org.artifactory.webapp
      ArtifactForm.onSubmit
      1. org.artifactory.webapp.wicket.deploy.ArtifactForm.onSubmit(ArtifactForm.java:263)
      1 frame
    10. Wicket Core
      Form.onFormSubmitted
      1. org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:647)
      2. org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:378)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    12. Wicket Core
      RequestListenerInterface.invoke
      1. org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:186)
      1 frame
    13. org.apache.wicket
      ListenerInterfaceRequestTarget.processEvents
      1. org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
      1 frame
    14. Wicket Request
      AbstractRequestCycleProcessor.processEvents
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90)
      1 frame
    15. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:975)
      2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1048)
      3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1127)
      4. org.apache.wicket.RequestCycle.request(RequestCycle.java:489)
      5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248)
      6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122)
      6 frames
    16. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
      1 frame
    17. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:87)
      2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89)
      2 frames
    18. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
      1 frame
    19. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:75)
      2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89)
      2 frames
    20. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      10. org.mortbay.jetty.Server.handle(Server.java:285)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
      16 frames
    21. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
      1 frame