I'm using the Maven (2.0.4) deploy plugin to publish snapshot versions of my components. I had an automated process running under Continuum. It has suddenly started failing with the following error:

Caused by: org.apache.maven.wagon.CommandExecutionException: Cannot execute remote command: mkdir -p /sites/<server>.com/repository-snapshot/<groupId>/<artifactId>/1.0-SNAPSHOT at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.executeCommand(AbstractSshWagon.java:330) at org.apache.maven.wagon.providers.ssh.ScpWagon.put(ScpWagon.java:94)
       ... 22 more
Caused by: com.jcraft.jsch.JSchException: channel is not opened.
       at com.jcraft.jsch.Channel.connect(Unknown Source)
at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.executeCommand(AbstractSshWagon.java:284)
       ... 23 more


The debug output for plugins is as follows:


[DEBUG] org.apache.maven.plugins:maven-deploy-plugin:maven-plugin:2.2:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.1 for project: null:maven-project:jar:2.0.1 from the repository. [DEBUG] org.apache.maven:maven-project:jar:2.0.1:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.1 for project: org.apache.maven:maven-model:jar:2.0.1 from the repository. [DEBUG] org.apache.maven:maven-model:jar:2.0.1:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: null:plexus-utils:jar:1.0.5 from the repository. [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.5:runtime (selected for runtime) [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.1 for project: null:maven-profile:jar:2.0.1 from the repository. [DEBUG] org.apache.maven:maven-profile:jar:2.0.1:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-containers::1.0.3 for project: null:plexus-container-default:jar:1.0-alpha-9 from the repository. [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: org.codehaus.plexus:plexus-containers:pom:1.0.3 from the repository. [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.0.5)
[DEBUG]         junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.0.5) [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.5:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.1 for project: org.apache.maven:maven-artifact-manager:jar:2.0.1 from the repository. [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.1:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.1 for project: org.apache.maven:maven-repository-metadata:jar:2.0.1 from the repository. [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.1:runtime (selected for runtime) [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.0.5) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.1 for project: org.apache.maven:maven-artifact:jar:2.0.1 from the repository. [DEBUG] org.apache.maven:maven-artifact:jar:2.0.1:runtime (selected for runtime) [DEBUG] org.apache.maven:maven-artifact:jar:2.0.1:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.1 for project: org.apache.maven:maven-plugin-api:jar:2.0.1 from the repository. [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.1:runtime (selected for runtime) [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.1:runtime (removed - nearer found: 2.0) [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.0.5) [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9) [DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (removed - nearer found: 2.0.1) [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.0.5) [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.0.5) [DEBUG] org.apache.maven:maven-artifact:jar:2.0.1:runtime (removed - nearer found: 2.0) [DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.0.5)

As far as I can tell, the configuration of these sites has not changed. I can still ssh into the deployment machine using SSH keys and the permissions on the directories are OK. Any suggestions would be greatly appreciated...
Tim



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to