Hello, I am (really) new to Maven (using maven 2), and having trouble with a few things regarding deploying 3rd party artifacts to a remote repository (owned by me). I would like to deploy an artifact to my http server (using apache) using the http protocol. Accroding to my understanding I would do something like this:
mvn deploy:deploy-file -DartifactId=spring-mock \ -Dfile=spring-mock-v1.2.4.jar \ -DgeneratePom=true \ -DgroupId=org.springframework \ -Dversion=1.2.4 \ -Dpackaging=jar \ -Durl=http://10.0.0.200/repository \ -DrepositoryId=dwfa I tried this and got a 405 response, which sorta makes sense to me as I do not have a cgi (or something of the like) application to receive the artifacts and store it in the correct location. So my question is, is there such a server-side process to handle this? Secondly, I thought I would try using scp to push the artifacts to the location where the http server is serving up the repository. I tried the following: mvn deploy:deploy-file -DartifactId=spring-mock \ -Dfile=spring-mock-v1.2.4.jar \ -DgeneratePom=true \ -DgroupId=org.springframework \ -Dversion=1.2.4 \ -Dpackaging=jar \ -Durl=scp://[EMAIL PROTECTED]:/home/www/repository/html \ -DrepositoryId=dwfa I expected to be prompted for the password for the user www, but I was prompted for my password, hmmmm. So my question is, how do I specify the uid and password or key (for ssh) for this goal? BTW, I have the file protocol working -). I have searched through the mailing list and did not find any articles that could help me (prolly entering wrong keyword search). I am using maven 2.0.4, running under Linux FC4 -- Regards, Douglas WF Acheson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
