maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject Re: Specifying user in SCP URL with deploy plugin
Date Wed, 14 May 2008 13:11:35 GMT
Fabien Coppens schrieb:
> Hi.
> I'm trying to deploy a 3rd party jar file to my central repository using
> the deploy:deploy-file command.
> I haven't figured out how to format the URL (or other command parameter)
> so that I can specify what the user and password are.
> For some reason it keeps using my Windows username.
> I've tried something like
> -Durl=scp://
> but it keeps asking me for a password for user
> <my_windows_username>
> Any ideas ?
Try specifying a "repositoryId", eg
                -Durl=scp:// \

And add a definition for that repositoryId in your ~/.m2/settings.xml file:

That works for me..


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message