Re: Can't deploy site,Help please.
Hi, You configure authentication in settings.xml. Look here for details: http://maven.apache.org/settings.html#Servers rgds, markku jiangshachina wrote: Hello, I tried to deploy project via scp just now, but authentication failed. How to set the user/password of remote machine in POM file? a cup of Java, cheers! Sha Jiang Markku Saarela wrote: One slash character was dropped out :-) file:///192.1.1.0/temp/directory - markku Markku Saarela wrote: Hi, No, File protocol can deploy any directory in network where user has access. The first slash character is defining that path is absolute two others are some server delimiters. file:/c:/temp vs. file:///someserver/depl or even file://192.1.1.0/temp/directory rgds, markku jiangshachina wrote: Hello, I have solved the issue by used file:///path/to/deployment/dir file protocol just deploys to a local path, doesn't it? a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler [EMAIL PROTECTED]: Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This could be something like: - scp://my.server.com/var/www/htdocs/myproject (for SSH's secure copy) - sftp://my.server.com/deployment/dir (for SFTP deployment) - file:///path/to/deployment/dir (for deploying to a local file system) Hope this helps -Tim Am Dienstag, den 06.02.2007, 11:03 +0800 schrieb 秋秋: Hi, I use apache-tomcat-5.5.17 as a server for the project site,the url is http://localhost:8080/pcie/, I have added the configuration in the pom.xmllike this: distributionManagement site idmaven/id urlscp://localhost:8080/pcie//url /site /distributionManagement I have start up the server successfull as well as I Have execute site command,but when I execute site-deploy,I appear the error like this: FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException : Cannot connect. Reason: invalid server's version string at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:239) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106) at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :153) ... 10 more Caused by: com.jcraft.jsch.JSchException: invalid server's version string
Re: Can't deploy site,Help please.
Hello, My local machine is Windows 2000, the remote machine is RedHat AS 4.0. I set the following statements in my pom.xml, distributionManagement repository idtest/id urlscp://HostIP/Absolute_Path_To_Repo/url /repository /distributionManagement and run command mvn deploy. Maven indicated me to login remote machine via [EMAIL PROTECTED], but there isn't the user in remote machine, factly, Administrator is my current user in local machine. Absolutely, the authentication would be failed. a cup of Java, cheers! Sha Jiang jiangshachina wrote: Hello, I tried to deploy project via scp just now, but authentication failed. How to set the user/password of remote machine in POM file? a cup of Java, cheers! Sha Jiang Markku Saarela wrote: One slash character was dropped out :-) file:///192.1.1.0/temp/directory - markku Markku Saarela wrote: Hi, No, File protocol can deploy any directory in network where user has access. The first slash character is defining that path is absolute two others are some server delimiters. file:/c:/temp vs. file:///someserver/depl or even file://192.1.1.0/temp/directory rgds, markku jiangshachina wrote: Hello, I have solved the issue by used file:///path/to/deployment/dir file protocol just deploys to a local path, doesn't it? a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler [EMAIL PROTECTED]: Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This could be something like: - scp://my.server.com/var/www/htdocs/myproject (for SSH's secure copy) - sftp://my.server.com/deployment/dir (for SFTP deployment) - file:///path/to/deployment/dir (for deploying to a local file system) Hope this helps -Tim Am Dienstag, den 06.02.2007, 11:03 +0800 schrieb 秋秋: Hi, I use apache-tomcat-5.5.17 as a server for the project site,the url is http://localhost:8080/pcie/, I have added the configuration in the pom.xmllike this: distributionManagement site idmaven/id urlscp://localhost:8080/pcie//url /site /distributionManagement I have start up the server successfull as well as I Have execute site command,but when I execute site-deploy,I appear the error like this: FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException : Cannot connect. Reason: invalid server's version string at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:239) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106) at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :153) ...
Re: Can't deploy site,Help please.
Hi, OK, I get it! Thanks very much! a cup of Java, cheers! Sha Jiang Markku Saarela wrote: Hi, You configure authentication in settings.xml. Look here for details: http://maven.apache.org/settings.html#Servers rgds, markku jiangshachina wrote: Hello, I tried to deploy project via scp just now, but authentication failed. How to set the user/password of remote machine in POM file? a cup of Java, cheers! Sha Jiang Markku Saarela wrote: One slash character was dropped out :-) file:///192.1.1.0/temp/directory - markku Markku Saarela wrote: Hi, No, File protocol can deploy any directory in network where user has access. The first slash character is defining that path is absolute two others are some server delimiters. file:/c:/temp vs. file:///someserver/depl or even file://192.1.1.0/temp/directory rgds, markku jiangshachina wrote: Hello, I have solved the issue by used file:///path/to/deployment/dir file protocol just deploys to a local path, doesn't it? a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler [EMAIL PROTECTED]: Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This could be something like: - scp://my.server.com/var/www/htdocs/myproject (for SSH's secure copy) - sftp://my.server.com/deployment/dir (for SFTP deployment) - file:///path/to/deployment/dir (for deploying to a local file system) Hope this helps -Tim Am Dienstag, den 06.02.2007, 11:03 +0800 schrieb 秋秋: Hi, I use apache-tomcat-5.5.17 as a server for the project site,the url is http://localhost:8080/pcie/, I have added the configuration in the pom.xmllike this: distributionManagement site idmaven/id urlscp://localhost:8080/pcie//url /site /distributionManagement I have start up the server successfull as well as I Have execute site command,but when I execute site-deploy,I appear the error like this: FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException : Cannot connect. Reason: invalid server's version string at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:239) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106) at
Re: Can't deploy site,Help please.
Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This could be something like: - scp://my.server.com/var/www/htdocs/myproject (for SSH's secure copy) - sftp://my.server.com/deployment/dir (for SFTP deployment) - file:///path/to/deployment/dir (for deploying to a local file system) Hope this helps -Tim Am Dienstag, den 06.02.2007, 11:03 +0800 schrieb 秋秋: Hi, I use apache-tomcat-5.5.17 as a server for the project site,the url is http://localhost:8080/pcie/, I have added the configuration in the pom.xmllike this: distributionManagement site idmaven/id urlscp://localhost:8080/pcie//url /site /distributionManagement I have start up the server successfull as well as I Have execute site command,but when I execute site-deploy,I appear the error like this: FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java :184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException: Cannot connect. Reason: invalid server's version string at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection( AbstractSshWagon.java:239) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106) at org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java :153) ... 10 more Caused by: com.jcraft.jsch.JSchException: invalid server's version string at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection( AbstractSshWagon.java:228) ... 13 more what can I do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't deploy site,Help please.
Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler [EMAIL PROTECTED]: Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This could be something like: - scp://my.server.com/var/www/htdocs/myproject (for SSH's secure copy) - sftp://my.server.com/deployment/dir (for SFTP deployment) - file:///path/to/deployment/dir (for deploying to a local file system) Hope this helps -Tim Am Dienstag, den 06.02.2007, 11:03 +0800 schrieb 秋秋: Hi, I use apache-tomcat-5.5.17 as a server for the project site,the url is http://localhost:8080/pcie/, I have added the configuration in the pom.xmllike this: distributionManagement site idmaven/id urlscp://localhost:8080/pcie//url /site /distributionManagement I have start up the server successfull as well as I Have execute site command,but when I execute site-deploy,I appear the error like this: FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException : Cannot connect. Reason: invalid server's version string at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:239) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106) at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :153) ... 10 more Caused by: com.jcraft.jsch.JSchException: invalid server's version string at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:228) ... 13 more what can I do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't deploy site,Help please.
Hello, I have solved the issue by used file:///path/to/deployment/dir file protocol just deploys to a local path, doesn't it? a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler [EMAIL PROTECTED]: Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This could be something like: - scp://my.server.com/var/www/htdocs/myproject (for SSH's secure copy) - sftp://my.server.com/deployment/dir (for SFTP deployment) - file:///path/to/deployment/dir (for deploying to a local file system) Hope this helps -Tim Am Dienstag, den 06.02.2007, 11:03 +0800 schrieb 秋秋: Hi, I use apache-tomcat-5.5.17 as a server for the project site,the url is http://localhost:8080/pcie/, I have added the configuration in the pom.xmllike this: distributionManagement site idmaven/id urlscp://localhost:8080/pcie//url /site /distributionManagement I have start up the server successfull as well as I Have execute site command,but when I execute site-deploy,I appear the error like this: FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException : Cannot connect. Reason: invalid server's version string at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:239) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106) at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :153) ... 10 more Caused by: com.jcraft.jsch.JSchException: invalid server's version string at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:228) ... 13 more what can I do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Can%27t-deploy-site%2CHelp-please.-tf3178351s177.html#a8840223 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't deploy site,Help please.
Hi, No, File protocol can deploy any directory in network where user has access. The first slash character is defining that path is absolute two others are some server delimiters. file:/c:/temp vs. file:///someserver/depl or even file://192.1.1.0/temp/directory rgds, markku jiangshachina wrote: Hello, I have solved the issue by used file:///path/to/deployment/dir file protocol just deploys to a local path, doesn't it? a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler [EMAIL PROTECTED]: Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This could be something like: - scp://my.server.com/var/www/htdocs/myproject (for SSH's secure copy) - sftp://my.server.com/deployment/dir (for SFTP deployment) - file:///path/to/deployment/dir (for deploying to a local file system) Hope this helps -Tim Am Dienstag, den 06.02.2007, 11:03 +0800 schrieb 秋秋: Hi, I use apache-tomcat-5.5.17 as a server for the project site,the url is http://localhost:8080/pcie/, I have added the configuration in the pom.xmllike this: distributionManagement site idmaven/id urlscp://localhost:8080/pcie//url /site /distributionManagement I have start up the server successfull as well as I Have execute site command,but when I execute site-deploy,I appear the error like this: FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException : Cannot connect. Reason: invalid server's version string at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:239) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106) at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :153) ... 10 more Caused by: com.jcraft.jsch.JSchException: invalid server's version string at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:228) ... 13 more what can I do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't deploy site,Help please.
Am Dienstag, den 06.02.2007, 21:40 -0800 schrieb jiangshachina: Hello, I have solved the issue by used file:///path/to/deployment/dir file protocol just deploys to a local path, doesn't it? Correct. a cup of Java, cheers! Sha Jiang -Tim 秋秋 wrote: Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler [EMAIL PROTECTED]: Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This could be something like: - scp://my.server.com/var/www/htdocs/myproject (for SSH's secure copy) - sftp://my.server.com/deployment/dir (for SFTP deployment) - file:///path/to/deployment/dir (for deploying to a local file system) Hope this helps -Tim Am Dienstag, den 06.02.2007, 11:03 +0800 schrieb 秋秋: Hi, I use apache-tomcat-5.5.17 as a server for the project site,the url is http://localhost:8080/pcie/, I have added the configuration in the pom.xmllike this: distributionManagement site idmaven/id urlscp://localhost:8080/pcie//url /site /distributionManagement I have start up the server successfull as well as I Have execute site command,but when I execute site-deploy,I appear the error like this: FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException : Cannot connect. Reason: invalid server's version string at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:239) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106) at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :153) ... 10 more Caused by: com.jcraft.jsch.JSchException: invalid server's version string at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:228) ... 13 more what can I do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Can%27t-deploy-site%2CHelp-please.-tf3178351s177.html#a8840223 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't deploy site,Help please.
One slash character was dropped out :-) file:///192.1.1.0/temp/directory - markku Markku Saarela wrote: Hi, No, File protocol can deploy any directory in network where user has access. The first slash character is defining that path is absolute two others are some server delimiters. file:/c:/temp vs. file:///someserver/depl or even file://192.1.1.0/temp/directory rgds, markku jiangshachina wrote: Hello, I have solved the issue by used file:///path/to/deployment/dir file protocol just deploys to a local path, doesn't it? a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler [EMAIL PROTECTED]: Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This could be something like: - scp://my.server.com/var/www/htdocs/myproject (for SSH's secure copy) - sftp://my.server.com/deployment/dir (for SFTP deployment) - file:///path/to/deployment/dir (for deploying to a local file system) Hope this helps -Tim Am Dienstag, den 06.02.2007, 11:03 +0800 schrieb 秋秋: Hi, I use apache-tomcat-5.5.17 as a server for the project site,the url is http://localhost:8080/pcie/, I have added the configuration in the pom.xmllike this: distributionManagement site idmaven/id urlscp://localhost:8080/pcie//url /site /distributionManagement I have start up the server successfull as well as I Have execute site command,but when I execute site-deploy,I appear the error like this: FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException : Cannot connect. Reason: invalid server's version string at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:239) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106) at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :153) ... 10 more Caused by: com.jcraft.jsch.JSchException: invalid server's version string at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:228) ... 13 more what can I do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't deploy site,Help please.
Hello, I tried to deploy project via scp just now, but authentication failed. How to set the user/password of remote machine in POM file? a cup of Java, cheers! Sha Jiang Markku Saarela wrote: One slash character was dropped out :-) file:///192.1.1.0/temp/directory - markku Markku Saarela wrote: Hi, No, File protocol can deploy any directory in network where user has access. The first slash character is defining that path is absolute two others are some server delimiters. file:/c:/temp vs. file:///someserver/depl or even file://192.1.1.0/temp/directory rgds, markku jiangshachina wrote: Hello, I have solved the issue by used file:///path/to/deployment/dir file protocol just deploys to a local path, doesn't it? a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler [EMAIL PROTECTED]: Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This could be something like: - scp://my.server.com/var/www/htdocs/myproject (for SSH's secure copy) - sftp://my.server.com/deployment/dir (for SFTP deployment) - file:///path/to/deployment/dir (for deploying to a local file system) Hope this helps -Tim Am Dienstag, den 06.02.2007, 11:03 +0800 schrieb 秋秋: Hi, I use apache-tomcat-5.5.17 as a server for the project site,the url is http://localhost:8080/pcie/, I have added the configuration in the pom.xmllike this: distributionManagement site idmaven/id urlscp://localhost:8080/pcie//url /site /distributionManagement I have start up the server successfull as well as I Have execute site command,but when I execute site-deploy,I appear the error like this: FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: org.apache.maven.wagon.authentication.AuthenticationException : Cannot connect. Reason: invalid server's version string at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:239) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106) at org.apache.maven.plugins.site.SiteDeployMojo.execute( SiteDeployMojo.java :153) ... 10 more Caused by: com.jcraft.jsch.JSchException: invalid server's version string at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection ( AbstractSshWagon.java:228) ... 13 more what can I do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]