Maven Wagon

wagon ignores username part of scpexe URLs.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0-beta-3
  • Component/s: wagon-ssh
  • Labels:
    None
  • Environment:
    maven-2.0.8, sun-java-1.6.0.03
  • Number of attachments :
    1

Description

We use a single user to access a project's maven repository, where this user has a list of ssh-pubkeys in .ssh/authorized_keys.

Thus, we are using an URL like

scpexe://repo-user@maven.company.com/var/maven2/repo

However, wagon-ssh ignore the username of the URL and cowardly tries to log in to the server und the name of the user logged in on the desktop.

Fixing this issue would be very benefitial,

TIA, Wolfgang

Activity

Hide
Wolfgang Glas added a comment -

output of 'svn diff src/main/java/org/apache/maven/wagon/providers/ssh/external/ScpExternalWagon.java' of my fixed version of wagon-ssh-external-1.0-beta-2

Show
Wolfgang Glas added a comment - output of 'svn diff src/main/java/org/apache/maven/wagon/providers/ssh/external/ScpExternalWagon.java' of my fixed version of wagon-ssh-external-1.0-beta-2
Hide
Brett Porter added a comment -

applied, thanks

Show
Brett Porter added a comment - applied, thanks
Hide
Christoph Lechleitner added a comment -

Are you guys sure 1.0-beta-3 (or even -6) solved this problem?
See MRELEASE-513.

Show
Christoph Lechleitner added a comment - Are you guys sure 1.0-beta-3 (or even -6) solved this problem? See MRELEASE-513.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: