-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leonid,

You would need to add a stanza that looks like this:

<servers>
  <server>
    <id>lex-deploy</id>
    <username>someuser</username>
    <password>somepass</password>
  </server>
</servers>

Although if you're deploying to localhost I'm not actually convinced
that it would use the <password/> element...the wagon handler for
file:// may not even consult that.

Ilyevsky, Leonid (Equity Trading) wrote:
> Brett,
> 
> Could you please tell me what to put in settings.xml for
> username/password?
> 
> I have in pom.xml this:
> 
> <distributionManagement>
>         <repository>
>             <id>lex-deploy</id>
>             <url>file://localhost/home/lilyevsk/tmp</url>
>         </repository>
>     </distributionManagement>
> 
> And I get a warning:
> 
> [WARNING] Deployment repository {id: 'lex-deploy'} has no associated
> authentication info!
> 
> And no deployment happen.
> 
> Thanks,
> 
> Leonid
> 
> -----Original Message-----
> From: Brett Porter [mailto:[EMAIL PROTECTED] 
> Sent: Monday, April 11, 2005 7:00 PM
> To: Maven Users List
> Subject: Re: Deploy
> 
> 
> yes,
> 
> <distributionManagement>
>   <repository>
>     <id>my-deploy-repo</id>
>     <url>scp://dist.mycompany.com/path/to/deploy</url>
>   </repository>
> </distributionManagement>
> 
> We currently support file and SCP deployments. FTP should work if you
> add the wagon-ftp 1.0-alpha-2 JAR to your project.
> 
> Username and password settings are configured in ~/.m2/settings.xml.
> Documentation will be forthcoming very shortly.
> 
> Cheers,
> Brett
> --------------------------------------------------------
> 
> If you are not an intended recipient of this e-mail, please notify the 
> sender, delete it and do not read, act upon, print, disclose, copy, retain or 
> redistribute it. Click here for important additional terms relating to this 
> e-mail.     http://www.ml.com/email_terms/
> --------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCXBltK3h2CZwO/4URAsgeAJ91xsz/TiZ3uFgfV1NRjEh8dSXlLgCgnwNF
xKT8UtMxu31BLWiqqxMAWfk=
=exVz
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to