-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I tried to reply to your query on IRC, but I guess I was too late. So,
I'll re-reply here. :)
Ilyevsky, Leonid (Equity Trading) wrote:
> I got maven2 today, and I am eager to start. Two main problems right in
> the beginning:
>
> 1. Where do I specify my web proxy ? Obviously maven2 does not use
> build.properties anymore.
Specify a file called ~/.m2/settings.xml (in .m2 under your user-home
directory) with something similar to:
<settings>
<profiles>
<profile>
<active>true</active>
<localRepository>/path/to/local/repo</localRepository>
</profile>
</profiles>
<!-- This is the part you're probably interested in... -->
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>http://proxy.somewhere.com</host>
<port>80</port>
<username>proxyuser</username>
<password>somepassword</password>
<nonProxyHosts>www.google.com,*.somewhere.com</nonProxyHosts>
</proxy>
</proxies>
</settings>
That first part is unrelated to the proxy, but it's useful for
determining where the local repository is stored. The second part
reveals password management which leaves something to be desired without
doubt...but we have plans to improve that stuff in subsequent releases.
>
> 2. On maven2 webpage they suggest to consult documentation frequently.
> Where is documentation anyway? I couldn't find it. If I looked at
> documentation, I probably wouldn't have the problem #1.
http://maven.apache.org/maven2
We'll be adding documentation there as Maven 2.0 matures, so keep
watching that space!
>
> Please help. I cannot do anything without proxy settings.
> --------------------------------------------------------
>
> 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/
> --------------------------------------------------------
>
Hope that helps,
John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCVt0AK3h2CZwO/4URAvfjAJ9K1Jn2hwTfCtniAdnPwZIierZNMwCggpQg
E8Xi+I5Tt605kKeEZH9lobg=
=UMUR
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]