Maven Stage Plugin
  1. Maven Stage Plugin
  2. MSTAGE-1

RepositoryCopierTest fails on Windows

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      This test has been excluded in the pom, but if the test is included it produces the following surefire report:

      -------------------------------------------------------------------------------
      Test set: org.apache.maven.plugins.stage.RepositoryCopierTest
      -------------------------------------------------------------------------------
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 27.641 sec <<< FAILURE!
      testCopy(org.apache.maven.plugins.stage.RepositoryCopierTest)  Time elapsed: 27.547 sec  <<< ERROR!
      org.apache.maven.wagon.authentication.AuthenticationException: Cannot connect. Reason: java.net.ConnectException: Connection refused: connect
      	at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnection(AbstractJschWagon.java:186)
      	at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143)
      	at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:106)
      	at org.apache.maven.plugins.stage.DefaultRepositoryCopier.copy(DefaultRepositoryCopier.java:151)
      	at org.apache.maven.plugins.stage.RepositoryCopierTest.testCopy(RepositoryCopierTest.java:41)
      Caused by: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect
      	at com.jcraft.jsch.Util.createSocket(Unknown Source)
      	at com.jcraft.jsch.Session.connect(Unknown Source)
      	at com.jcraft.jsch.Session.connect(Unknown Source)
      	at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnection(AbstractJschWagon.java:158)
      	... 30 more
      

        Activity

        No changes have yet been made on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Dennis Lundberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: