Search code examples
apachedeploymentmaven-2timeoutarchiva

Maven deploy fails for Apache Archiva


I have a Maven project which generates a 413.06 KB jar file. I have to deploy it on Apache Archiva based managed repository. I have tried to deploy different versions, and it created required layout and structure, uploaded some files, even it uploaded that jar with 200~ KB. every time the jar file size changes but always it fails to upload 413.06 KB jar file.

Information:-

  1. I am running standalone Archiva
  2. I have given guest account to Global Repository Manager & "Repository Manager - MYREPO"
  3. I have also tried a separate account in Archiva with "Repository Manager - MYREPO" rights and configured it in maven's settings.xml file to set custom timeout.

I am getting following error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
(default-deploy) on project SharedshelfRepository: Error deploying artifact: Transfer error:
The server did not respond within the configured timeout. -> [Help 1]

Solution

  • that might be maven-deploy-plugin issue, resources plugin itself needs several dependencies,try manually jar nad p