> -----Original Message-----
> From: Charles Harvey III [mailto:[EMAIL PROTECTED]
> Sent: Friday, 13 January 2006 1:17 AM
> To: Maven Users List
> Subject: Re: [ANN] Maven Install and Deploy Plugins (v2.1) released
>
> Does this mean it will now pickup the <username> and <password> entries
> I have in my settings.xml file? Because that was the fix that I was
> really waiting for. I just tried it, and it still asked me for my
> password (assuming my username was my system name, not the one I put
> in the settings.xml file).
>
> Any fixes for this in the mix? Or, is this fix not even part of this
> plugin?
Username and password from settings.xml worked for me.
I didn't need to specify usernames or passwords when running the command.
e.g.
mvn deploy:deploy-file -DgroupId=GROUP_ID -DartifactId=ARTIFACT_ID
-Dversion=VERSION_ID -DgeneratePom=true \
-Dpackaging=jar \
-Dfile=PATH/TO/JAR \
-DrepositoryId=YOUR_COMPANYS_REPO_ID \
-Durl=scp://YOUR_COMPANYS_REPO_IP/PATH/TO/REPO
Where YOUR_COMPANYS_REPO_ID matches a server in settings.xml
<server>
<id>YOUR_COMPANYS_REPO_ID</id>
<username>YOUR_USERNAME</username>
<privateKey>/PATH/TO/PRIVATEKEY</privateKey>
</server>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]