Hallo the deploy plugin gives some examples how to pass arguments to the scp command (sshArgs in configuration):
http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html <settings> ... <servers> <server> <id>ssh-repository</id> <username>your username in the remote system if different from local</username> <privateKey>/path/to/your/private/key</privateKey> <!-- not needed if using pageant --> <configuration> <sshExecutable>plink</sshExecutable> <scpExecutable>pscp</scpExecutable> <sshArgs>other arguments you may need</sshArgs> </configuration> </server> </servers> ... </settings> i'm a little surprised ftp works quicker than scp. scp uploads one zipped file. i would have thought ftp would do this one by one. does the deploy include site creation? 180min is quite long. I would recommend to split the build if possible. i saved most time by removing reporting plugins not needed all the time into a profile (svn stat, test coverage) and let it run nightly. well i hope the link above answers you question :) regards ossi Tang, Ray schrieb: > Hi: > > I am finally able to cover maven ftp to maven scp for deployment, but > run into performance issue. By using the ftp, the build takes 120 min, > whereas scp takes over 180 min for the same build. I am wondering if > there are any way to speed things up. From searching the web, it seems > that there are a few option that can be added to scp, such as -C for > compress large data to travel faster or "-c blowfish" to speed up > encryption. My question is how I can add these to maven or is whether > it's not going to help much. > > Many Thanks. > > Ray > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
