Which Archiva version are you using? We use this setup with the ASF Jenkins instance and it works fine.
-- Olivier On Jun 10, 2014 8:28 AM, "Mothkuri, Prashanth(AWF)" <[email protected]> wrote: > Hi there, > > I am trying to use archiva as deployment as well as maven repository. > > But, I have configured repository url in post-build actions of Jenkins job > configuration. > > But, I am getting the below deployment error, whenever Jenkins job try to > build and deploy. > > Please provide resolution ASAP as we in process of evaluation of archiva > technology. > > Thanks, > Prashanth > > > Maven RedeployPublisher use remote maven settings from : > C:\Users\pmothkuri\Downloads\apache-maven-3.2.1-bin\apache-maven-3.2.1/conf/settings.xml > > [INFO] Deployment in http://localhost:8090/archiva/repository/snapshots > (id=,uniqueVersion=true) > > Deploying the main artifact > jenkins-8224858212514088389intranetsearch-0.0.1-SNAPSHOT.war > > Downloading: > http://localhost:8090/archiva/repository/snapshots/com/ebay/ef/intranetsearch/intranetsearch/0.0.1-SNAPSHOT/maven-metadata.xml > > Uploading: > http://localhost:8090/archiva/repository/snapshots/com/ebay/ef/intranetsearch/intranetsearch/0.0.1-SNAPSHOT/intranetsearch-0.0.1-20140609.213602-1.war > > Uploading: > http://localhost:8090/archiva/repository/snapshots/com/ebay/ef/intranetsearch/intranetsearch/0.0.1-SNAPSHOT/intranetsearch-0.0.1-20140609.213602-1.pom > > ERROR: Failed to deploy artifacts: Could not transfer artifact > com.ebay.ef.intranetsearch:intranetsearch:war:0.0.1-20140609.213602-1 > from/to (http://localhost:8090/archiva/repository/snapshots): Failed to > transfer file: > http://localhost:8090/archiva/repository/snapshots/com/ebay/ef/intranetsearch/intranetsearch/0.0.1-SNAPSHOT/intranetsearch-0.0.1-20140609.213602-1.war. > Return code is: 405, ReasonPhrase: HTTP method PUT is not supported by this > URL. > > org.apache.maven.artifact.deployer.ArtifactDeploymentException< > http://stacktrace.jenkins-ci.org/search?query=org.apache.maven.artifact.deployer.ArtifactDeploymentException>: > Failed to deploy artifacts: Could not transfer artifact > com.ebay.ef.intranetsearch:intranetsearch:war:0.0.1-20140609.213602-1 > from/to (http://localhost:8090/archiva/repository/snapshots): Failed to > transfer file: > http://localhost:8090/archiva/repository/snapshots/com/ebay/ef/intranetsearch/intranetsearch/0.0.1-SNAPSHOT/intranetsearch-0.0.1-20140609.213602-1.war. > Return code is: 405, ReasonPhrase: HTTP method PUT is not supported by this > URL. > >
