mirror of https://github.com/apache/maven.git
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:
parent
05ebfd3b91
commit
a5c141c146
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue