Maven Wagon
  1. Maven Wagon
  2. WAGON-340

maven deploy fails if server output anything in .bashrc, or uses tput ...

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: wagon-ssh
    • Labels:
      None
    • Environment:
      Linux Server
    • Number of attachments :
      0

      Description

      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] ------------------------------------------------------------------------

        Activity

        Hide
        Michael Osipov added a comment -

        Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

        Show
        Michael Osipov added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          People

          • Assignee:
            Unassigned
            Reporter:
            Felix
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: