|
From: Jorg H. <jor...@gm...> - 2007-04-02 11:44:11
|
Hi, I'm having problems getting artifacts to deploy. When i first tried deploy:deploy to the artifactory repo i got this: [INFO] Retrieving previous build number from repo-snapshot Uploading: http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom 16K uploaded [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Authorization failed: Access denied to: http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom However when i verified the repo browser, the artifact uploaded fine. Reviewing my config, I thought that the <includesPattern> for my-repo was missing a /** at the the end so i corrected this.I tried deploying again and now got another error message: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Failed to transfer file: http://server/artifactory/my-repo/group/id/artifactid/1-SNAPSHOT/artifact-20070402.112230-1.pom. Return code is: 500 Checking the repo browser however i saw that the artifact had again uploaded fine. The output logs don't reveal much: 2007-04-02 13:34:22,653 [ERROR] webapp.servlet.RepoFilter - org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy '/var/tmp/artifactory-uploads/artifact-20070402.112230-1.pom'. Any thoughts ? (using maven 2.0.6) Regards, Jorg |