maven deploy fails if server output anything in .bashrc, or uses tput ... -------------------------------------------------------------------------
Key: WAGON-340 URL: https://jira.codehaus.org/browse/WAGON-340 Project: Maven Wagon Issue Type: Bug Components: wagon-ssh Environment: Linux Server Reporter: Felix Suppose I have a echo "Welcome to my Server" 1>&2 in the .bashrc on my server. Then I can use scp just fine to copy files to the server. However maven fails, at least it claims so. This gets worse when it is send to stdout. [INFO] [install:install {execution: default-install}] [INFO] Installing /home/fm/dcc/dcc-domain/target/dcc-domain-0.0.1-SNAPSHOT.jar to /home/fm/.m2/repository/dcc-domain/dcc-domain/0.0.1-SNAPSHOT/dcc-domain-0.0.1-SNAPSHOT.jar [INFO] [deploy:deploy {execution: default-deploy}] [INFO] Retrieving previous build number from kronos Uploading: scp://asdasd/srv/www/maven//dcc-domain/dcc-domain/0.0.1-SNAPSHOT/dcc-domain-0.0.1-20110706.165919-2.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Exit code: 0 - Welcome to my Server [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Wed Jul 06 18:59:21 CEST 2011 [INFO] Final Memory: 16M/170M [INFO] ------------------------------------------------------------------------ -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira