tag:blogger.com,1999:blog-4545139512483017558.post3153150424808218349..comments2023-08-14T20:49:47.645+02:00Comments on Gero Vermaas on...: Maven 2: Getting "mvn site:deploy" to workGerohttp://www.blogger.com/profile/12865783151000904309noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-4545139512483017558.post-10014687699376046662010-02-15T09:59:10.203+01:002010-02-15T09:59:10.203+01:00Hi there
Apparently there are still issues with t...Hi there<br /><br />Apparently there are still issues with this until today:<br />When using scpexe://..., the element of the settings.xml may not have an effect (just had this with maven 2.2.0 and the 2.0.1 maven-site-plugin Version). However, using scp:// (and thus the wagon java scp implementaion) uses the and seems to work fine now.Olafhttp://olafsblog.sysbsb.denoreply@blogger.comtag:blogger.com,1999:blog-4545139512483017558.post-43405524195302787222007-07-24T09:44:00.000+02:002007-07-24T09:44:00.000+02:00If you want to use scp:// you need to define
<...If you want to use scp:// you need to define<br /> <extensions> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh</artifactId> <version>1.0-beta-2</version> </extension> </extensions><br><i><b>Note:</b> Comment imported. Original by Régis ( email: regis.decamps@banque-france.fr website: <a>null</a> ) at 2007-07-24 09:44</i>Gerohttps://www.blogger.com/profile/12865783151000904309noreply@blogger.comtag:blogger.com,1999:blog-4545139512483017558.post-71544663277597411272007-07-24T09:37:00.000+02:002007-07-24T09:37:00.000+02:00Thanks for this article. I came up with a similar ...Thanks for this article. I came up with a similar solution. However, whatever I try to deploy, the SSH connecion always freezes like that:<br /><br />[INFO] [deploy:deploy]altDeploymentRepository = nullUploading: scp://pc211828/var/www/proximity/inhouse/storage/groupId/artifactId/0.1/artifactId-0.1.jar2K uploaded[INFO] Retrieving previous metadata from inhouse [INFO] Uploading project information for test-unuseddependency 0.1<br /><br />Does anyone know what I should do?<br><i><b>Note:</b> Comment imported. Original by Régis ( email: regis.decamps@banque-france.fr website: <a>null</a> ) at 2007-07-24 09:37</i>Gerohttps://www.blogger.com/profile/12865783151000904309noreply@blogger.comtag:blogger.com,1999:blog-4545139512483017558.post-31673122329620951862006-07-26T23:28:00.000+02:002006-07-26T23:28:00.000+02:00I got password authentication working by setting
...I got password authentication working by setting<br /><br />PasswordAuthentication yes<br /><br />in the sshd configuration.<br><i><b>Note:</b> Comment imported. Original by Anonymous at 2006-07-26 23:28</i>Gerohttps://www.blogger.com/profile/12865783151000904309noreply@blogger.comtag:blogger.com,1999:blog-4545139512483017558.post-7658440955084953432006-06-28T14:00:00.000+02:002006-06-28T14:00:00.000+02:00Thanks for your information. On my system only the...Thanks for your information. On my system only the ~/.ssh/id_dsa.pub key seems to work. I first tried ~/.ssh/id_rsa.pub keys, wich always ended up with errors.<br /><br />system:ubuntu 6.06maven 2.0.4<br><i><b>Note:</b> Comment imported. Original by Anonymous at 2006-06-28 14:00</i>Gerohttps://www.blogger.com/profile/12865783151000904309noreply@blogger.comtag:blogger.com,1999:blog-4545139512483017558.post-70730665390435159992006-06-13T09:31:00.000+02:002006-06-13T09:31:00.000+02:00If not mistaken,the password setting will not work...If not mistaken,the password setting will not work because it is a bug in class ScpExternalWagon. <br /><br />private Commandline createBaseCommandLine(boolean putty, String executable)<br /> {<br /> Commandline cl = new Commandline();<br /> cl.setExecutable(executable);<br /> if(privateKey != null)<br /> {<br /> cl.createArgument().setValue("-i");<br /> cl.createArgument().setFile(privateKey);<br /> }<br /> if(putty && password != null)<br /> {<br /> cl.createArgument().setValue("-pw");<br /> cl.createArgument().setValue(password);<br /> }<br /> if(putty)<br /> {<br /> cl.createArgument().setValue("-batch");<br /> } else<br /> {<br /> cl.createArgument().setValue("-o");<br /> cl.createArgument().setValue("BatchMode yes");<br /> }<br /> return cl;<br /> }<br /><br />The scp command was set to batch mode.<br />When scp was set to batch mode, this will prevent asking for password or passphase.<br /><br /><br><i><b>Note:</b> Comment imported. Original by Anonymous at 2006-06-13 09:31</i>Gerohttps://www.blogger.com/profile/12865783151000904309noreply@blogger.comtag:blogger.com,1999:blog-4545139512483017558.post-14112561088425447992006-05-13T04:13:00.000+02:002006-05-13T04:13:00.000+02:00Thank you for explaining this! I was struggling wi...Thank you for explaining this! I was struggling with Maven 2.0.4 and your blog entry was very helpful.<br /><br><i><b>Note:</b> Comment imported. Original by Anonymous at 2006-05-13 04:13</i>Gerohttps://www.blogger.com/profile/12865783151000904309noreply@blogger.comtag:blogger.com,1999:blog-4545139512483017558.post-43342522902172886562006-05-08T22:34:00.000+02:002006-05-08T22:34:00.000+02:00Thank you for posting this! It was very helpful. M...Thank you for posting this! It was very helpful. Maven's documentation is so sparse and I couldn't find the solution on the mailing lists. Bless you and Google.<br /><br />Cheers,<br />Andrew<br><i><b>Note:</b> Comment imported. Original by Andrew Sterling Hanenkamp ( email: andrew.hanenkamp@boomer.com website: <a>http://andrew.sterling.hanenkamp.com/</a> ) at 2006-05-08 22:34</i>Gerohttps://www.blogger.com/profile/12865783151000904309noreply@blogger.com