fix compile error

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165093 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-28 04:02:57 +00:00
parent 05ebfd3b91
commit a5c141c146
1 changed files with 1 additions and 3 deletions

View File

@ -129,9 +129,7 @@ public class ScpSiteDeployMojo
Repository repository = new Repository( id, url );
//@todo dirty hack to make artifact uploading work
repository.setAuthenticationInfo( WagonUtils.getAuthInfo() );
commandExecutor.connect( repository );
commandExecutor.connect( repository, WagonUtils.getAuthInfo() );
String basedir = repository.getBasedir();