FWIW, this used to work last week. I am able to run 'mvn deploy' from the command-line on the Jenkins box in the job 'workspace' folder just fine using my 'deployuser' account settings in the Maven settings.xml.
I can upload artifacts from the Archiva web application using the same 'deployuser' account . I have even given the Archiva 'guest' account full rights in case for some reason it wasn't reading the maven settings.xml file correctly that contains the username and password. Still, I get the error below when my Archiva job attempts to deploy. I'm at my wits end. I don't know what else to look for. Any ideas why the Jenkins job can't upload anymore? [INFO] Deployment in http://10.9.3.12:8220/archiva(id=snapshots,uniqueVersion=true) Deploying the main artifact *Shared-2012.02.22-SNAPSHOT.jar* Downloading: http://10.9.3.12:8220/archiva/Shared/2012.02.22-SNAPSHOT/maven-metadata.xml Uploading: http://10.9.3.12:8220/archiva/Shared/2012.02.22-SNAPSHOT/* Shared-2012.02.22-20120216.153026-1.jar *Uploading: http://10.9.3.12:8220/archiva/Shared/2012.02.22-SNAPSHOT/Shared-2012.02.22-20120216.153026-1.pom ERROR: Failed to deploy artifacts: Could not transfer artifact Shared:jar:2012.02.22-20120216.153026-1 from/to snapshots ( http://10.9.3.12:8220/archiva): Access denied to: http://10.9.3.12:8220/archiva/Shared/2012.02.22-SNAPSHOT/Shared-2012.02.22-20120216.153026-1.jar, ReasonPhrase:Forbidden. org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact Shared:jar:2012.02.22-20120216.153026-1 from/to snapshots ( http://10.9.3.12:8220/archiva): Access denied to: http://10.9.3.12:8220/archiva/Shared/2012.02.22-SNAPSHOT/Shared-2012.02.22-20120216.153026-1.jar, ReasonPhrase:Forbidden. at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:141) -- Jeff Vincent predato...@gmail.com See my LinkedIn profile at: http://www.linkedin.com/in/rjeffreyvincent I ♥ DropBox <http://db.tt/9O6LfBX> !!