What is your maven version?

This problem was fixed in maven 2.0.2

Emmanuel

Larry Feigen a écrit :
I'm trying to use scp to deploy from one Linux machine to another and I'm seeing an inexplicable error. Maybe someone here can "explic" it. :-)

Looking on the server, I can see that the pom does indeed upload fine, but the md5 file didn't make it. When I changed to using ftp, everything went fine. And, of course, I use ssh/scp dozens of times a day between these two machines without incident.

Here is the output:

[INFO] Retrieving previous build number from scp-repository
[DEBUG] repository metadata for: 'snapshot com.bea.maven-env:env:1.0.0-SNAPSHOT' could not be found on repository: scp-repository
[DEBUG] not adding permissions to wagon connection
Uploading: scp://10.61.6.91/var/www/html/core-engine-repository/com/bea/maven-env/env/1.0.0-SNAPSHOT/env-1.0.0-20060220.013047-1.pom
4/13K^M8/13K^M12/13K^M13/13K^M13K uploaded
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ---------------------------------------------------------------------------- [INFO] Error deploying artifact: Error occured while deploying 'com/bea/maven-env/env/1.0.0-SNAPSHOT/env-1.0.0-20060220.013047-1.pom.md5' to remote repository: scp://10.61.6.91/var/www/html/core-engine-repository

session is down
[INFO] ----------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Error occured while deploying 'com/bea/maven-env/env/1.0.0-SNAPSHOT/env-1.0.0-20060220.013047-1.pom.md5' to remote repository: scp://10.61.6.91/var/www/html/core-engine-repository at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:544) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)



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

Reply via email to