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
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: wagon-ssh
    • Labels:
      None
    • Environment:
      Linux Server

      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

        Felix created issue -
        Michael Osipov made changes -
        Field Original Value New Value
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:30:21 UTC 2015 [ 1428240621566 ]
        Mark Thomas made changes -
        Workflow jira [ 12729064 ] Default workflow, editable Closed status [ 12765191 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 01:53:53 UTC 2015 [ 1428285233407 ]
        Mark Thomas made changes -
        Workflow jira [ 12966635 ] Default workflow, editable Closed status [ 13002194 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development